mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-15 02:07:03 +00:00
docs: add examples using bash to compare models
Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
9
examples/bash-comparemodels/README.md
Normal file
9
examples/bash-comparemodels/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user