mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Unable to generate responses normally when invoking the fine-tuned model using Python. #146
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @letdo1945 on GitHub (Sep 23, 2024).
Body: Greetings : ),
After invoking the llamafactory fine-tuned qwen2-7B model using ollama.chat(), the model is unable to recognize the system prompt.
The model sometimes fails to generate any response when prompted with other input phrases.
Here are two scenarios that illustrate the issues:
code
output
code
output
@letdo1945 commented on GitHub (Sep 23, 2024):
I subsequently performed Q_4 level quantization on my model. The model can output content but still cannot read the system prompt.