Upload tokenizer
Browse files- added_tokens.json +4 -0
- special_tokens_map.json +3 -3
- tokenizer.json +2 -2
- tokenizer_config.json +20 -4
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<nexa_end>": 256001,
|
3 |
+
"<nexa_split>": 256000
|
4 |
+
}
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
-
"<
|
4 |
-
"<
|
5 |
],
|
6 |
"bos_token": {
|
7 |
"content": "<bos>",
|
@@ -18,7 +18,7 @@
|
|
18 |
"single_word": false
|
19 |
},
|
20 |
"pad_token": {
|
21 |
-
"content": "<
|
22 |
"lstrip": false,
|
23 |
"normalized": false,
|
24 |
"rstrip": false,
|
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
+
"<nexa_split>",
|
4 |
+
"<nexa_end>"
|
5 |
],
|
6 |
"bos_token": {
|
7 |
"content": "<bos>",
|
|
|
18 |
"single_word": false
|
19 |
},
|
20 |
"pad_token": {
|
21 |
+
"content": "<pad>",
|
22 |
"lstrip": false,
|
23 |
"normalized": false,
|
24 |
"rstrip": false,
|
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:45bee2a7b619bb4a94d4f9efe65a19dd6f7e298349dc0a9a6f5bcff8de097bc9
|
3 |
+
size 17518873
|
tokenizer_config.json
CHANGED
@@ -1737,18 +1737,34 @@
|
|
1737 |
"rstrip": false,
|
1738 |
"single_word": false,
|
1739 |
"special": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1740 |
}
|
1741 |
},
|
1742 |
"additional_special_tokens": [
|
1743 |
-
"<
|
1744 |
-
"<
|
1745 |
],
|
1746 |
"bos_token": "<bos>",
|
1747 |
"chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
|
1748 |
"clean_up_tokenization_spaces": false,
|
1749 |
"eos_token": "<eos>",
|
1750 |
-
"model_max_length":
|
1751 |
-
"pad_token": "<
|
1752 |
"sp_model_kwargs": {},
|
1753 |
"spaces_between_special_tokens": false,
|
1754 |
"tokenizer_class": "GemmaTokenizer",
|
|
|
1737 |
"rstrip": false,
|
1738 |
"single_word": false,
|
1739 |
"special": false
|
1740 |
+
},
|
1741 |
+
"256000": {
|
1742 |
+
"content": "<nexa_split>",
|
1743 |
+
"lstrip": false,
|
1744 |
+
"normalized": false,
|
1745 |
+
"rstrip": false,
|
1746 |
+
"single_word": false,
|
1747 |
+
"special": true
|
1748 |
+
},
|
1749 |
+
"256001": {
|
1750 |
+
"content": "<nexa_end>",
|
1751 |
+
"lstrip": false,
|
1752 |
+
"normalized": false,
|
1753 |
+
"rstrip": false,
|
1754 |
+
"single_word": false,
|
1755 |
+
"special": true
|
1756 |
}
|
1757 |
},
|
1758 |
"additional_special_tokens": [
|
1759 |
+
"<nexa_split>",
|
1760 |
+
"<nexa_end>"
|
1761 |
],
|
1762 |
"bos_token": "<bos>",
|
1763 |
"chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
|
1764 |
"clean_up_tokenization_spaces": false,
|
1765 |
"eos_token": "<eos>",
|
1766 |
+
"model_max_length": 1000000000000000019884624838656,
|
1767 |
+
"pad_token": "<pad>",
|
1768 |
"sp_model_kwargs": {},
|
1769 |
"spaces_between_special_tokens": false,
|
1770 |
"tokenizer_class": "GemmaTokenizer",
|