transformers/tests/pipelines
Sivaudha 8aad4363d8
Fix pipeline predict transform methods (#19657)
* Remove key word argument X from pipeline predict and transform methods

As __call__ of pipeline clasees require one positional argument, passing
the input as a keyword argument inside predict, transform methods, causing
__call__ to fail. Hence in this commit the keyword argument is modified
into positional argument.

* Implement basic tests for scikitcompat pipeline interface

* Seperate tests instead of running with parameterized based on framework as both frameworks will not be active at the same time
2022-10-17 09:06:20 -04: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 Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_automatic_speech_recognition.py Improve error messaging for ASR pipeline. (#19570) 2022-10-14 17:12:21 +02:00
test_pipelines_common.py Fix pipeline predict transform methods (#19657) 2022-10-17 09:06:20 -04:00
test_pipelines_conversational.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_depth_estimation.py Add depth estimation pipeline (#18618) 2022-10-12 08:54:20 -04:00
test_pipelines_document_question_answering.py Implement multiple span support for DocumentQuestionAnswering (#19204) 2022-10-11 10:47:55 -04:00
test_pipelines_feature_extraction.py Added tokenize keyword arguments to feature extraction pipeline (#19382) 2022-10-11 12:54:41 -04:00
test_pipelines_fill_mask.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_image_classification.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_image_segmentation.py Cast masks to np.unit8 before converting to PIL.Image.Image (#19616) 2022-10-14 09:30:45 -04:00
test_pipelines_image_to_text.py Fix ImageToTextPipelineTests.test_small_model_tf (#19565) 2022-10-14 16:29:54 +02:00
test_pipelines_object_detection.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_question_answering.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_summarization.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_table_question_answering.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_text_classification.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_text_generation.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_text2text_generation.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_token_classification.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_translation.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_visual_question_answering.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_zero_shot_image_classification.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00
test_pipelines_zero_shot_object_detection.py Remove ref to is_pipeline_test 2022-10-07 21:38:07 -04:00
test_pipelines_zero_shot.py Rework pipeline tests (#19366) 2022-10-07 18:01:58 -04:00