News for hackers. Stuff that matters.
Re:Llama: Add Grammar-Based Sampling by simonw on Friday July 21, 2023 @06:42PM (#36820952)
Right, which is the same idea - it's just that the code in llama.cpp is running your grammar as part of its token generation decisions as opposed to pausing and waiting for your other code to pick the next token.

(I'm trying for a very high level explanation here.)

There are no comments on this comment yet.