RichardErkhov commited on
Commit
effccb5
·
verified ·
1 Parent(s): e457c0b

uploaded model

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