mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-27 22:15:00 +00:00
feat: expose mirostat to config (#193)
This commit is contained in:
parent
c839b334eb
commit
961cf29217
3 changed files with 31 additions and 0 deletions
|
@ -24,6 +24,9 @@ type Config struct {
|
|||
Embeddings bool `yaml:"embeddings"`
|
||||
Backend string `yaml:"backend"`
|
||||
TemplateConfig TemplateConfig `yaml:"template"`
|
||||
MirostatETA float64 `yaml:"mirostat_eta"`
|
||||
MirostatTAU float64 `yaml:"mirostat_tau"`
|
||||
Mirostat int `yaml:"mirostat"`
|
||||
}
|
||||
|
||||
type TemplateConfig struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue