Update tokenizer_config.json (#60)
- Update tokenizer_config.json (81e3437ab8e8e883c74b96df85196f3434c39d1c) Co-authored-by: NAVANIT DUBEY <Navanit-shorthills@users.noreply.huggingface.co>
This commit is contained in:
parent
e5e23bbe8e
commit
a8977699a3
@ -2052,7 +2052,7 @@
|
|||||||
"bos_token": "<|begin_of_text|>",
|
"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 %}",
|
"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,
|
"clean_up_tokenization_spaces": true,
|
||||||
"eos_token": "<|end_of_text|>",
|
"eos_token": "<|eot_id|>",
|
||||||
"model_input_names": [
|
"model_input_names": [
|
||||||
"input_ids",
|
"input_ids",
|
||||||
"attention_mask"
|
"attention_mask"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user