danielhanchen
commited on
Commit
•
7106ef6
1
Parent(s):
59efe29
Upload config
Browse files- config.json +15 -4
config.json
CHANGED
@@ -1,26 +1,37 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
|
|
5 |
"attention_dropout": 0.0,
|
|
|
|
|
|
|
|
|
6 |
"bos_token_id": 1,
|
|
|
7 |
"eos_token_id": 32000,
|
8 |
"hidden_act": "silu",
|
9 |
"hidden_size": 5120,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 17920,
|
12 |
"max_position_embeddings": 4096,
|
13 |
-
"model_type": "
|
14 |
"num_attention_heads": 40,
|
15 |
"num_hidden_layers": 40,
|
16 |
"num_key_value_heads": 10,
|
|
|
17 |
"pad_token_id": 32009,
|
|
|
18 |
"rms_norm_eps": 1e-05,
|
|
|
19 |
"rope_theta": 10000.0,
|
20 |
-
"sliding_window":
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
-
"transformers_version": "4.
|
|
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 32064
|
26 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/Phi-3-medium-4k-instruct",
|
3 |
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
],
|
6 |
+
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "microsoft/Phi-3-medium-4k-instruct--configuration_phi3.Phi3Config",
|
10 |
+
"AutoModelForCausalLM": "microsoft/Phi-3-medium-4k-instruct--modeling_phi3.Phi3ForCausalLM"
|
11 |
+
},
|
12 |
"bos_token_id": 1,
|
13 |
+
"embd_pdrop": 0.0,
|
14 |
"eos_token_id": 32000,
|
15 |
"hidden_act": "silu",
|
16 |
"hidden_size": 5120,
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 17920,
|
19 |
"max_position_embeddings": 4096,
|
20 |
+
"model_type": "phi3",
|
21 |
"num_attention_heads": 40,
|
22 |
"num_hidden_layers": 40,
|
23 |
"num_key_value_heads": 10,
|
24 |
+
"original_max_position_embeddings": 4096,
|
25 |
"pad_token_id": 32009,
|
26 |
+
"resid_pdrop": 0.0,
|
27 |
"rms_norm_eps": 1e-05,
|
28 |
+
"rope_scaling": null,
|
29 |
"rope_theta": 10000.0,
|
30 |
+
"sliding_window": 2047,
|
31 |
"tie_word_embeddings": false,
|
32 |
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.44.0",
|
34 |
+
"unsloth_version": "2024.8",
|
35 |
"use_cache": true,
|
36 |
"vocab_size": 32064
|
37 |
}
|