Update tokenizer_config.json
Browse files- tokenizer_config.json +28 -27
tokenizer_config.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
| 1 |
-
{
|
| 2 |
-
"add_prefix_space": false,
|
| 3 |
-
"added_tokens_decoder": {
|
| 4 |
-
"0": {
|
| 5 |
-
"content": "<|rwkv_tokenizer_end_of_text|>",
|
| 6 |
-
"lstrip": false,
|
| 7 |
-
"normalized": false,
|
| 8 |
-
"rstrip": false,
|
| 9 |
-
"single_word": false,
|
| 10 |
-
"special": true
|
| 11 |
-
}
|
| 12 |
-
},
|
| 13 |
-
"auto_map": {
|
| 14 |
-
"AutoTokenizer": [
|
| 15 |
-
"hf_rwkv_tokenizer.RwkvTokenizer",
|
| 16 |
-
null
|
| 17 |
-
]
|
| 18 |
-
},
|
| 19 |
-
"bos_token": "<|rwkv_tokenizer_end_of_text|>",
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
}
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<|rwkv_tokenizer_end_of_text|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"auto_map": {
|
| 14 |
+
"AutoTokenizer": [
|
| 15 |
+
"hf_rwkv_tokenizer.RwkvTokenizer",
|
| 16 |
+
null
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"bos_token": "<|rwkv_tokenizer_end_of_text|>",
|
| 20 |
+
"pad_token": "<|rwkv_tokenizer_end_of_text|>",
|
| 21 |
+
"clean_up_tokenization_spaces": false,
|
| 22 |
+
"eos_token": "\n\n",
|
| 23 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 24 |
+
"tokenizer_class": "RwkvTokenizer",
|
| 25 |
+
"unk_token": "<|rwkv_tokenizer_end_of_text|>",
|
| 26 |
+
"use_fast": false,
|
| 27 |
+
"chat_template": "{{ '<|rwkv_tokenizer_end_of_text|>' }}{% for message in messages %}{% if message['role'] == 'user' %}{{'User: ' + message['content'] + '\n\n'}}{% elif message['role'] == 'system' %}{{'System: ' + message['content'] + '\n\n'}}{% elif message['role'] == 'assistant' %}{{'Assistant: ' + message['content'] + '\n\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
|
| 28 |
+
}
|