logoalt Hacker News

Me1000yesterday at 3:56 PM1 replyview on HN

Wouldn’t it be better to use a grammar in the token sampler? Tuning is fine, but doesn’t guarantee a syntactical correct structured output. But if the sampler is grammar aware it could.


Replies

MillionOClockyesterday at 4:05 PM

I think both should be done, they don't really serve the same purpose.