mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 18:45:00 +00:00
feat: add typical_p to model parameters (#598)
Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
parent
1ba88258a9
commit
295f3030a9
3 changed files with 7 additions and 0 deletions
|
@ -236,6 +236,10 @@ func updateConfig(config *Config, input *OpenAIRequest) {
|
|||
config.MirostatTAU = input.MirostatTAU
|
||||
}
|
||||
|
||||
if input.TypicalP != 0 {
|
||||
config.TypicalP = input.TypicalP
|
||||
}
|
||||
|
||||
switch inputs := input.Input.(type) {
|
||||
case string:
|
||||
if inputs != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue