[GH-ISSUE #11725] gpt-oss recommended top_p missing #7763

Open
opened 2026-04-12 19:55:04 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @blakkd on GitHub (Aug 6, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11725

OpenAI recommends:

  • temperature 1.0
  • top_p 1.0

Source: https://github.com/openai/gpt-oss?tab=readme-ov-file#recommended-sampling-parameters

However, the Ollama modelfile pulled from ollama.com only sets temperature 1.0.

Given the default top_p value is 0.9, we should add top_p 1.0 in the modelfile

Source: https://github.com/ollama/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values

Originally created by @blakkd on GitHub (Aug 6, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11725 OpenAI recommends: - `temperature 1.0` - `top_p 1.0` Source: https://github.com/openai/gpt-oss?tab=readme-ov-file#recommended-sampling-parameters However, the Ollama modelfile pulled from [ollama.com](https://ollama.com/library/gpt-oss) only sets `temperature 1.0`. Given the default `top_p` value is 0.9, we should add `top_p 1.0` in the modelfile Source: https://github.com/ollama/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7763