2023-07-19 04:11:56 +08:00
|
|
|
# Examples
|
|
|
|
|
|
2023-08-10 02:49:22 +08:00
|
|
|
This directory contains different examples of using Ollama
|
2023-07-19 04:11:56 +08:00
|
|
|
|
|
|
|
|
To create a model:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ollama create example -f <example file>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
To run a model:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ollama run example
|
|
|
|
|
```
|