GenerationResult
- class ctranslate2.GenerationResult
A generation result.
Inherits from:
pybind11_builtins.pybind11_objectAttributes:
- property logits
Logits of each sequence (empty if
return_logits_vocabwas disabled).
- property scores
Score of each sequence (empty if
return_scoreswas disabled).
- property sequences
Generated sequences of tokens.
- property sequences_ids
Generated sequences of token IDs.