Update tokenizer_config.json (#3)

- Update tokenizer_config.json (550a9496e0c52a952c171f653418ce046238dcac)
This commit is contained in:
fs
2024-05-12 17:50:18 +00:00
committed by system
parent 4c4c3ccd25
commit c99bd5b5e7

View File

@@ -2052,7 +2052,7 @@
"bos_token": "<|begin_of_text|>",
"chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
"clean_up_tokenization_spaces": true,
"eos_token": "<|end_of_text|>",
"eos_token": "<|eot_id|>",
"model_input_names": [
"input_ids",
"attention_mask"