-
Notifications
You must be signed in to change notification settings - Fork 0
GarfieldTheFirst/AskDocuments
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Simple "ask my documents" implementation in flask. Setup For setup in linux, run the following in a terminal opened in the repo folder: source setup_linux.sh Then, to run the app, run the following in the terminal: source run_app.sh Notes This work utilizes the llm setup by Scott W Harden documented here: https://swharden.com/blog/2023-07-30-ai-document-qa/ Please note: the llm needs to be downloaded first (should be covered by setup script if the download link did not change). This has been tested with the following two: llama-2-7b-chat.ggmlv3.q8_0.bin (better accuracy, slower inference) llama-2-7b-chat.ggmlv3.q4_1.bin (less accuracy, faster inference) The pathes for the example above need to be indicated in the llm_evaluation.py as: './app/llm/llama-2-7b-chat.ggmlv3.q8_0.bin' './app/llm/llama-2-7b-chat.ggmlv3.q4_1.bin'
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published