We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta-issue: #3340
Model does not work out of the box.
Model works out of the box.
{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}
{%- for message in messages %} {%- if message['role'] == 'system' and message['content'] %} {{- '<|system|>\n' + message['content'] + '<|end|>\n' }} {%- elif message['role'] == 'user' %} {{- '<|user|>\n' + message['content'] + '<|end|>\n' }} {%- elif message['role'] == 'assistant' %} {{- '<|assistant|>\n' + message['content'] + '<|end|>\n' }} {%- endif %} {%- endfor %} {%- if add_generation_prompt %} {{- '<|assistant|>\n' }} {%- else %} {{- eos_token }} {%- endif %}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Meta-issue: #3340
Bug Report
Model does not work out of the box.
Steps to Reproduce
Expected Behavior
Model works out of the box.
Your Environment
Original Jinja chat template in tokenizer_config.json of https://huggingface.co/microsoft/Phi-3.5-mini-instruct
Jinja chat template out of the box in GPT4All-Chat 3.6.1, but still has EOS issues:
The text was updated successfully, but these errors were encountered: