Upload tokenizer_config.json with huggingface_hub
Browse files- tokenizer_config.json +4 -3
tokenizer_config.json
CHANGED
@@ -49,7 +49,7 @@
|
|
49 |
"special": true
|
50 |
},
|
51 |
"128006": {
|
52 |
-
"content": "<|
|
53 |
"lstrip": false,
|
54 |
"normalized": false,
|
55 |
"rstrip": false,
|
@@ -73,7 +73,7 @@
|
|
73 |
"special": true
|
74 |
},
|
75 |
"128009": {
|
76 |
-
"content": "<|
|
77 |
"lstrip": false,
|
78 |
"normalized": false,
|
79 |
"rstrip": false,
|
@@ -2050,8 +2050,9 @@
|
|
2050 |
}
|
2051 |
},
|
2052 |
"bos_token": "<|begin_of_text|>",
|
|
|
2053 |
"clean_up_tokenization_spaces": true,
|
2054 |
-
"eos_token": "<|
|
2055 |
"model_input_names": [
|
2056 |
"input_ids",
|
2057 |
"attention_mask"
|
|
|
49 |
"special": true
|
50 |
},
|
51 |
"128006": {
|
52 |
+
"content": "<|im_start|>",
|
53 |
"lstrip": false,
|
54 |
"normalized": false,
|
55 |
"rstrip": false,
|
|
|
73 |
"special": true
|
74 |
},
|
75 |
"128009": {
|
76 |
+
"content": "<|im_end|>",
|
77 |
"lstrip": false,
|
78 |
"normalized": false,
|
79 |
"rstrip": false,
|
|
|
2050 |
}
|
2051 |
},
|
2052 |
"bos_token": "<|begin_of_text|>",
|
2053 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
+
"eos_token": "<|im_end|>",
|
2056 |
"model_input_names": [
|
2057 |
"input_ids",
|
2058 |
"attention_mask"
|