New blog post alert! Read on if you are interested in accelerating structured text generation techniques for context-free grammar constraints…🧵
The results: a 10x smaller mask store for the Python grammar and the Mistral 7B tokenizer.
Experiments empirically confirm the streamlined mask store produces exactly the same masks as the original mask store and that the masks are neither too lenient nor too strict.
1
2
149
For all the details, explore the blog post, as well the accompanying Python notebook and the technical appendix: vivien000.github.io/blog/jou…
A few thoughts on a recent paper discussing the relationship between formatting constraints and performance for LLMs. It suggests that structured text generation decreases performance in reasoning tasks and seems to contradict earlier empirical results. How can that be? (1/n)
This is not good, "Surprisingly, we observe a significant decline in LLMs’ reasoning abilities under format restrictions."
Link: arxiv.org/abs/2408.02442
Overall, the article brings new experimental data points on an increasingly consequential topic (thanks @zraytam and colleagues!) but additional work is needed to draw practical conclusions on the use or design of structured generation techniques.
1
151




