Revert recent sampling change

It does not actually help and seems to produce worse results on some of
the samples
pull/67/head
Georgi Gerganov 2022-10-18 08:26:16 +03:00
parent cf67bfffa0
commit b4a3875b2c
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

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

View File

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