-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
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
[Jinja] GPT4All 3.5.1 breaks GPT4All-Community/gemma-2-9b-it-GGUF #3282
Comments
Working/fixed template:
|
With that template on 3.5.3 I'm getting:
That's happening when the System Message is just "You are a helpful assistant." In case it matters, I'm using Mistral-Small-Instruct-2409-Q5_K_M.gguf |
This template is for the gemma model and based on its original template. The gemma model does not support a system prompt. If you wanted to add a system prompt, the template would have to be different. I get the same exception, as soon as I add a system message in the model settings. If you remove the system prompt, it also should work to a limited degree for the mistral model, but I recommend to come up with a proper template for Mistral based on its original template. |
Bug Report
Default Jinja template in GPT4All (broken)
Jinja template that doesn't trigger errors (still broken!):
Steps to Reproduce
Download and use the model
Expected Behavior
Your Environment
The text was updated successfully, but these errors were encountered: