RichardErkhov commited on
Commit
2ccb888
1 Parent(s): 35bf74d

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +51 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "granite-3.0-3b-a800m-base",
3
+ "architectures": [
4
+ "GraniteMoeForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attention_multiplier": 0.015625,
9
+ "bos_token_id": 0,
10
+ "embedding_multiplier": 12.0,
11
+ "eos_token_id": 0,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 1536,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 512,
16
+ "logits_scaling": 6.0,
17
+ "max_position_embeddings": 4096,
18
+ "model_type": "granitemoe",
19
+ "num_attention_heads": 24,
20
+ "num_experts_per_tok": 8,
21
+ "num_hidden_layers": 32,
22
+ "num_key_value_heads": 8,
23
+ "num_local_experts": 40,
24
+ "output_router_logits": false,
25
+ "pad_token_id": 0,
26
+ "quantization_config": {
27
+ "_load_in_4bit": true,
28
+ "_load_in_8bit": false,
29
+ "bnb_4bit_compute_dtype": "float32",
30
+ "bnb_4bit_quant_storage": "uint8",
31
+ "bnb_4bit_quant_type": "fp4",
32
+ "bnb_4bit_use_double_quant": false,
33
+ "llm_int8_enable_fp32_cpu_offload": false,
34
+ "llm_int8_has_fp16_weight": false,
35
+ "llm_int8_skip_modules": null,
36
+ "llm_int8_threshold": 6.0,
37
+ "load_in_4bit": true,
38
+ "load_in_8bit": false,
39
+ "quant_method": "bitsandbytes"
40
+ },
41
+ "residual_multiplier": 0.22,
42
+ "rms_norm_eps": 1e-06,
43
+ "rope_scaling": null,
44
+ "rope_theta": 10000,
45
+ "router_aux_loss_coef": 0.001,
46
+ "tie_word_embeddings": true,
47
+ "torch_dtype": "float16",
48
+ "transformers_version": "4.46.2",
49
+ "use_cache": true,
50
+ "vocab_size": 49152
51
+ }