We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f98b14 commit 22dab24Copy full SHA for 22dab24
src/transformers/tokenization_utils_base.py
@@ -1853,6 +1853,7 @@ def raise_exception(message):
1853
raise TemplateError(message)
1854
1855
jinja_env = ImmutableSandboxedEnvironment(trim_blocks=True, lstrip_blocks=True)
1856
+ jinja_env.policies["json.dumps_kwargs"]["ensure_ascii"] = False
1857
jinja_env.globals["raise_exception"] = raise_exception
1858
return jinja_env.from_string(chat_template)
1859
0 commit comments