[PR #26] [CLOSED] Add example using seed param to get consistent outputs #334

Closed
opened 2026-02-15 16:30:01 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/26
Author: @mrkiura
Created: 1/25/2024
Status: Closed

Base: mainHead: mrkiura-reproducible-output-example


📝 Commits (2)

  • a60e895 Add example using seed param to get consistent outputs
  • 37d634d Set temperature to zero

📊 Changes

2 files changed (+18 additions, -0 deletions)

View changed files

examples/reproducible-outputs/README.md (+4 -0)
examples/reproducible-outputs/main.py (+14 -0)

📄 Description

Updates the examples directory with an example that demonstrates how to reprodduce similar outputs.


🔄 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-python/pull/26 **Author:** [@mrkiura](https://github.com/mrkiura) **Created:** 1/25/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mrkiura-reproducible-output-example` --- ### 📝 Commits (2) - [`a60e895`](https://github.com/ollama/ollama-python/commit/a60e895d3c6b7eebec00674ff7cf9ddc205f6965) Add example using seed param to get consistent outputs - [`37d634d`](https://github.com/ollama/ollama-python/commit/37d634dbe68380052a9ab9f0cc3f0bb5599afd7c) Set temperature to zero ### 📊 Changes **2 files changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/reproducible-outputs/README.md` (+4 -0) ➕ `examples/reproducible-outputs/main.py` (+14 -0) </details> ### 📄 Description Updates the examples directory with an example that demonstrates how to reprodduce similar outputs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:30:01 -05:00
yindo closed this issue 2026-02-15 16:30:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#334