Upload LlamaForCausalLM
Browse files- config.json +4 -15
- generation_config.json +2 -6
config.json
CHANGED
|
@@ -1,16 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "friendshipkim/1b_instruct",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
| 6 |
"attention_bias": false,
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
-
"bos_token_id":
|
| 9 |
-
"eos_token_id":
|
| 10 |
-
128001,
|
| 11 |
-
128008,
|
| 12 |
-
128009
|
| 13 |
-
],
|
| 14 |
"head_dim": 64,
|
| 15 |
"hidden_act": "silu",
|
| 16 |
"hidden_size": 2048,
|
|
@@ -24,14 +19,8 @@
|
|
| 24 |
"num_key_value_heads": 8,
|
| 25 |
"pretraining_tp": 1,
|
| 26 |
"rms_norm_eps": 1e-05,
|
| 27 |
-
"rope_scaling":
|
| 28 |
-
|
| 29 |
-
"high_freq_factor": 4.0,
|
| 30 |
-
"low_freq_factor": 1.0,
|
| 31 |
-
"original_max_position_embeddings": 8192,
|
| 32 |
-
"rope_type": "llama3"
|
| 33 |
-
},
|
| 34 |
-
"rope_theta": 500000.0,
|
| 35 |
"tie_word_embeddings": true,
|
| 36 |
"torch_dtype": "float32",
|
| 37 |
"transformers_version": "4.46.3",
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"LlamaForCausalLM"
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"eos_token_id": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"head_dim": 64,
|
| 10 |
"hidden_act": "silu",
|
| 11 |
"hidden_size": 2048,
|
|
|
|
| 19 |
"num_key_value_heads": 8,
|
| 20 |
"pretraining_tp": 1,
|
| 21 |
"rms_norm_eps": 1e-05,
|
| 22 |
+
"rope_scaling": null,
|
| 23 |
+
"rope_theta": 10000.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"tie_word_embeddings": true,
|
| 25 |
"torch_dtype": "float32",
|
| 26 |
"transformers_version": "4.46.3",
|
generation_config.json
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
-
"bos_token_id":
|
| 4 |
-
"eos_token_id":
|
| 5 |
-
128001,
|
| 6 |
-
128008,
|
| 7 |
-
128009
|
| 8 |
-
],
|
| 9 |
"transformers_version": "4.46.3"
|
| 10 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"transformers_version": "4.46.3"
|
| 6 |
}
|