zlacker

[return to "Pushing ChatGPT's Structured Data Support to Its Limits"]
1. twelft+08[view] [source] 2023-12-27 15:55:15
>>goranm+(OP)
> very few open-source LLMs explicitly claim they intentionally support structured data, but they’re smart enough and they have logically seen enough examples of JSON Schema that with enough system prompt tweaking they should behave.

Open source models are actually _better_ at structured outputs because you can adapt them using tools like JSONFormer et al that interact with the internals of the model (https://www.reddit.com/r/LocalLLaMA/comments/17a4zlf/reliabl...). The structured outputs can be arbitrary grammars, for example, not just JSON (https://github.com/outlines-dev/outlines#using-context-free-...).

◧◩
2. buggle+Ku[view] [source] 2023-12-27 18:00:58
>>twelft+08
Yeah, JSON mode in Ollama, which isn’t even the full llama.cpp grammar functionality, performs better than OpenAI for me at this point. I don’t understand how they can be raking in billions of dollars and can’t even get this basic stuff right.
◧◩◪
3. Whitne+AC[view] [source] 2023-12-27 18:44:11
>>buggle+Ku
llama.cop Performs better than what?

3.5 Turbo, one of the 4.0 models, API or App?

◧◩◪◨
4. buggle+nD[view] [source] 2023-12-27 18:47:32
>>Whitne+AC
JSON mode and function-calling with a JSON schema in the OpenAI API.
[go to top]