Guilherme34
commited on
Commit
•
a207d58
1
Parent(s):
476c4d6
Update tokenizer_config.json
Browse files- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
@@ -2050,7 +2050,7 @@
|
|
2050 |
}
|
2051 |
},
|
2052 |
"bos_token": "<|begin_of_text|>",
|
2053 |
-
"chat_template": "{{- bos_token }}\n{%-
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
"eos_token": "<|eot_id|>",
|
2056 |
"model_input_names": [
|
@@ -2059,5 +2059,6 @@
|
|
2059 |
],
|
2060 |
"model_max_length": 131072,
|
2061 |
"pad_token": "<|eot_id|>",
|
|
|
2062 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2063 |
}
|
|
|
2050 |
}
|
2051 |
},
|
2052 |
"bos_token": "<|begin_of_text|>",
|
2053 |
+
"chat_template": "{{- bos_token }}\n{%- for message in messages %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n' }}\n {{- message['content'] + eos_token + '\n' }}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\n' }}\n{%- endif %}\n{%- if add_reasoning_prompt %}\n {{- '<|start_header_id|>reasoning<|end_header_id|>\n' }}\n{%- endif %}",
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
"eos_token": "<|eot_id|>",
|
2056 |
"model_input_names": [
|
|
|
2059 |
],
|
2060 |
"model_max_length": 131072,
|
2061 |
"pad_token": "<|eot_id|>",
|
2062 |
+
"padding_side": "right",
|
2063 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2064 |
}
|