Update tokenizer_config.json
Browse files- tokenizer_config.json +5 -11
tokenizer_config.json
CHANGED
@@ -27,22 +27,16 @@
|
|
27 |
"special": true
|
28 |
}
|
29 |
},
|
|
|
30 |
"bos_token": "<s>",
|
31 |
-
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
32 |
"clean_up_tokenization_spaces": false,
|
33 |
"eos_token": "</s>",
|
34 |
-
"legacy":
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"pad_to_multiple_of": null,
|
38 |
-
"pad_token": "</s>",
|
39 |
-
"pad_token_type_id": 0,
|
40 |
-
"padding_side": "left",
|
41 |
"sp_model_kwargs": {},
|
42 |
-
"
|
43 |
"tokenizer_class": "LlamaTokenizer",
|
44 |
-
"truncation_side": "right",
|
45 |
-
"truncation_strategy": "longest_first",
|
46 |
"unk_token": "<unk>",
|
47 |
"use_default_system_prompt": false
|
48 |
}
|
|
|
27 |
"special": true
|
28 |
}
|
29 |
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
"bos_token": "<s>",
|
|
|
32 |
"clean_up_tokenization_spaces": false,
|
33 |
"eos_token": "</s>",
|
34 |
+
"legacy": true,
|
35 |
+
"model_max_length": 1000000000000000019884624838656,
|
36 |
+
"pad_token": null,
|
|
|
|
|
|
|
|
|
37 |
"sp_model_kwargs": {},
|
38 |
+
"spaces_between_special_tokens": false,
|
39 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
|
|
40 |
"unk_token": "<unk>",
|
41 |
"use_default_system_prompt": false
|
42 |
}
|