Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Scaevolus
on July 22, 2023
|
parent
|
context
|
favorite
| on:
TypeChat
Llama.cpp recently added grammar based sampling, which constraints token selection to follow a rigid format like you describe.
https://github.com/ggerganov/llama.cpp/pull/1773
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/ggerganov/llama.cpp/pull/1773