mirror of
https://github.com/tcsenpai/multi1.git
synced 2025-06-04 18:20:05 +00:00
Encourage self-hosted ollama to generate valid json response #8
Loading…
x
Reference in New Issue
Block a user
No description provided.
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 @fengwang on 9/16/2024
When I was testing with self-hosted ollama models such as llama3.1 70b and gemma2 27b, I noticed for most of the time, ollama does not generate valid json response. I found this can be fixed by passing an extra parameter to ollama api.