update additional_special_tokens
Browse filesMake sure the special-token-related attributes of the tokenizer can work.
- special_tokens_map.json +8 -0
special_tokens_map.json
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": "<s>",
|
3 |
"eos_token": "</s>",
|
4 |
"pad_token": "</s>",
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>",
|
5 |
+
"<|action_start|>",
|
6 |
+
"<|action_end|>",
|
7 |
+
"<|interpreter|>",
|
8 |
+
"<|plugin|>"
|
9 |
+
],
|
10 |
"bos_token": "<s>",
|
11 |
"eos_token": "</s>",
|
12 |
"pad_token": "</s>",
|