woodchen7 commited on
Commit
d46d4cb
1 Parent(s): a878f32

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
+ "attention_bias": false,
3
+ "attention_dropout": 0.0,
4
+ "architectures": [
5
+ "HunYuanForCausalLM"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_hunyuan.HunYuanConfig",
9
+ "AutoModel": "modeling_hunyuan.HunyuanModel",
10
+ "AutoModelForCausalLM": "modeling_hunyuan.HunYuanForCausalLM"
11
+ },
12
+ "bos_token_id": 1,
13
+ "capacity_factor": 1.0,
14
+ "cla_share_factor": 2,
15
+ "eos_token_id": 2,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 6400,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 18304,
20
+ "max_position_embeddings": 262144,
21
+ "model_type": "hunyuan",
22
+ "moe_drop_tokens": false,
23
+ "moe_random_routing_dropped_token": false,
24
+ "moe_topk": 1,
25
+ "num_attention_heads": 80,
26
+ "num_experts": 16,
27
+ "num_hidden_layers": 64,
28
+ "num_key_value_heads": 8,
29
+ "num_shared_expert": 1,
30
+ "pad_token_id": 0,
31
+ "pretraining_tp": 1,
32
+ "rms_norm_eps": 1e-05,
33
+ "rope_scaling": {
34
+ "alpha": 100000.0,
35
+ "factor": 1.0,
36
+ "type": "dynamic"
37
+ },
38
+ "rope_theta": 10000.0,
39
+ "tie_word_embeddings": true,
40
+ "transformers_version": "4.41.2",
41
+ "use_cache": true,
42
+ "use_cla": true,
43
+ "use_mixed_mlp_moe": true,
44
+ "use_qk_norm": true,
45
+ "vocab_size": 128512,
46
+ "torch_dtype": "bfloat16"
47
+ }