transformers
Support mixed-language batches in `WhisperGenerationMixin`
#29688
Merged

Support mixed-language batches in `WhisperGenerationMixin` #29688

ArthurZucker merged 15 commits into huggingface:main from cifkao:batch-lang
cifkao
cifkao Add support for mixing languages in a single batch
62688935
cifkao Update docstring
7342506a
cifkao Enable different detected languages in batch
9f341c30
cifkao Do not require input_features
400addf0
cifkao Test list of languages
ae546318
cifkao Fix comment
a4d77b4d
ylacombe
ylacombe commented on 2024-03-18
ylacombe ylacombe requested a review from sanchit-gandhi sanchit-gandhi 1 year ago
HuggingFaceDocBuilderDev
cifkao Make init_tokens length-1 if possible, broadcast at the end
0b424f75
cifkao Test for ValueError with language list of incorrect length
9ad6d9b8
cifkao Slow test for batched multilingual transcription
65b78290
cifkao fixup
fa332aa8
cifkao
naveen-corpusant
naveen-corpusant commented on 2024-03-22
ylacombe
sanchit-gandhi
sanchit-gandhi commented on 2024-04-02
cifkao Apply suggestions from code review
bd08f2a0
cifkao Address review, refactor
bc525461
cifkao Second attempt to move this line where it was originally
46aa8d12
cifkao Split test, fix a bug
6e9345de
cifkao
cifkao commented on 2024-04-05
cifkao cifkao requested a review from ylacombe ylacombe 1 year ago
cifkao cifkao requested a review from sanchit-gandhi sanchit-gandhi 1 year ago
sanchit-gandhi
sanchit-gandhi approved these changes on 2024-04-10
sanchit-gandhi sanchit-gandhi requested a review from ArthurZucker ArthurZucker 1 year ago
sanchit-gandhi sanchit-gandhi requested a review from kamilakesbi kamilakesbi 1 year ago
sanchit-gandhi
kamilakesbi
kamilakesbi approved these changes on 2024-05-10
ArthurZucker
ArthurZucker
ArthurZucker approved these changes on 2024-05-13
ArthurZucker
cifkao Merge branch 'main' into batch-lang
5251e292
cifkao
ArthurZucker ArthurZucker merged be3aa43e into main 1 year ago
ArthurZucker
AvivSham

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone