mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-17 22:48:08 +00:00
feat: add typical_p to model parameters (#598)
Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
committed by
GitHub
parent
1ba88258a9
commit
295f3030a9
@ -238,6 +238,7 @@ func buildLLamaPredictOptions(c Config, modelPath string) []llama.PredictOption
|
||||
predictOptions = append(predictOptions, llama.SetPredictionMainGPU(c.MainGPU))
|
||||
predictOptions = append(predictOptions, llama.SetPredictionTensorSplit(c.TensorSplit))
|
||||
predictOptions = append(predictOptions, llama.SetTailFreeSamplingZ(c.TFZ))
|
||||
predictOptions = append(predictOptions, llama.SetTypicalP(c.TypicalP))
|
||||
|
||||
return predictOptions
|
||||
}
|
||||
|
Reference in New Issue
Block a user