Upload folder using huggingface_hub
Browse files- config.json +5 -4
- 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 +5 -4
config.json
CHANGED
@@ -1,19 +1,20 @@
|
|
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 |
"model_type": "llama",
|
14 |
"num_attention_heads": 32,
|
15 |
"num_hidden_layers": 32,
|
16 |
-
"pad_token_id":
|
17 |
"rms_norm_eps": 1e-06,
|
18 |
"tie_word_embeddings": false,
|
19 |
"torch_dtype": "float16",
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "decapoda-research/llama-7b-hf",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 1,
|
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 |
+
"pad_token_id": -1,
|
18 |
"rms_norm_eps": 1e-06,
|
19 |
"tie_word_embeddings": false,
|
20 |
"torch_dtype": "float16",
|
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": 0,
|
4 |
+
"eos_token_id": 1,
|
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:743afa247f4371a31c2aac5337c7fb80a9dbc3eda372af2f6716c736e1aff1d2
|
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:1773734894fe7caa35150735c2b79e53450fc4e6f4da59f99fe56ae02f9ded09
|
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": "",
|
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,
|
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,10 +24,11 @@
|
|
24 |
"tokenizer_class": "LlamaTokenizer",
|
25 |
"unk_token": {
|
26 |
"__type": "AddedToken",
|
27 |
-
"content": "
|
28 |
"lstrip": false,
|
29 |
"normalized": true,
|
30 |
"rstrip": false,
|
31 |
"single_word": false
|
32 |
-
}
|
|
|
33 |
}
|
|
|
3 |
"add_eos_token": false,
|
4 |
"bos_token": {
|
5 |
"__type": "AddedToken",
|
6 |
+
"content": "",
|
7 |
"lstrip": false,
|
8 |
"normalized": true,
|
9 |
"rstrip": false,
|
|
|
12 |
"clean_up_tokenization_spaces": false,
|
13 |
"eos_token": {
|
14 |
"__type": "AddedToken",
|
15 |
+
"content": "",
|
16 |
"lstrip": false,
|
17 |
"normalized": true,
|
18 |
"rstrip": false,
|
|
|
24 |
"tokenizer_class": "LlamaTokenizer",
|
25 |
"unk_token": {
|
26 |
"__type": "AddedToken",
|
27 |
+
"content": "",
|
28 |
"lstrip": false,
|
29 |
"normalized": true,
|
30 |
"rstrip": false,
|
31 |
"single_word": false
|
32 |
+
},
|
33 |
+
"use_fast": false
|
34 |
}
|