Structured Outputs with Ollama
ollama.com
Structured Outputs with Ollama
1–10 of 75 posts
Re: Structured Outputs with Ollama
#2In some instances, I'd rather parse Markdown or plain text if it means the quality of the output is higher.
Re: Structured Outputs with Ollama
#3Re: Structured Outputs with Ollama
#4So I can use this with any supported models? The reason I'm asking is because I can only run 1b-3b models reliably on my hardware.
Re: Structured Outputs with Ollama
#5Has anyone seen how these constraints affect the quality of the output out of the LLM? In some instances, I'd rather parse Markdown or plain text if it means the quality of the output is higher.
Hopefully with those changes we might also enable general structure generation not only limited to JSON.
Re: Structured Outputs with Ollama
#6Has anyone seen how these constraints affect the quality of the output out of the LLM? In some instances, I'd rather parse Markdown or plain text if it means the quality of the output is higher.
We’ve been keeping a close eye on this as well as research is coming out. We’re looking into improving sampling as a whole on both speed and accuracy. Hopefully with those changes we might also enable general structure generation not only limited to JSON.
Re: Structured Outputs with Ollama
#7Has anyone seen how these constraints affect the quality of the output out of the LLM? In some instances, I'd rather parse Markdown or plain text if it means the quality of the output is higher.
asking LLM to directly generate JSON gives much worser results, similar to either random guess or intuition.
Re: Structured Outputs with Ollama
#8Has anyone seen how these constraints affect the quality of the output out of the LLM? In some instances, I'd rather parse Markdown or plain text if it means the quality of the output is higher.
It’s easy to burn a lot of tokens but if the thing you’re doing merits the cost? You can be a bully with it and while its never the best, 95% as good for zero effort is a tool in one’s kit.
Re: Structured Outputs with Ollama
#9Amazing work as always, looking forward to taking this for a spin!