mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-11-07 08:34:37 +01:00
Revert recent sampling change
It does not actually help and seems to produce worse results on some of the samples
This commit is contained in:
parent
cf67bfffa0
commit
b4a3875b2c
1
.gitignore
vendored
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…
Reference in New Issue
Block a user