From 186a4a0b6513fa6744ebd70094ae7813c24aa1a9 Mon Sep 17 00:00:00 2001 From: Eva Ho Date: Wed, 27 Mar 2024 10:28:45 -0400 Subject: [PATCH] update modelfile readme --- docs/modelfile.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/modelfile.md b/docs/modelfile.md index 94acbdf6c..0734cfe7f 100644 --- a/docs/modelfile.md +++ b/docs/modelfile.md @@ -71,10 +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 details page from a model's tags page: - 1. Go to a particular model's tags (e.g. https://ollama.com/library/llama2/tags) - 2. Click on a tag (e.g. https://ollama.com/library/llama2:13b) - 3. Scroll down to "Layers" +- Option 1: view a model page: + 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 - Option 2: use `ollama show` to print the `Modelfile` for any local models like so: @@ -215,7 +214,6 @@ MESSAGE | user | An example message of what the user could have asked. | | assistant | An example message of how the model should respond. | - #### Example conversation ```modelfile @@ -227,7 +225,6 @@ MESSAGE user Is Ontario in Canada? MESSAGE assistant yes ``` - ## Notes - the **`Modelfile` is not case sensitive**. In the examples, uppercase instructions are used to make it easier to distinguish it from arguments.