thejson commited on
Commit
6bb834c
·
verified ·
1 Parent(s): 5fb3ae2

Upload config.json with huggingface_hub

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