Upload folder using huggingface_hub
Browse files- config.json +8 -6
- generation_config.json +2 -2
- pytorch_model-00001-of-00002.bin +1 -1
- pytorch_model-00002-of-00002.bin +1 -1
- special_tokens_map.json +3 -3
- tokenizer_config.json +3 -3
config.json
CHANGED
@@ -1,21 +1,23 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
-
"bos_token_id":
|
7 |
-
"eos_token_id":
|
8 |
"hidden_act": "silu",
|
9 |
"hidden_size": 4096,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 11008,
|
12 |
"max_position_embeddings": 2048,
|
13 |
-
"max_sequence_length": 2048,
|
14 |
"model_type": "llama",
|
15 |
"num_attention_heads": 32,
|
16 |
"num_hidden_layers": 32,
|
17 |
-
"
|
18 |
-
"
|
|
|
|
|
|
|
19 |
"tie_word_embeddings": false,
|
20 |
"torch_dtype": "float16",
|
21 |
"transformers_version": "4.29.2",
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "TinyPixel/Llama-2-7B-bf16-sharded",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
"hidden_act": "silu",
|
9 |
"hidden_size": 4096,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 11008,
|
12 |
"max_position_embeddings": 2048,
|
|
|
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": "float16",
|
23 |
"transformers_version": "4.29.2",
|
generation_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
"pad_token_id": 0,
|
6 |
"transformers_version": "4.29.2"
|
7 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
"transformers_version": "4.29.2"
|
7 |
}
|
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 9976631486
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ed30705843601a31601d4f41ddea75e18456ed105d6be825999fcc6033823c4
|
3 |
size 9976631486
|
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 3500314451
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25ebf0b65cced697012bd3a3c08d9d4e071046c9eb5f0a23408ed6e52b36a11d
|
3 |
size 3500314451
|
special_tokens_map.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
{
|
2 |
"bos_token": {
|
3 |
-
"content": "",
|
4 |
"lstrip": false,
|
5 |
"normalized": true,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
-
"content": "",
|
11 |
"lstrip": false,
|
12 |
"normalized": true,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
"unk_token": {
|
17 |
-
"content": "",
|
18 |
"lstrip": false,
|
19 |
"normalized": true,
|
20 |
"rstrip": false,
|
|
|
1 |
{
|
2 |
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
"lstrip": false,
|
5 |
"normalized": true,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
"lstrip": false,
|
12 |
"normalized": true,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
"lstrip": false,
|
19 |
"normalized": true,
|
20 |
"rstrip": false,
|
tokenizer_config.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"add_eos_token": false,
|
4 |
"bos_token": {
|
5 |
"__type": "AddedToken",
|
6 |
-
"content": "",
|
7 |
"lstrip": false,
|
8 |
"normalized": true,
|
9 |
"rstrip": false,
|
@@ -12,7 +12,7 @@
|
|
12 |
"clean_up_tokenization_spaces": false,
|
13 |
"eos_token": {
|
14 |
"__type": "AddedToken",
|
15 |
-
"content": "",
|
16 |
"lstrip": false,
|
17 |
"normalized": true,
|
18 |
"rstrip": false,
|
@@ -24,7 +24,7 @@
|
|
24 |
"tokenizer_class": "LlamaTokenizer",
|
25 |
"unk_token": {
|
26 |
"__type": "AddedToken",
|
27 |
-
"content": "",
|
28 |
"lstrip": false,
|
29 |
"normalized": true,
|
30 |
"rstrip": false,
|
|
|
3 |
"add_eos_token": false,
|
4 |
"bos_token": {
|
5 |
"__type": "AddedToken",
|
6 |
+
"content": "<s>",
|
7 |
"lstrip": false,
|
8 |
"normalized": true,
|
9 |
"rstrip": false,
|
|
|
12 |
"clean_up_tokenization_spaces": false,
|
13 |
"eos_token": {
|
14 |
"__type": "AddedToken",
|
15 |
+
"content": "</s>",
|
16 |
"lstrip": false,
|
17 |
"normalized": true,
|
18 |
"rstrip": false,
|
|
|
24 |
"tokenizer_class": "LlamaTokenizer",
|
25 |
"unk_token": {
|
26 |
"__type": "AddedToken",
|
27 |
+
"content": "<unk>",
|
28 |
"lstrip": false,
|
29 |
"normalized": true,
|
30 |
"rstrip": false,
|