transformers/tests/pipelines
Connor Henderson 279008adc3
fix: Change is_last chunk calc and add conditional break in chunk_iter (#21612)
* fix: Change is_last chunk calc and add conditional break

* format fix

* account for 0 and full stride_rights, add comment

* add new test

* make style

* update slow whisper asr test timestamps

* use nested_simplify on output and round timestamp to hundreths place
2023-02-24 08:30:32 +01:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_pipelines_audio_classification.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_automatic_speech_recognition.py fix: Change is_last chunk calc and add conditional break in chunk_iter (#21612) 2023-02-24 08:30:32 +01:00
test_pipelines_common.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
test_pipelines_conversational.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_depth_estimation.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_pipelines_document_question_answering.py Fix some pipeline tests (#21401) 2023-02-02 19:03:31 +01:00
test_pipelines_feature_extraction.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_fill_mask.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
test_pipelines_image_classification.py Fix some pipeline tests (#21401) 2023-02-02 19:03:31 +01:00
test_pipelines_image_segmentation.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_pipelines_image_to_text.py Fix some pipeline tests (#21401) 2023-02-02 19:03:31 +01:00
test_pipelines_object_detection.py Fix some pipeline tests (#21401) 2023-02-02 19:03:31 +01:00
test_pipelines_question_answering.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_summarization.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_table_question_answering.py Add require_torch to 2 pipeline tests (#20585) 2022-12-05 16:06:39 +01:00
test_pipelines_text_classification.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_text_generation.py [pipeline] A simple fix for half-precision & 8bit models (#21479) 2023-02-10 10:26:17 +01:00
test_pipelines_text2text_generation.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_token_classification.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_translation.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_video_classification.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
test_pipelines_visual_question_answering.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_zero_shot_image_classification.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00
test_pipelines_zero_shot_object_detection.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_pipelines_zero_shot.py Pipeline testing - using tiny models on Hub (#20426) 2023-01-30 10:39:43 +01:00