tts : update default samplers

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-12-16 13:21:36 +02:00
parent 66e1e1a18e
commit 8f34d0dd8b
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -296,9 +296,7 @@ int main(int argc, char ** argv) {
params.n_ctx = 8192; params.n_ctx = 8192;
params.sampling.top_k = 4; params.sampling.top_k = 4;
params.sampling.penalty_repeat = 1.1; params.sampling.samplers = { COMMON_SAMPLER_TYPE_TOP_K, };
params.sampling.penalty_last_n = 8;
params.sampling.samplers = { COMMON_SAMPLER_TYPE_TEMPERATURE, COMMON_SAMPLER_TYPE_TOP_K, };
if (!common_params_parse(argc, argv, params, LLAMA_EXAMPLE_TTS, print_usage)) { if (!common_params_parse(argc, argv, params, LLAMA_EXAMPLE_TTS, print_usage)) {
return 1; return 1;