@@ -50,6 +50,14 @@ Here are some example open-source models that can be downloaded:
## Examples
### Pull a public model
```
ollama pull llama2
```
> This command can also be used to update a local model. Only updated changes will be pulled.
### Run a model
```
...
...
@@ -67,7 +75,7 @@ For multiline input, you can wrap text with `"""`:
I'm a basic program that prints the famous "Hello, world!" message to the console.
```
### Create a custom model
### Customize a model
Pull a base model:
...
...
@@ -75,8 +83,6 @@ Pull a base model:
ollama pull llama2
```
> To update a model to the latest version, run `ollama pull llama2` again. The model will be updated (if necessary).
Create a `Modelfile`:
```
...
...
@@ -102,23 +108,23 @@ Hello! It's your friend Mario.
For more examples, see the [examples](./examples) directory. For more information on creating a Modelfile, see the [Modelfile](./docs/modelfile.md) documentation.
### Pull a model from the registry
### Listing local models
```
ollama pull orca-mini
ollama list
```
### Listing local models
### Removing local models
```
ollama list
ollama rm llama2
```
## Model packages
### Overview
Ollama bundles model weights, configuration, and data into a single package, defined by a [Modelfile](./docs/modelfile.md).
Ollama bundles model weights, configurations, and data into a single package, defined by a [Modelfile](./docs/modelfile.md).