Upload LlamaForCausalLM
Browse files- config.json +4 -4
- generation_config.json +3 -1
- pytorch_model-00001-of-00002.bin +2 -2
- pytorch_model-00002-of-00002.bin +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
@@ -9,17 +9,17 @@
|
|
9 |
"hidden_size": 4096,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 11008,
|
12 |
-
"max_position_embeddings":
|
13 |
"model_type": "llama",
|
14 |
"num_attention_heads": 32,
|
15 |
"num_hidden_layers": 32,
|
16 |
"num_key_value_heads": 32,
|
17 |
"pad_token_id": 0,
|
18 |
"pretraining_tp": 1,
|
19 |
-
"rms_norm_eps": 1e-
|
20 |
"rope_scaling": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
-
"torch_dtype": "
|
23 |
"transformers_version": "4.31.0",
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 32000
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "NousResearch/llama-2-7b-chat-hf",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
9 |
"hidden_size": 4096,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 11008,
|
12 |
+
"max_position_embeddings": 4096,
|
13 |
"model_type": "llama",
|
14 |
"num_attention_heads": 32,
|
15 |
"num_hidden_layers": 32,
|
16 |
"num_key_value_heads": 32,
|
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": "bfloat16",
|
23 |
"transformers_version": "4.31.0",
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 32000
|
generation_config.json
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"pad_token_id":
|
|
|
|
|
6 |
"transformers_version": "4.31.0"
|
7 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 32000,
|
6 |
+
"temperature": 0.9,
|
7 |
+
"top_p": 0.6,
|
8 |
"transformers_version": "4.31.0"
|
9 |
}
|
pytorch_model-00001-of-00002.bin
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:f6ae1434ebd61c292fe7a4d5cbb4bf484612a232ebe78f18b64bdf4455b37a6f
|
3 |
+
size 9976637950
|
pytorch_model-00002-of-00002.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3500316627
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fa6d61e7c6dade6906e9d2cb9a74d49e35e2ef15ba11a94c159ee0ae15d49b1
|
3 |
size 3500316627
|