Update tokenizer_config.json
Browse files- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
@@ -44,9 +44,10 @@
|
|
44 |
}
|
45 |
},
|
46 |
"bos_token": "<s>",
|
|
|
47 |
"clean_up_tokenization_spaces": false,
|
48 |
"eos_token": "<|im_end|>",
|
49 |
-
"
|
50 |
"model_max_length": 1000000000000000019884624838656,
|
51 |
"pad_token": "</s>",
|
52 |
"sp_model_kwargs": {},
|
|
|
44 |
}
|
45 |
},
|
46 |
"bos_token": "<s>",
|
47 |
+
"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 %}",
|
48 |
"clean_up_tokenization_spaces": false,
|
49 |
"eos_token": "<|im_end|>",
|
50 |
+
"Legacy": true,
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
52 |
"pad_token": "</s>",
|
53 |
"sp_model_kwargs": {},
|