[GH-ISSUE #3551] temperature multiplied by 2 #2192

Closed
opened 2026-04-12 12:26:27 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @anasibang on GitHub (Apr 9, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3551

Originally assigned to: @jmorganca on GitHub.

1341ee1b56/openai/openai.go (L178)

Why did you multiply the temperature value by 2?

Originally created by @anasibang on GitHub (Apr 9, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3551 Originally assigned to: @jmorganca on GitHub. https://github.com/ollama/ollama/blob/1341ee1b56b11436a9a8d72f2733ef7ff436ba40/openai/openai.go#L178 Why did you multiply the temperature value by 2?
GiteaMirror added the question label 2026-04-12 12:26:27 -05:00
Author
Owner

@jmorganca commented on GitHub (Apr 15, 2024):

The temperature is multiplied by two since llama.cpp uses 0-2 and openai uses 0-1 - thanks for the issue!

<!-- gh-comment-id:2057616689 --> @jmorganca commented on GitHub (Apr 15, 2024): The temperature is multiplied by two since llama.cpp uses 0-2 and openai uses 0-1 - thanks for the issue!
Author
Owner

@Fusseldieb commented on GitHub (Apr 22, 2024):

This would be a prime example of where to put an inline comment

<!-- gh-comment-id:2071026365 --> @Fusseldieb commented on GitHub (Apr 22, 2024): This would be a prime example of where to put an inline comment
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2192