step 500
Browse files- config.json +1 -1
- generation_config.json +1 -1
- model.safetensors +1 -1
- special_tokens_map.json +3 -10
- tokenizer.json +2 -2
- tokenizer_config.json +6 -4
config.json
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
"rope_theta": 10000.0,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
-
"transformers_version": "4.46.
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 32000
|
29 |
}
|
|
|
23 |
"rope_theta": 10000.0,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
+
"transformers_version": "4.46.2",
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 32000
|
29 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.46.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.46.2"
|
6 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2409779720
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbc8235c072cc50ccc01e983c44845745d237ab8130bc312bffeff1d83af5a93
|
3 |
size 2409779720
|
special_tokens_map.json
CHANGED
@@ -2,28 +2,21 @@
|
|
2 |
"bos_token": {
|
3 |
"content": "<s>",
|
4 |
"lstrip": false,
|
5 |
-
"normalized":
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
"content": "</s>",
|
11 |
"lstrip": false,
|
12 |
-
"normalized":
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"pad_token": {
|
17 |
-
"content": "<unk>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": true,
|
20 |
"rstrip": false,
|
21 |
"single_word": false
|
22 |
},
|
23 |
"unk_token": {
|
24 |
"content": "<unk>",
|
25 |
"lstrip": false,
|
26 |
-
"normalized":
|
27 |
"rstrip": false,
|
28 |
"single_word": false
|
29 |
}
|
|
|
2 |
"bos_token": {
|
3 |
"content": "<s>",
|
4 |
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
"content": "</s>",
|
11 |
"lstrip": false,
|
12 |
+
"normalized": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
"unk_token": {
|
17 |
"content": "<unk>",
|
18 |
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
"rstrip": false,
|
21 |
"single_word": false
|
22 |
}
|
tokenizer.json
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:c88bda6bdd84543eadebdf4bd2ec325ae43b71a3ff1fead6a766562c00b29bd8
|
3 |
+
size 3619016
|
tokenizer_config.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
"0": {
|
7 |
"content": "<unk>",
|
8 |
"lstrip": false,
|
9 |
-
"normalized":
|
10 |
"rstrip": false,
|
11 |
"single_word": false,
|
12 |
"special": true
|
@@ -14,7 +14,7 @@
|
|
14 |
"1": {
|
15 |
"content": "<s>",
|
16 |
"lstrip": false,
|
17 |
-
"normalized":
|
18 |
"rstrip": false,
|
19 |
"single_word": false,
|
20 |
"special": true
|
@@ -22,18 +22,20 @@
|
|
22 |
"2": {
|
23 |
"content": "</s>",
|
24 |
"lstrip": false,
|
25 |
-
"normalized":
|
26 |
"rstrip": false,
|
27 |
"single_word": false,
|
28 |
"special": true
|
29 |
}
|
30 |
},
|
31 |
"bos_token": "<s>",
|
|
|
32 |
"clean_up_tokenization_spaces": false,
|
33 |
"eos_token": "</s>",
|
34 |
"legacy": false,
|
35 |
"model_max_length": 1000000000000000019884624838656,
|
36 |
-
"pad_token":
|
|
|
37 |
"sp_model_kwargs": {},
|
38 |
"tokenizer_class": "LlamaTokenizer",
|
39 |
"unk_token": "<unk>",
|
|
|
6 |
"0": {
|
7 |
"content": "<unk>",
|
8 |
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
"rstrip": false,
|
11 |
"single_word": false,
|
12 |
"special": true
|
|
|
14 |
"1": {
|
15 |
"content": "<s>",
|
16 |
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
"rstrip": false,
|
19 |
"single_word": false,
|
20 |
"special": true
|
|
|
22 |
"2": {
|
23 |
"content": "</s>",
|
24 |
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
"rstrip": false,
|
27 |
"single_word": false,
|
28 |
"special": true
|
29 |
}
|
30 |
},
|
31 |
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
|
33 |
"clean_up_tokenization_spaces": false,
|
34 |
"eos_token": "</s>",
|
35 |
"legacy": false,
|
36 |
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": null,
|
38 |
+
"padding_side": "right",
|
39 |
"sp_model_kwargs": {},
|
40 |
"tokenizer_class": "LlamaTokenizer",
|
41 |
"unk_token": "<unk>",
|