ollama/examples/bash-comparemodels
2023-10-31 13:25:36 -04:00
..
bulkquestions.sh docs: add examples using bash to compare models 2023-10-31 09:12:39 -07:00
comparemodels.sh docs: add examples using bash to compare models 2023-10-31 09:12:39 -07:00
README.md Update README.md 2023-10-31 13:25:36 -04:00
sourcequestions docs: add examples using bash to compare models 2023-10-31 09:12:39 -07:00

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 Ollama library or have created locally.