mirror of
https://github.com/ollama/ollama.git
synced 2026-04-22 00:36:11 +02:00
runner.go: Support MinP parameter
MinP is a user-facing parameter that is exposed that is exposed through the APIs but is not currently plumbed through.
This commit is contained in:
@@ -7,6 +7,7 @@ struct llama_sampling_context *llama_sampling_cinit(struct llama_sampling_cparam
|
||||
llama_sampling_params sparams;
|
||||
sparams.top_k = params->top_k;
|
||||
sparams.top_p = params->top_p;
|
||||
sparams.min_p = params->min_p;
|
||||
sparams.tfs_z = params->tfs_z;
|
||||
sparams.typical_p = params->typical_p;
|
||||
sparams.temp = params->temp;
|
||||
|
||||
Reference in New Issue
Block a user