News for hackers. Stuff that matters.
Re:Many options for running Mistral models in your terminal ... by Tomte on Tuesday December 19, 2023 @03:05AM (#38693068)
What is grammar support? I've seen that mentioned several times now. Does it allow to restrict the output to a given template, or am I totally wrong there?
Re:Many options for running Mistral models in your terminal ... by biwills on Tuesday December 19, 2023 @03:34AM (#38693227)
Yes. Here's a quick rundown of grammar in llama.cpp (link on the docs of faraday.dev which runs llama.cpp under the hood)

https://docs.faraday.dev/character-creation/grammars