mirror of
https://github.com/ollama/ollama.git
synced 2025-12-09 19:32:35 +01:00
allow specifying stop conditions in modelfile
This commit is contained in:
@@ -178,7 +178,7 @@ type Options struct {
|
||||
MirostatTau float32 `json:"mirostat_tau,omitempty"`
|
||||
MirostatEta float32 `json:"mirostat_eta,omitempty"`
|
||||
PenalizeNewline bool `json:"penalize_newline,omitempty"`
|
||||
StopConditions []string `json:"stop_conditions,omitempty"`
|
||||
Stop []string `json:"stop,omitempty"`
|
||||
|
||||
NumThread int `json:"num_thread,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user