Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rckrd
on May 16, 2023
|
parent
|
context
|
favorite
| on:
Bard generates clean JSON if you threaten to take ...
For a less dramatic strategy with LLMs that expose the tokenizer vocabulary, you can use context-free grammars to constrain the logits according to the parser so that the LLMs only generate valid next tokens for the language.[0]
[0]
https://github.com/r2d4/parserllm
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0]https://github.com/r2d4/parserllm