Hjgugugjhuhjggg
commited on
Update config.json
Browse files- config.json +24 -18
config.json
CHANGED
@@ -3,44 +3,50 @@
|
|
3 |
"model_type": "llama",
|
4 |
"torch_dtype": "float16",
|
5 |
"transformers_version": "4.46.3",
|
6 |
-
"architectures": [
|
|
|
|
|
7 |
"vocab_size": 128256,
|
8 |
"bos_token_id": 128000,
|
9 |
-
"eos_token_id": [
|
|
|
|
|
|
|
|
|
10 |
"pad_token_id": 128009,
|
11 |
"hidden_size": 3072,
|
12 |
"intermediate_size": 8192,
|
13 |
"num_hidden_layers": 28,
|
14 |
"num_attention_heads": 24,
|
15 |
-
|
16 |
"head_dim": 128,
|
17 |
"max_position_embeddings": 131072,
|
18 |
-
|
19 |
"type": "linear",
|
20 |
-
"factor": 32
|
21 |
},
|
22 |
-
|
23 |
-
|
24 |
"initializer_range": 0.02,
|
25 |
-
"rms_norm_eps":
|
26 |
-
"layer_norm_eps":
|
27 |
"attention_bias": false,
|
28 |
"mlp_bias": false,
|
29 |
"pretraining_tp": 1,
|
30 |
"tie_word_embeddings": true,
|
31 |
"use_cache": true,
|
32 |
"shared_input_output_embedding": true,
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
"residual_dropout_prob": 0
|
37 |
"ffn_dropout_prob": 0.1,
|
38 |
-
|
39 |
-
|
40 |
"use_rope": true,
|
41 |
"gradient_checkpointing": false,
|
42 |
-
|
43 |
-
|
44 |
"output_hidden_states": false,
|
45 |
-
|
46 |
}
|
|
|
3 |
"model_type": "llama",
|
4 |
"torch_dtype": "float16",
|
5 |
"transformers_version": "4.46.3",
|
6 |
+
"architectures": [
|
7 |
+
"LlamaForCausalLM"
|
8 |
+
],
|
9 |
"vocab_size": 128256,
|
10 |
"bos_token_id": 128000,
|
11 |
+
"eos_token_id": [
|
12 |
+
128001,
|
13 |
+
128008,
|
14 |
+
128009
|
15 |
+
],
|
16 |
"pad_token_id": 128009,
|
17 |
"hidden_size": 3072,
|
18 |
"intermediate_size": 8192,
|
19 |
"num_hidden_layers": 28,
|
20 |
"num_attention_heads": 24,
|
21 |
+
"num_key_value_heads": 8,
|
22 |
"head_dim": 128,
|
23 |
"max_position_embeddings": 131072,
|
24 |
+
"rope_scaling": {
|
25 |
"type": "linear",
|
26 |
+
"factor": 32
|
27 |
},
|
28 |
+
"rope_theta": 500000,
|
29 |
+
"hidden_act": "silu",
|
30 |
"initializer_range": 0.02,
|
31 |
+
"rms_norm_eps": 0.00001,
|
32 |
+
"layer_norm_eps": 0.00001,
|
33 |
"attention_bias": false,
|
34 |
"mlp_bias": false,
|
35 |
"pretraining_tp": 1,
|
36 |
"tie_word_embeddings": true,
|
37 |
"use_cache": true,
|
38 |
"shared_input_output_embedding": true,
|
39 |
+
"attention_dropout": 0,
|
40 |
+
"hidden_dropout_prob": 0.1,
|
41 |
+
"attn_dropout_prob": 0.1,
|
42 |
+
"residual_dropout_prob": 0,
|
43 |
"ffn_dropout_prob": 0.1,
|
44 |
+
"output_projection": true,
|
45 |
+
"position_embedding_type": "rotary",
|
46 |
"use_rope": true,
|
47 |
"gradient_checkpointing": false,
|
48 |
+
"multi_query_attention": false,
|
49 |
+
"output_attentions": false,
|
50 |
"output_hidden_states": false,
|
51 |
+
"layerdrop": 0
|
52 |
}
|