13086363bd
Signed-off-by: Matt Williams <m@technovangelist.com>
10 lines
428 B
Markdown
10 lines
428 B
Markdown
# Bash Shell examples
|
|
|
|
When calling `ollama`, you can pass it a file to run all the prompts in the file, one after the other:
|
|
|
|
`ollama run llama2 < sourcequestions.txt`
|
|
|
|
This concept is used in the following example.
|
|
|
|
## Compare Models
|
|
`comparemodels.sh` is a script that runs all the questions in `sourcequestions.txt` using any 4 models you choose that you have already pulled from the Ollama library or have created locally.
|