shunxing1234
commited on
Commit
•
69b035c
1
Parent(s):
4c79fb6
Update config.json
Browse files- config.json +15 -12
config.json
CHANGED
@@ -1,26 +1,29 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/data//ldwang/state_dict/Aquila-7b-knowledge5-ep2-110973-v910-ep1-knowledge62-214000-megatron-hf",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
|
|
|
|
|
|
|
|
6 |
"bos_token_id": 100006,
|
7 |
"eos_token_id": 100007,
|
8 |
"hidden_act": "silu",
|
9 |
-
"hidden_size":
|
10 |
"initializer_range": 0.02,
|
11 |
-
"intermediate_size":
|
12 |
-
"max_position_embeddings":
|
13 |
-
"model_type": "
|
14 |
-
"num_attention_heads":
|
15 |
-
"num_hidden_layers":
|
16 |
-
"num_key_value_heads":
|
17 |
"pad_token_id": 0,
|
18 |
"pretraining_tp": 1,
|
19 |
"rms_norm_eps": 1e-05,
|
20 |
"rope_scaling": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
-
"torch_dtype": "
|
23 |
"transformers_version": "4.31.0",
|
24 |
-
"use_cache":
|
25 |
"vocab_size": 100008
|
26 |
-
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
+
"AquilaForCausalLM"
|
4 |
],
|
5 |
+
"auto_map": {
|
6 |
+
"AutoConfig": "configuration_aquila.AquilaConfig",
|
7 |
+
"AutoModelForCausalLM": "modeling_aquila.AquilaForCausalLM"
|
8 |
+
},
|
9 |
"bos_token_id": 100006,
|
10 |
"eos_token_id": 100007,
|
11 |
"hidden_act": "silu",
|
12 |
+
"hidden_size": 6144,
|
13 |
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 24576,
|
15 |
+
"max_position_embeddings": 4096,
|
16 |
+
"model_type": "aquila",
|
17 |
+
"num_attention_heads": 48,
|
18 |
+
"num_hidden_layers": 60,
|
19 |
+
"num_key_value_heads": 8,
|
20 |
"pad_token_id": 0,
|
21 |
"pretraining_tp": 1,
|
22 |
"rms_norm_eps": 1e-05,
|
23 |
"rope_scaling": null,
|
24 |
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "bfloat16",
|
26 |
"transformers_version": "4.31.0",
|
27 |
+
"use_cache": true,
|
28 |
"vocab_size": 100008
|
29 |
+
}
|