IEIT-Yuan commited on
Commit
3927659
1 Parent(s): 1110a60

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +50 -50
config.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "_from_model_config": true,
3
- "_name_or_path": "/mnt/beegfs2/sunzeyu/bin_522-7/",
4
- "architectures": [
5
- "YuanForCausalLM"
6
- ],
7
- "attention_projection_size": 4096,
8
- "auto_map": {
9
- "AutoConfig": "configuration_yuan.YuanConfig",
10
- "AutoModelForCausalLM": "yuan_hf_model.YuanForCausalLM"
11
- },
12
- "bos_token_id": 77185,
13
- "causal_mask": true,
14
- "dropout": 0,
15
- "eod_token": 77185,
16
- "eod_token_id": 77185,
17
- "eos_token_id": 77185,
18
- "hidden_act": "silu",
19
- "hidden_size": 2048,
20
- "initializer_range": 0.02,
21
- "intermediate_size": 8192,
22
- "mask_token_id": 77185,
23
- "max_position_embeddings": 4096,
24
- "model_max_length": 8192,
25
- "model_type": "yuan",
26
- "moe_config": {
27
- "ffn_hidden_size": 8192,
28
- "gated_linear_unit": true,
29
- "moe_num_experts": 32,
30
- "moe_top_k": 2,
31
- "norm_topk_prob": true
32
- },
33
- "num_attention_heads": 16,
34
- "num_hidden_layers": 24,
35
- "output_router_logits": true,
36
- "pad_token_id": 77185,
37
- "reset_attention_mask": false,
38
- "reset_position_ids": true,
39
- "rms_norm_eps": 1e-06,
40
- "sep_token": 77187,
41
- "sep_token_id": 77185,
42
- "tokenizer_class": "YuanTokenizer",
43
- "torch_dtype": "bfloat16",
44
- "transformers_version": "4.30.2",
45
- "use_cache": true,
46
- "use_flash_attention": true,
47
- "use_loss_mask": false,
48
- "use_moe": true,
49
- "vocab_size": 135040
50
- }
 
1
+ {
2
+ "_from_model_config": true,
3
+ "_name_or_path": "/mnt/beegfs2/sunzeyu/bin_522-7/",
4
+ "architectures": [
5
+ "YuanForCausalLM"
6
+ ],
7
+ "attention_projection_size": 4096,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_yuan.YuanConfig",
10
+ "AutoModelForCausalLM": "yuan_moe_hf_model.YuanForCausalLM"
11
+ },
12
+ "bos_token_id": 77185,
13
+ "causal_mask": true,
14
+ "dropout": 0,
15
+ "eod_token": 77185,
16
+ "eod_token_id": 77185,
17
+ "eos_token_id": 77185,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 2048,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 8192,
22
+ "mask_token_id": 77185,
23
+ "max_position_embeddings": 4096,
24
+ "model_max_length": 8192,
25
+ "model_type": "yuan",
26
+ "moe_config": {
27
+ "ffn_hidden_size": 8192,
28
+ "gated_linear_unit": true,
29
+ "moe_num_experts": 32,
30
+ "moe_top_k": 2,
31
+ "norm_topk_prob": true
32
+ },
33
+ "num_attention_heads": 16,
34
+ "num_hidden_layers": 24,
35
+ "output_router_logits": true,
36
+ "pad_token_id": 77185,
37
+ "reset_attention_mask": false,
38
+ "reset_position_ids": true,
39
+ "rms_norm_eps": 1e-06,
40
+ "sep_token": 77187,
41
+ "sep_token_id": 77185,
42
+ "tokenizer_class": "YuanTokenizer",
43
+ "torch_dtype": "bfloat16",
44
+ "transformers_version": "4.30.2",
45
+ "use_cache": true,
46
+ "use_flash_attention": true,
47
+ "use_loss_mask": false,
48
+ "use_moe": true,
49
+ "vocab_size": 135040
50
+ }