-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using context-free grammars to guide generation does not work #959
Open
Comments
Can you upgrade outlines for 0.0.43 and try again? |
@rlouf Upgrading to 0.0.43 solves this error. But it generates another one:
It seems the function is executing now, but the output is not following the grammar? |
This was referenced Jun 16, 2024
This was referenced Jul 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue as clearly as possible:
I was trying to run the example of using cfg to guide generation. But it seems there is some issue with
CFGGuide
. Just running the example without any change produces an error.Steps/code to reproduce the bug:
Expected result:
Error message:
Outlines/Python version information:
Version information
Context for the issue:
I was trying to test the output with a custom grammar, but the provided example fails to generate any output.
The text was updated successfully, but these errors were encountered: