Revert recent sampling change

It does not actually help and seems to produce worse results on some of
the samples
pull/24/merge
Georgi Gerganov 2 years ago
parent cf67bfffa0
commit b4a3875b2c
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

1
.gitignore vendored

@ -9,3 +9,4 @@ out/
.vs/
.vscode/
compile_commands.json
.DS_Store

@ -2425,7 +2425,7 @@ int whisper_full(
whisper_token id = 0;
whisper_token tid = whisper_token_beg(ctx);
id = whisper_sample_best(ctx, result_len == 0 || i > 32);
id = whisper_sample_best(ctx, result_len == 0);
if (i > 0) {
tid = whisper_sample_timestamp(ctx);
}

Loading…
Cancel
Save