wr
hn
Top
New
Best
Ask
Show
Jobs
Back
n
nautilus50
Joined 4 years ago
Karma
25
Submissions
6
Member since
Dec 18
View on Hacker News
Recent submissions
Comment · 1 month ago
+1, llama.cpp has a --grammar parameter which you can pass a BNF style grammar file to constrain generation. It can be used in Python llama.cpp wrapper
https://til.simonwillison.net/llms/llama-cpp-python-grammars
Comment · 4 years ago
I don't care anything about India. You need to make toilets, otherwise you will drown in shit. Also, your nationalism sucks.
Comment · 4 years ago
Don't get an AR-15, Get an RPG-29.
Comment · 4 years ago
Cool! Works on mobile, too. Prepend "javascript:" to the code and enter on search bar.
https://til.simonwillison.net/llms/llama-cpp-python-grammars