Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
outlier99
· 3y ago · 0 comments
Could this be combined with something like llama.cpp's constraint-based grammar (
https://github.com/ggerganov/llama.cpp/blob/master/grammars/...
) to always enforce syntactically correct code output?
Comments
[–]
namin
3y ago
Yes. The verifier check already ensures syntactic correctness, but the search could goes faster if the underlying LLM doesn't generate bad syntax to begin with.