char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Evan Jonesllama : add grammar-based sampling (#1773)84e09a7d8

char/aliceai-t5-moe
177 B6 linesraw
1root  ::= (expr "=" ws term "\n")+
2expr  ::= term ([-+*/] term)*
3term  ::= ident | num | "(" ws expr ")" ws
4ident ::= [a-z] [a-z0-9_]* ws
5num   ::= [0-9]+ ws
6ws    ::= [ \t\n]*