[GH-ISSUE #9003] Available Parameters in Modelfile #5850

Closed
opened 2026-04-12 17:11:25 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @20246688 on GitHub (Feb 11, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9003

What is the issue?

What other parameters can be set when creating a Modelfile? Is there an official documentation for this? I just realized that there's a num_ctx parameter that can adjust the context length.

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @20246688 on GitHub (Feb 11, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9003 ### What is the issue? What other parameters can be set when creating a Modelfile? Is there an official documentation for this? I just realized that there's a num_ctx parameter that can adjust the context length. ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 17:11:25 -05:00
Author
Owner

@20246688 commented on GitHub (Feb 11, 2025):

https://github.com/ollama/ollama/blob/main/docs/modelfile.md

<!-- gh-comment-id:2649877420 --> @20246688 commented on GitHub (Feb 11, 2025): https://github.com/ollama/ollama/blob/main/docs/modelfile.md?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5850