-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
JSON Former Example: "No valid option generated in #select!" #67
Comments
Thanks can you include the guidance version you are using? 0.0.49 includes a fix for errors like this |
This is my pip show
|
I can confirm the issue with version 0.0.49. @slundberg I replaced in the above script Is this error expected? I'm asking because the very first example in readme uses OpenAi API with "gen" and it works just fine. The error message is strange. |
…hen we would have a token that represents a text that only ends with the option Fixes guidance-ai#67
It is because that notebook uses the |
I am closing this issue for now because I don't get the error anymore with 0.0.55. Let me know if there is a problem still. |
The bug
Guidance throws an error when trying to run the JSONformer example while using the 'mosaicml/mpt-7b-instruct' model. The error message asks to create a github issue as "
this should not happen :)
"To Reproduce
System info (please complete the following information):
MacOS 11.7.3, CPU only.
The text was updated successfully, but these errors were encountered: