Fix tokenizer_config file again
Browse files- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
@@ -45,11 +45,12 @@
|
|
45 |
},
|
46 |
"additional_special_tokens": [],
|
47 |
"bos_token": "<s>",
|
|
|
48 |
"clean_up_tokenization_spaces": false,
|
49 |
"eos_token": "<|im_end|>",
|
50 |
"legacy": true,
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
52 |
-
"pad_token":
|
53 |
"sp_model_kwargs": {},
|
54 |
"spaces_between_special_tokens": false,
|
55 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
45 |
},
|
46 |
"additional_special_tokens": [],
|
47 |
"bos_token": "<s>",
|
48 |
+
"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 %}",
|
49 |
"clean_up_tokenization_spaces": false,
|
50 |
"eos_token": "<|im_end|>",
|
51 |
"legacy": true,
|
52 |
"model_max_length": 1000000000000000019884624838656,
|
53 |
+
"pad_token": null,
|
54 |
"sp_model_kwargs": {},
|
55 |
"spaces_between_special_tokens": false,
|
56 |
"tokenizer_class": "LlamaTokenizer",
|