mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
fix(llama.cpp): disable mirostat as default (#2911)
Even if increasing the quality of the output, it has shown to have performance drawbacks to be so noticeable that the confuses users about speed of LocalAI ( see also https://github.com/mudler/LocalAI/issues/2780 ). This changeset disables Mirostat by default (which can be still enabled manually). Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Dave <dave@gray101.com>
This commit is contained in:
parent
7f90ff7aec
commit
cc1f6f913f
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ func (cfg *BackendConfig) SetDefaults(opts ...ConfigLoaderOption) {
|
||||||
defaultTopP := 0.95
|
defaultTopP := 0.95
|
||||||
defaultTopK := 40
|
defaultTopK := 40
|
||||||
defaultTemp := 0.9
|
defaultTemp := 0.9
|
||||||
defaultMirostat := 2
|
// https://github.com/mudler/LocalAI/issues/2780
|
||||||
|
defaultMirostat := 0
|
||||||
defaultMirostatTAU := 5.0
|
defaultMirostatTAU := 5.0
|
||||||
defaultMirostatETA := 0.1
|
defaultMirostatETA := 0.1
|
||||||
defaultTypicalP := 1.0
|
defaultTypicalP := 1.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue