-
Notifications
You must be signed in to change notification settings - Fork 12k
Implemented Spellcheck for Llama.cpp #7884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ing from simple.cpp
# Llamacheck: Basic Spellcheck and Grammarcheck using Llama | ||
|
||
|
||
The attached file provides a basic implementation of LLama to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The attached file provides a basic implementation of LLama to | |
The attached file provides a basic implementation of LLama to |
We use it as follows: | ||
```console | ||
make llamacheck | ||
./llamacheck <./models/llamacheck.gguf> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
End-of-line whitespace is making CI fail the editorconfig check.
./llamacheck <./models/llamacheck.gguf> | |
./llamacheck <./models/llamacheck.gguf> |
llama_backend_free(); | ||
|
||
return 0; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also needs a final newline at the end of the file.
} | |
} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for adding spellcheck to the code.
Implemented basic spellcheck using llama. Fixed binary issues, etc from before.