Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

llama.cpp supports custom grammars to constrain inference. maybe this is a helpful starting point? https://github.com/ggerganov/llama.cpp/tree/master/grammars


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: