mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-21 19:13:38 +00:00
feat: extract llama request settings to its own state, improve UI/UX
This commit is contained in:
parent
9d83107dd5
commit
e230640063
15 changed files with 446 additions and 267 deletions
|
|
@ -109,10 +109,10 @@ public class CompletionRequestProvider {
|
|||
return new LlamaCompletionRequest.Builder(prompt)
|
||||
.setN_predict(configuration.getMaxTokens())
|
||||
.setTemperature(configuration.getTemperature())
|
||||
.setTop_k(configuration.getTopK())
|
||||
.setTop_p(configuration.getTopP())
|
||||
.setMin_p(configuration.getMinP())
|
||||
.setRepeat_penalty(configuration.getRepeatPenalty())
|
||||
.setTop_k(settings.getTopK())
|
||||
.setTop_p(settings.getTopP())
|
||||
.setMin_p(settings.getMinP())
|
||||
.setRepeat_penalty(settings.getRepeatPenalty())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue