Error with tokenizer.chat_template is not set

#8
by nikich340 - opened

transformers\tokenization_utils_base.py", line 1805, in get_chat_template
raise ValueError(
ValueError: Cannot use chat template functions because tokenizer.chat_template is not set and no template argument was passed! For information about writing templates and setting the tokenizer.chat_template attribute, please see the documentation at https://huggingface.co/docs/transformers/main/en/chat_templating

Sign up or log in to comment