transformers
Add validation for maximum sequence length in modeling_whisper.py
#33196
Merged

Add validation for maximum sequence length in modeling_whisper.py #33196

AmirMohammadFakhimi
AmirMohammadFakhimi Add validation for maximum sequence length in modeling_whisper.py
3056095a
LysandreJik
ylacombe
ylacombe commented on 2024-09-03
ylacombe
ylacombe
ylacombe commented on 2024-09-04
AmirMohammadFakhimi Change exception message in src/transformers/models/whisper/modeling_…
4330cc3d
AmirMohammadFakhimi Change 448 to config.max_target_positions in src/transformers/models/…
f12a3c26
AmirMohammadFakhimi Change method's documentation in src/transformers/models/whisper/mode…
264cd5b8
AmirMohammadFakhimi Add test for maximum label's sequence length in test_modeling_whisper.py
cd4db328
AmirMohammadFakhimi Merge branch 'huggingface:main' into patch-1
03db15fb
AmirMohammadFakhimi Add self to modeling_whisper.py
53dea493
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to automatic validations
933a0584
AmirMohammadFakhimi Update modeling_whisper.py with respect to ci/circleci: check_code_qu…
2be9b27c
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: check_co…
9c15e68c
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: tests_ge…
81d704ec
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: tests_ge…
f5ae7ec5
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: check_co…
b5866868
AmirMohammadFakhimi Separate test_labels_sequence_max_length tests in test_modeling_whisp…
8aa48326
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: check_co…
8bf582f1
AmirMohammadFakhimi
ylacombe
ylacombe commented on 2024-09-04
AmirMohammadFakhimi Remove assert from test_modeling_whisper.py
13baea3f
AmirMohammadFakhimi Add max_target_positions to WhisperModelTester in test_modeling_whisp…
be3d4d5c
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: check_co…
6cf4d8d3
AmirMohammadFakhimi Update test_modeling_whisper.py with respect to ci/circleci: tests_ge…
930a9338
ylacombe
ylacombe commented on 2024-09-04
HuggingFaceDocBuilderDev
AmirMohammadFakhimi Update test_modeling_whisper.py
fb1cd5e5
AmirMohammadFakhimi Change test_labels_sequence_max_length_error_after_changing_config in…
88cd92fe
AmirMohammadFakhimi Change self.config.max_target_positions to self.max_target_positions …
4b677d54
AmirMohammadFakhimi Add new tests in test_modeling_whisper.py
bab10984
AmirMohammadFakhimi Update test_modeling_whisper.py
de273c03
ylacombe
ylacombe approved these changes on 2024-09-05
ylacombe ylacombe requested a review from LysandreJik LysandreJik 1 year ago
LysandreJik
LysandreJik commented on 2024-09-05
LysandreJik
LysandreJik approved these changes on 2024-09-05
LysandreJik LysandreJik merged 3314fe17 into main 1 year ago
jugal-sheth

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone