transformers
03966cac - Wav2Vec2ProcessorWithLM can return N best hypotheses now (#22235)

Commit
2 years ago
Wav2Vec2ProcessorWithLM can return N best hypotheses now (#22235) * Wav2Vec2ProcessorWithLM can return N best hypotheses now Signed-off-by: Vladislav Sokolovskii <vladislav@parrothq.com> * Wav2Vec2ProcessorWithLM n_best cannot be None Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Batch decoding can return N best hypotheses now batch_decode was extended with the same functionality as decode function, N best hypotheses per sample can be returned Signed-off-by: Vladislav Sokolovskii <vladislav@parrothq.com> --------- Signed-off-by: Vladislav Sokolovskii <vladislav@parrothq.com> Co-authored-by: Vladislav Sokolovskii <vladislav@parrothq.com> Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Author
Parents
Loading