huggingtoots commited on
Commit
9c5540e
·
verified ·
1 Parent(s): 1f752d9

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +51 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Glm4MoeForCausalLM"
4
+ ],
5
+ "attention_bias": true,
6
+ "attention_dropout": 0.0,
7
+ "eos_token_id": [
8
+ 151329,
9
+ 151336,
10
+ 151338
11
+ ],
12
+ "first_k_dense_replace": 3,
13
+ "head_dim": 128,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 5120,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 12288,
18
+ "max_position_embeddings": 131072,
19
+ "model_type": "glm4_moe",
20
+ "moe_intermediate_size": 1536,
21
+ "n_group": 1,
22
+ "n_routed_experts": 160,
23
+ "n_shared_experts": 1,
24
+ "norm_topk_prob": true,
25
+ "num_attention_heads": 96,
26
+ "num_experts_per_tok": 8,
27
+ "num_hidden_layers": 92,
28
+ "num_key_value_heads": 8,
29
+ "num_nextn_predict_layers": 1,
30
+ "pad_token_id": 151329,
31
+ "partial_rotary_factor": 0.5,
32
+ "quantization": {
33
+ "group_size": 64,
34
+ "bits": 3
35
+ },
36
+ "quantization_config": {
37
+ "group_size": 64,
38
+ "bits": 3
39
+ },
40
+ "rms_norm_eps": 1e-05,
41
+ "rope_scaling": null,
42
+ "rope_theta": 1000000,
43
+ "routed_scaling_factor": 2.5,
44
+ "tie_word_embeddings": false,
45
+ "topk_group": 1,
46
+ "torch_dtype": "bfloat16",
47
+ "transformers_version": "4.54.0",
48
+ "use_cache": true,
49
+ "use_qk_norm": true,
50
+ "vocab_size": 151552
51
+ }