HNHacker News
TopNewBestAskShowJobs

sugare

4 karma · joined May 9, 2024

submissionscomments
sugare··on Show HN: LLMs following grammar for general-purpose PLs
Yeah, thinking about these follow-ups next
sugare··on Show HN: LLMs following grammar for general-purpose PLs
SynCode is efficient (<10% overhead) and provably sound in generating syntactical LLM output for any LR(1) grammar. Currently supports built-in grammars for Python, Go, Java, JSON, SQL, first-order logic, and support for many grammars is WIP.

We have added some interesting notebooks with miscellaneous grammars here: https://github.com/uiuc-focal-lab/syncode/tree/main/notebook...

The arXiv version of the paper is available here: https://arxiv.org/abs/2403.01632