Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Update grammar-parser.cpp (#48)
Ikko Eltociear Ashiminea7cc1804f852
diff --git a/llama.cpp/grammar-parser.cpp b/llama.cpp/grammar-parser.cppindex 382c9706..224e9c3e 100644--- a/llama.cpp/grammar-parser.cpp+++ b/llama.cpp/grammar-parser.cpp@@ -191,7 +191,7 @@ namespace grammar_parser {pos = parse_space(pos + 1, is_nested);} else if (*pos == '*' || *pos == '+' || *pos == '?') { // repetition operatorif (last_sym_start == out_elements.size()) {- ThrowRuntimeError(std::string("expecting preceeding item to */+/? at ") + pos);+ ThrowRuntimeError(std::string("expecting preceding item to */+/? at ") + pos);}// apply transformation to previous symbol (last_sym_start to end) according to