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:
Jesse Gross
2024-08-21 16:13:54 -07:00
committed by jmorganca
parent 90d25d3b0a
commit 76718ead40
4 changed files with 5 additions and 0 deletions

View File

@@ -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;