mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
api: remove unused sampling parameters (#10581)
This commit is contained in:
parent
3d9498a425
commit
fa9973cd7f
9 changed files with 3 additions and 30 deletions
|
@ -583,9 +583,6 @@ func (s *Server) completion(w http.ResponseWriter, r *http.Request) {
|
|||
PenaltyRepeat: req.Options.RepeatPenalty,
|
||||
PenaltyFreq: req.Options.FrequencyPenalty,
|
||||
PenaltyPresent: req.Options.PresencePenalty,
|
||||
Mirostat: req.Options.Mirostat,
|
||||
MirostatTau: req.Options.MirostatTau,
|
||||
MirostatEta: req.Options.MirostatEta,
|
||||
Seed: uint32(req.Options.Seed),
|
||||
Grammar: req.Grammar,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue