|
|
|
@ -128,7 +128,7 @@ extern "C" {
|
|
|
|
|
// You can also implement your own sampling method using the whisper_get_probs() function.
|
|
|
|
|
// whisper_sample_best() returns the token with the highest probability
|
|
|
|
|
// whisper_sample_timestamp() returns the most probable timestamp token
|
|
|
|
|
WHISPER_API whisper_token_data whisper_sample_best(struct whisper_context * ctx);
|
|
|
|
|
WHISPER_API struct whisper_token_data whisper_sample_best(struct whisper_context * ctx);
|
|
|
|
|
WHISPER_API whisper_token whisper_sample_timestamp(struct whisper_context * ctx);
|
|
|
|
|
|
|
|
|
|
// Return the id of the specified language, returns -1 if not found
|
|
|
|
|