mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 08:47:01 +00:00
llama: update vendored code to commit 46e3556 (#8308)
This commit is contained in:
@@ -561,7 +561,6 @@ type Options struct {
|
||||
Mirostat int `json:"mirostat"`
|
||||
MirostatTau float32 `json:"mirostat_tau"`
|
||||
MirostatEta float32 `json:"mirostat_eta"`
|
||||
PenalizeNewline bool `json:"penalize_nl"`
|
||||
Stop []string `json:"stop"`
|
||||
}
|
||||
|
||||
@@ -633,7 +632,6 @@ func (s *Server) completion(w http.ResponseWriter, r *http.Request) {
|
||||
samplingParams.Mirostat = req.Mirostat
|
||||
samplingParams.MirostatTau = req.MirostatTau
|
||||
samplingParams.MirostatEta = req.MirostatEta
|
||||
samplingParams.PenalizeNl = req.PenalizeNewline
|
||||
samplingParams.Seed = uint32(req.Seed)
|
||||
samplingParams.Grammar = req.Grammar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user