[GH-ISSUE #452] Way to download modelfile for model, but not weights? #25972

Closed
opened 2026-04-22 01:50:54 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @spott on GitHub (Sep 1, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/452

I'm interested in getting the modelfile for a model as I have ggml quantized weights already and don't want to redownload (and re-store) weights, but I don't know what the system prompts are.

Where can I browse the metadata for different models without downloading them in their entirety?

Originally created by @spott on GitHub (Sep 1, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/452 I'm interested in getting the modelfile for a model as I have ggml quantized weights already and don't want to redownload (and re-store) weights, but I don't know what the system prompts are. Where can I browse the metadata for different models without downloading them in their entirety?
GiteaMirror added the question label 2026-04-22 01:50:54 -05:00
Author
Owner

@technovangelist commented on GitHub (Sep 2, 2023):

We will be adding a way to see the modelfile from the website for all our models very soon.

<!-- gh-comment-id:1703885817 --> @technovangelist commented on GitHub (Sep 2, 2023): We will be adding a way to see the modelfile from the website for all our models very soon.
Author
Owner

@mxyng commented on GitHub (Sep 26, 2023):

The content of Modelfiles are available on the website, e.g. for falcon:7b, as well through the ollama cli:

$ ollama show --modelfile falcon:7b
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this one, replace the FROM line with:
# FROM falcon:7b

FROM /Users/michaelyang/.ollama/models/blobs/sha256:3230a638a2da7f51833ddf0f5567b9eae61a983d5e176ecc9ba451c7a4498ece
TEMPLATE """{{- if and .First .System }}
{{ .System }}
{{- end }}
User: {{ .Prompt }}
Assistant:"""
SYSTEM """"""
<!-- gh-comment-id:1736408258 --> @mxyng commented on GitHub (Sep 26, 2023): The content of Modelfiles are available on the [website](https://ollama.ai), e.g. for [falcon:7b](https://ollama.ai/library/falcon:7b), as well through the ollama cli: ``` $ ollama show --modelfile falcon:7b # Modelfile generated by "ollama show" # To build a new Modelfile based on this one, replace the FROM line with: # FROM falcon:7b FROM /Users/michaelyang/.ollama/models/blobs/sha256:3230a638a2da7f51833ddf0f5567b9eae61a983d5e176ecc9ba451c7a4498ece TEMPLATE """{{- if and .First .System }} {{ .System }} {{- end }} User: {{ .Prompt }} Assistant:""" SYSTEM """""" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#25972