nautilus50
Re:Jev in 25 Lines of Python
on Wednesday September 23, 2026 @04:28AM (#49813156)
+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
Re:Indian Air Force inducts natively developed light combat helicopter...
on Saturday November 05, 2022 @02:15PM (#33484079)
I don't care anything about India. You need to make toilets, otherwise you will drown in shit. Also, your nationalism sucks.
Re:Indian Air Force inducts natively developed light combat helicopter...
on Saturday November 05, 2022 @12:19PM (#33482888)
I think India should focus on making toilets more accessible first. See https://en.wikipedia.org/wiki/Swachh_Bharat_Mission
Re:Fake Dog for Home Security
on Wednesday July 27, 2022 @11:55AM (#32252045)
Don't get an AR-15, Get an RPG-29.
Re:Show HN: HN Avatars in 357 bytes
on Monday March 14, 2022 @12:44PM (#30674655)
Cool! Works on mobile, too. Prepend "javascript:" to the code and enter on search bar.