File size: 1,201 Bytes
9da3a96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "architectures": [
    "Glm4MoeForCausalLM"
  ],
  "auto_map": {
    "AutoConfig": "configuration_glm4_moe.Glm4MoeConfig",
    "AutoModelForCausalLM": "modeling_glm4_moe.Glm4MoeForCausalLM",
    "AutoModel": "modeling_glm4_moe.Glm4MoeModel"
  },
  "attention_bias": true,
  "attention_dropout": 0.0,
  "pad_token_id": 151329,
  "eos_token_id": [
    151329,
    151336,
    151338
  ],
  "head_dim": 64,
  "hidden_act": "silu",
  "hidden_size": 1024,
  "partial_rotary_factor": 0.5,
  "initializer_range": 0.02,
  "intermediate_size": 2048,
  "max_position_embeddings": 131072,
  "model_type": "glm4_moe",
  "moe_intermediate_size": 256,
  "norm_topk_prob": true,
  "num_attention_heads": 16,
  "n_group": 1,
  "topk_group": 1,
  "n_routed_experts": 8,
  "n_shared_experts": 1,
  "routed_scaling_factor": 1.0,
  "num_experts_per_tok": 4,
  "first_k_dense_replace": 1,
  "num_hidden_layers": 24,
  "num_key_value_heads": 4,
  "rms_norm_eps": 1e-05,
  "rope_scaling": null,
  "rope_theta": 1000000,
  "num_nextn_predict_layers": 1,
  "tie_word_embeddings": false,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.54.0",
  "use_cache": true,
  "use_qk_norm": false,
  "vocab_size": 151552
}