Upload LlamaForCausalLM
Browse files- config.json +16 -20
- generation_config.json +1 -2
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,31 +1,27 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
-
"_remove_final_layer_norm": false,
|
| 4 |
-
"activation_dropout": 0.0,
|
| 5 |
-
"activation_function": "relu",
|
| 6 |
"architectures": [
|
| 7 |
-
"
|
| 8 |
],
|
| 9 |
-
"
|
| 10 |
-
"bos_token_id":
|
| 11 |
-
"do_layer_norm_before": true,
|
| 12 |
-
"dropout": 0.1,
|
| 13 |
-
"enable_bias": true,
|
| 14 |
"eos_token_id": 2,
|
| 15 |
-
"
|
| 16 |
"hidden_size": 768,
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"model_type": "opt",
|
| 22 |
"num_attention_heads": 12,
|
| 23 |
"num_hidden_layers": 12,
|
| 24 |
-
"
|
| 25 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
"torch_dtype": "float32",
|
| 27 |
"transformers_version": "4.34.1",
|
| 28 |
"use_cache": true,
|
| 29 |
-
"vocab_size":
|
| 30 |
-
"word_embed_proj_dim": 768
|
| 31 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/pretraining/local-models/training/2024-01-17_18-50-34",
|
|
|
|
|
|
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"bos_token_id": 1,
|
|
|
|
|
|
|
|
|
|
| 8 |
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
"hidden_size": 768,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 2000,
|
| 13 |
+
"max_position_embeddings": 1024,
|
| 14 |
+
"model_type": "llama",
|
|
|
|
| 15 |
"num_attention_heads": 12,
|
| 16 |
"num_hidden_layers": 12,
|
| 17 |
+
"num_key_value_heads": 12,
|
| 18 |
+
"pretraining_tp": 1,
|
| 19 |
+
"rms_norm_eps": 1e-06,
|
| 20 |
+
"rope_scaling": null,
|
| 21 |
+
"rope_theta": 10000.0,
|
| 22 |
+
"tie_word_embeddings": true,
|
| 23 |
"torch_dtype": "float32",
|
| 24 |
"transformers_version": "4.34.1",
|
| 25 |
"use_cache": true,
|
| 26 |
+
"vocab_size": 50257
|
|
|
|
| 27 |
}
|
generation_config.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
-
"bos_token_id":
|
| 4 |
"eos_token_id": 2,
|
| 5 |
-
"pad_token_id": 1,
|
| 6 |
"transformers_version": "4.34.1"
|
| 7 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
"eos_token_id": 2,
|
|
|
|
| 5 |
"transformers_version": "4.34.1"
|
| 6 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9a7fe17c76fb7ad35f28e7e945ed798cc9424d77836114fb961bac2cd350000
|
| 3 |
+
size 488908744
|