Chat Template Error
I'm getting the error:
"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"
I don't get this error when running the same code with different models. I've noticed that the tokenizer_config.json file doesn't contain chat_template - is this something to do with it?
Are chat templates just not supported for this model?
https://huggingface.co/facebook/opt-125m/commit/75b30fd6fb677fa4862aa1e19070b7c950ea7d1b
adds template, but doesn't show in main
branch, I don't get why
see also https://huggingface.co/facebook/opt-125m/discussions/45