News for hackers. Stuff that matters.
Re:Anthropic's Haiku Beats GPT-4 Turbo in Tool Use by mritchie712 on Monday April 08, 2024 @02:11PM (#39972295)
No benchmarks, just my anecdotal experience trying to get local LLM's to respond with JSON. The method above works for my use case nearly 100% of the time. Other things I've tried (e.g. `outlines`[0]) are really slow or don't work at all. Would love to hear what others have tried!

0 - https://github.com/outlines-dev/outlines

Re:Anthropic's Haiku Beats GPT-4 Turbo in Tool Use by Joschkabraun on Monday April 08, 2024 @02:14PM (#39972325)
Ah yes. Have you tried out instructor [0] or Guidance [1]?

[0]: https://github.com/jxnl/instructor/

[1]: https://github.com/guidance-ai/guidance/tree/main