Guiding and constraining VLMs #176
geroldmeisinger
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There is GBNF which provides BNFs (for GGML files only):
https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md
it allows to constrain the output at certain points to certain values. like providing a json during the inference and then only allow LLM only insert the string values. does anyone know if there are similar features available for VLMs?
and Guidance: https://github.com/guidance-ai/guidance
"Start caption with" is such a feature though very simple:
Beta Was this translation helpful? Give feedback.
All reactions