mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-23 06:22:22 +00:00
whisper : print log when using distilled models
This commit is contained in:
parent
b8c93c5f3b
commit
673c55c683
@ -4579,6 +4579,7 @@ int whisper_full_with_state(
|
|||||||
// distilled models require the "no_timestamps" token
|
// distilled models require the "no_timestamps" token
|
||||||
// TODO: add input parameter (#1229)
|
// TODO: add input parameter (#1229)
|
||||||
if (is_distil) {
|
if (is_distil) {
|
||||||
|
log("%s: using distilled model - forcing no_timestamps\n", __func__);
|
||||||
prompt_init.push_back(whisper_token_not(ctx));
|
prompt_init.push_back(whisper_token_not(ctx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user