jeffkang-lunit commited on
Commit
672bd75
·
verified ·
1 Parent(s): ea1cb07

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +47 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GravityMoEForCausalLM"
4
+ ],
5
+ "model_type": "gravity_moe",
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_gravity_moe.GravityMoEConfig",
8
+ "AutoModelForCausalLM": "modeling_gravity_moe.GravityMoEForCausalLM"
9
+ },
10
+ "vocab_size": 151552,
11
+ "hidden_size": 2048,
12
+ "intermediate_size": 8192,
13
+ "moe_intermediate_size": 1408,
14
+ "num_hidden_layers": 28,
15
+ "num_attention_heads": 16,
16
+ "num_key_value_heads": 16,
17
+ "q_lora_rank": null,
18
+ "kv_lora_rank": 512,
19
+ "qk_rope_head_dim": 64,
20
+ "qk_nope_head_dim": 128,
21
+ "v_head_dim": 128,
22
+ "n_routed_experts": 64,
23
+ "n_shared_experts": 1,
24
+ "num_experts_per_tok": 8,
25
+ "first_k_dense_replace": 1,
26
+ "moe_layer_freq": 1,
27
+ "routed_scaling_factor": 2.446,
28
+ "norm_topk_prob": true,
29
+ "scoring_func": "sigmoid",
30
+ "topk_method": "noaux_tc",
31
+ "n_group": 1,
32
+ "topk_group": 1,
33
+ "hidden_act": "silu",
34
+ "max_position_embeddings": 32768,
35
+ "initializer_range": 0.02,
36
+ "rms_norm_eps": 1e-06,
37
+ "use_cache": true,
38
+ "rope_theta": 1000000.0,
39
+ "rope_scaling": null,
40
+ "attention_bias": false,
41
+ "attention_dropout": 0.0,
42
+ "tie_word_embeddings": false,
43
+ "bos_token_id": null,
44
+ "eos_token_id": 151329,
45
+ "torch_dtype": "bfloat16",
46
+ "pad_token_id": 151329
47
+ }