[GH-ISSUE #1169] Update the model name in the api doc #78270

Closed
opened 2026-05-08 22:27:01 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @shenli on GitHub (Nov 17, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1169

Hi, I am new to Ollama.

I followed the Quickstart to try Ollama with model Llama2. It is very easy to run and a very interesting project.

When I explored further in the API doc, I found that the model names are not consistent. There are llama2 and llama2:7b in the API doc. I met the issue like {"error":"model 'llama2:7b' not found, try pulling it first"}% . From the model library section, I think llama2 is the same as llama2:7b. But from here I notice that llama2 is actually llam2:latest.
For the API doc, do you think it is better to change all the llama2:7b to llama2? It is good for the people who are following the Quickstart.

Originally created by @shenli on GitHub (Nov 17, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1169 Hi, I am new to Ollama. I followed the [Quickstart](https://github.com/jmorganca/ollama/tree/main#quickstart) to try Ollama with model Llama2. It is very easy to run and a very interesting project. When I explored further in the [API doc](https://github.com/jmorganca/ollama/blob/main/docs/api.md), I found that the model names are not consistent. There are `llama2` and `llama2:7b` in the API doc. I met the issue like `{"error":"model 'llama2:7b' not found, try pulling it first"}% `. From the [model library section](https://github.com/jmorganca/ollama/tree/main#model-library), I think `llama2` is the same as `llama2:7b`. But from [here](https://ollama.ai/library/llama2) I notice that `llama2` is actually `llam2:latest`. For the [API doc](https://github.com/jmorganca/ollama/blob/main/docs/api.md), do you think it is better to change all the `llama2:7b` to `llama2`? It is good for the people who are following the Quickstart.
Author
Owner

@jmorganca commented on GitHub (Nov 17, 2023):

Thanks for creating an issue! This has been updated on main 😊

<!-- gh-comment-id:1816310422 --> @jmorganca commented on GitHub (Nov 17, 2023): Thanks for creating an issue! This has been updated on `main` 😊
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#78270