WhisperGenerationResult

class ctranslate2.models.WhisperGenerationResult

A generation result from the Whisper model.

Inherits from: pybind11_builtins.pybind11_object

Attributes:

property no_speech_prob

Probability of the no speech token (0 if return_no_speech_prob was disabled).

property scores

Score of each sequence (empty if return_scores was disabled).

property sequences

Generated sequences of tokens.

property sequences_ids

Generated sequences of token IDs.