You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add Go binding support for grammars (for #1697). It's a bit inconvenient now, because the grammar support is off in an examples directory, and adding stuff from examples to libwhisper.a feels wrong; ditto for the header file.
GBNF seems pretty well established at this point (it is in common in llama.cpp). It'd be nice to make it easier to support.
Could we promote grammar support to core whisper.h/whisper.cpp, similar to llama.cpp, where you simply provide a grammar string?
The text was updated successfully, but these errors were encountered:
Yes, we should do that. I'm also thinking about moving all the grammar stuff into the ggml core library so that it becomes available everywhere. But the main problem is re-implementing the C++ stuff in C
I'd like to add Go binding support for grammars (for #1697). It's a bit inconvenient now, because the grammar support is off in an examples directory, and adding stuff from examples to libwhisper.a feels wrong; ditto for the header file.
GBNF seems pretty well established at this point (it is in common in llama.cpp). It'd be nice to make it easier to support.
Could we promote grammar support to core whisper.h/whisper.cpp, similar to llama.cpp, where you simply provide a grammar string?
The text was updated successfully, but these errors were encountered: