mirror of
https://github.com/ollama/ollama.git
synced 2025-05-10 18:06:33 +02:00
llm: fix seed value not being applied to requests (#4986)
This commit is contained in:
parent
2ff45d571d
commit
ead259d877
2 changed files with 3 additions and 9 deletions
|
@ -250,7 +250,7 @@ curl http://localhost:11434/api/generate -d '{
|
|||
|
||||
#### Request (Reproducible outputs)
|
||||
|
||||
For reproducible outputs, set `temperature` to 0 and `seed` to a number:
|
||||
For reproducible outputs, set `seed` to a number:
|
||||
|
||||
##### Request
|
||||
|
||||
|
@ -259,8 +259,7 @@ curl http://localhost:11434/api/generate -d '{
|
|||
"model": "mistral",
|
||||
"prompt": "Why is the sky blue?",
|
||||
"options": {
|
||||
"seed": 123,
|
||||
"temperature": 0
|
||||
"seed": 123
|
||||
}
|
||||
}'
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue