Skip to content

Conversation

@phil-scott-78
Copy link
Contributor

Example had a tendency to start just outputting whitespace until it ran out of tokens without a few of the constraints they added around whitespace generation. This gets it in line with example at https://github.com/ggerganov/llama.cpp/blob/master/grammars/json.gbnf

Example had a tendency to start just outputting whitespace until it ran out of tokens without a few of the constraints they added around whitespace generation
@martindevans
Copy link
Member

Thanks for fixing this!

@martindevans martindevans merged commit 92579ed into SciSharp:master Feb 13, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants