Y
Hacker News
new
|
ask
|
show
|
jobs
by
outlier99
952 days ago
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?
1 comments
namin
952 days 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.
link