sourceoftruthdata
commited on
Commit
•
a730549
1
Parent(s):
6d2cc06
Upload LlamaForCausalLM
Browse files- config.json +2 -1
- generation_config.json +4 -3
config.json
CHANGED
@@ -12,6 +12,7 @@
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 4096,
|
|
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 32,
|
@@ -22,7 +23,7 @@
|
|
22 |
"rope_theta": 10000.0,
|
23 |
"tie_word_embeddings": false,
|
24 |
"torch_dtype": "float16",
|
25 |
-
"transformers_version": "4.
|
26 |
"use_cache": true,
|
27 |
"vocab_size": 32001
|
28 |
}
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 32,
|
|
|
23 |
"rope_theta": 10000.0,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "float16",
|
26 |
+
"transformers_version": "4.41.1",
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 32001
|
29 |
}
|
generation_config.json
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
|
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 32000,
|
6 |
-
"temperature":
|
7 |
-
"top_p":
|
8 |
-
"transformers_version": "4.
|
9 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
+
"do_sample": true,
|
5 |
"eos_token_id": 2,
|
6 |
"pad_token_id": 32000,
|
7 |
+
"temperature": 0.9,
|
8 |
+
"top_p": 0.6,
|
9 |
+
"transformers_version": "4.41.1"
|
10 |
}
|