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. mgreg+5y[view] [source] 2023-12-27 18:18:10
>>twelft+08
There are now several open source models that are fine tuned for function calling including:

* Functionary [https://github.com/MeetKai/functionary]

* NexusRaven [https://github.com/nexusflowai/NexusRaven-V2]

* Gorilla [https://github.com/ShishirPatil/gorilla]

Could be interesting to try some of these exercises with these models.

◧◩◪
3. freedi+ZH1[view] [source] 2023-12-28 02:19:57
>>mgreg+5y
... and I spent last few hours trying them now :)

Low latency, high quality function calling API product may be a billion dollar business in two years.

◧◩◪◨
4. column+102[view] [source] 2023-12-28 05:31:10
>>freedi+ZH1
What are your findings?
◧◩◪◨⬒
5. freedi+Qp6[view] [source] 2023-12-29 17:07:47
>>column+102
They are not at the level of gpt-4 tool calling. But at least they are open source and they will get better.
[go to top]