[PR #9732] [MERGED] sample: separate softmax and temperature transforms #23582

Closed
opened 2026-04-19 17:05:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9732
Author: @ParthSareen
Created: 3/13/2025
Status: Merged
Merged: 3/13/2025
Merged by: @ParthSareen

Base: mainHead: parth/sample-simplify-temperature-transform


📝 Commits (2)

  • e97dbe4 sample: separate softmax and temperature transforms
  • 13e95ed improve tests and comments

📊 Changes

3 files changed (+98 additions, -25 deletions)

View changed files

📝 sample/samplers.go (+1 -1)
📝 sample/transforms.go (+14 -5)
📝 sample/transforms_test.go (+83 -19)

📄 Description

Separating the transforms for readability


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/9732 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth/sample-simplify-temperature-transform` --- ### 📝 Commits (2) - [`e97dbe4`](https://github.com/ollama/ollama/commit/e97dbe47044478f7f81323096d7ccbf4846fdaf5) sample: separate softmax and temperature transforms - [`13e95ed`](https://github.com/ollama/ollama/commit/13e95edc6cc2593c542359149d9f1792a1c0a4e5) improve tests and comments ### 📊 Changes **3 files changed** (+98 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `sample/samplers.go` (+1 -1) 📝 `sample/transforms.go` (+14 -5) 📝 `sample/transforms_test.go` (+83 -19) </details> ### 📄 Description Separating the transforms for readability --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 17:05:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#23582