paulilioaica
commited on
Commit
•
dda40f2
1
Parent(s):
6890482
Update config.json
Browse files- config.json +1 -19
config.json
CHANGED
@@ -9,20 +9,13 @@
|
|
9 |
"AutoConfig": "configuration_phi.PhiConfig",
|
10 |
"AutoModelForCausalLM": "modeling_phi.PhiForCausalLM"
|
11 |
},
|
12 |
-
"bos_token_id": null,
|
13 |
"embd_pdrop": 0.0,
|
14 |
-
"eos_token_id": null,
|
15 |
"flash_attn": false,
|
16 |
"flash_rotary": false,
|
17 |
"fused_dense": false,
|
18 |
-
"hidden_act": "gelu_new",
|
19 |
-
"hidden_size": 2560,
|
20 |
"img_processor": null,
|
21 |
"initializer_range": 0.02,
|
22 |
-
"intermediate_size": 8192,
|
23 |
-
"layer_norm_eps": 1e-05,
|
24 |
"layer_norm_epsilon": 1e-05,
|
25 |
-
"max_position_embeddings": 2048,
|
26 |
"model_type": "phi-msft",
|
27 |
"n_embd": 2560,
|
28 |
"n_head": 32,
|
@@ -30,23 +23,12 @@
|
|
30 |
"n_inner": null,
|
31 |
"n_layer": 32,
|
32 |
"n_positions": 2048,
|
33 |
-
"num_attention_heads": 32,
|
34 |
-
"num_experts_per_tok": 2,
|
35 |
-
"num_hidden_layers": 24,
|
36 |
"num_experts_per_tok": 2,
|
37 |
"num_local_experts": 4,
|
38 |
-
"num_key_value_heads": 32,
|
39 |
-
"num_local_experts": 2,
|
40 |
-
"partial_rotary_factor": 0.5,
|
41 |
-
"qk_layernorm": false,
|
42 |
"resid_pdrop": 0.1,
|
43 |
-
"rope_scaling": null,
|
44 |
-
"rope_theta": 10000.0,
|
45 |
"rotary_dim": 32,
|
46 |
-
"sliding_window": null,
|
47 |
"tie_word_embeddings": false,
|
48 |
"torch_dtype": "float16",
|
49 |
-
"transformers_version": "4.
|
50 |
-
"use_cache": false,
|
51 |
"vocab_size": 51200
|
52 |
}
|
|
|
9 |
"AutoConfig": "configuration_phi.PhiConfig",
|
10 |
"AutoModelForCausalLM": "modeling_phi.PhiForCausalLM"
|
11 |
},
|
|
|
12 |
"embd_pdrop": 0.0,
|
|
|
13 |
"flash_attn": false,
|
14 |
"flash_rotary": false,
|
15 |
"fused_dense": false,
|
|
|
|
|
16 |
"img_processor": null,
|
17 |
"initializer_range": 0.02,
|
|
|
|
|
18 |
"layer_norm_epsilon": 1e-05,
|
|
|
19 |
"model_type": "phi-msft",
|
20 |
"n_embd": 2560,
|
21 |
"n_head": 32,
|
|
|
23 |
"n_inner": null,
|
24 |
"n_layer": 32,
|
25 |
"n_positions": 2048,
|
|
|
|
|
|
|
26 |
"num_experts_per_tok": 2,
|
27 |
"num_local_experts": 4,
|
|
|
|
|
|
|
|
|
28 |
"resid_pdrop": 0.1,
|
|
|
|
|
29 |
"rotary_dim": 32,
|
|
|
30 |
"tie_word_embeddings": false,
|
31 |
"torch_dtype": "float16",
|
32 |
+
"transformers_version": "4.35.2",
|
|
|
33 |
"vocab_size": 51200
|
34 |
}
|