Upload LlamaForCausalLM
Browse files- config.json +8 -5
- generation_config.json +4 -2
- 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,15 +9,18 @@
|
|
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 |
"pad_token_id": 0,
|
17 |
-
"
|
|
|
|
|
18 |
"tie_word_embeddings": false,
|
19 |
-
"torch_dtype": "
|
20 |
-
"transformers_version": "4.
|
21 |
"use_cache": true,
|
22 |
"vocab_size": 32000
|
23 |
}
|
|
|
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
|
26 |
}
|
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 |
-
"
|
|
|
|
|
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:3e096679efda6283fb179576664b7944f9444ae15cc2a3773471c7280e740ca2
|
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:2df35ab91b401d712bfd31e0e3b155d7146fbd30fbf849b83eabeb428788a6a6
|
3 |
size 3500316627
|