this post was submitted on 20 Nov 2023
1 points (100.0% liked)

LocalLLaMA

3 readers
1 users here now

Community to discuss about Llama, the family of large language models created by Meta AI.

founded 1 year ago
MODERATORS
 

I've been experimenting with Zephyr and pretty surprised by the great performance. One problem I have with Zephyr is the difficulty to build structured outputs. For example if I ask it to return only True or False, it will return a lengthy explanation. This makes it tough to use Zephyr as part of a production system, since incorrectly structured outputs have huge implications.

Has anyone found some tricks to make Zephyr produce outputs in a defined format and do so deterministically?

you are viewing a single comment's thread
view the rest of the comments
[–] Combinatorilliance@alien.top 1 points 11 months ago

There are all sorts of approaches

  • microsoft guidance
  • llama.cpp grammar constraints
  • someone recently made their own approach and posted it here, search for CAPPr