Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information on model tagging to import.md. #4109

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thinkverse
Copy link

I added a section to the import documentation on model tagging and cleaned up the quantization reference section a smidge.

Add information on model tagging.
Clean up grammar and duplicate words.
If your model has different versions you can optionally tag them, without a tag, it will be `latest`:

```
ollama push <your username>/example[:tag]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an OK example? It's based on Docker's push reference. Alternatively, the brackets can be removed.

Suggested change
ollama push <your username>/example[:tag]
ollama push <your username>/example:tag

docs/import.md Outdated
@@ -144,6 +144,16 @@ ollama push <your username>/example

After publishing, your model will be available at `https://ollama.com/<your username>/example`.

### Tagging models

If your model has different versions you can optionally tag them, without a tag it will be `latest`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest is a mutable tag, and not good practice. We should advocate tagging explicitly, not using latest if possible.

Modern container repositories does not support mutable tag because of security.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree it would probably be better to remove the optionally part. Given latest is mutable it will be overwritten if you don't specify a tag. I will see if I can't come up with some better wording to get that across. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants