Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: fix incorrect default value for seed parameter#14471

Open
Anandesh-Sharma wants to merge 1 commit intoollama:mainfrom
Anandesh-Sharma:fix-seed-default-docs
Open

docs: fix incorrect default value for seed parameter#14471
Anandesh-Sharma wants to merge 1 commit intoollama:mainfrom
Anandesh-Sharma:fix-seed-default-docs

Conversation

@Anandesh-Sharma
Copy link

Summary

  • Fixes the documented default value for seed from 0 to -1 (random)
  • The actual default in api.DefaultOptions() is Seed: -1, meaning random seed generation by default
  • A default of 0 would incorrectly imply deterministic generation

Related to #4937

The Modelfile documentation listed the default seed as 0, but the
actual default in api.DefaultOptions() is -1 (random seed). This
could mislead users into thinking generation is deterministic by
default.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant