docs: add examples using bash to compare models

Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
Matt Williams
2023-10-31 09:12:39 -07:00
parent ad88799411
commit 2236a93efc
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Bash Shell examples
When calling `ollama`, you can pass it a file to run all the prompts in the file, one after the other. This concept is used in two examples
## Bulk Questions
`bulkquestions.sh` is a script that runs all the questions in `sourcequestions` using the llama2 model and outputs the answers.
## Compare Models
`comparemodels.sh` is a script that runs all the questions in `sourcequestions` using any 4 models you choose that you have already pulled from the registry or have created locally.