update modelfile readme

This commit is contained in:
Eva Ho 2024-03-27 10:36:18 -04:00
parent 186a4a0b65
commit af4ed1d401

View File

@ -71,11 +71,9 @@ More examples are available in the [examples directory](../examples).
There are two ways to view `Modelfile`s underlying the models in [ollama.com/library][1]:
- Option 1: view a model page:
- Option 1: view a model's layer table:
1. Go to a particular model page (e.g. https://ollama.com/library/llama2)
2. There is a table listing all the layers in the model.
- Note: if the [`FROM` instruction](#from-required) is not present,
it means the model was created from a local file
2. There is a table that displays all the layers of the model.
- Option 2: use `ollama show` to print the `Modelfile` for any local models like so:
```bash