-
Notifications
You must be signed in to change notification settings - Fork 569
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 schema creation on llama cpp failing #611
Comments
Please share your If it's not the latest, please do still share, but also upgrade and try again, and let me know your results. |
It's 0.2.36, so I'll upgrade and retry, |
The upgrade didn't change much. The error messages seem unchanged; the returned value is, most of the time, |
Thanks for trying, sorry it's not still working as expected. Will investigate. |
So you can reproduce the error? That gives me at least some peace of mind (if the problem doesn't seem to be caused by my setup...)
Andrew Lapp ***@***.***> schrieb am Do., 8. Feb. 2024, 04:29:
… Thanks for trying, sorry it's not still working as expected. Will
investigate.
—
Reply to this email directly, view it on GitHub
<#611 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACO5DS54SLJMHDPBX33FIB3YSRBBBAVCNFSM6AAAAABC2JJ2JCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGMYDMOJXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Dear all, |
There is a PR open that should solve most issues with llama.cpp (#556), I will review it as quickly as I can |
Yes, it works! No more errors, however one minor thing: the returned JSON is using single rather than double quotes, which is, as far as I know, not JSON-compliant |
This shouldn't be possible with Outlines and is a bug. Could you share the script you're running in a new issue? |
Describe the issue as clearly as possible:
I'm trying to generate using a JSON schema on llama.cpp. This throws lots of errors and creates wrong output.
Steps/code to reproduce the bug:
Expected result:
Error message:
Outlines/Python version information:
Version information
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
The text was updated successfully, but these errors were encountered: