docstr: Run pipeline tests for a specific `task` with the give model class and tokenizer/processor class names
  
  Args:
      task (`str`):
          A task name. This should be a key in the mapping `pipeline_test_mapping`.
      repo_name (`str`):
          A model repository id on the Hub.
      model_architecture (`type`):
          A subclass of `PretrainedModel` or `PretrainedModel`.
      tokenizer_names (`List[str]`):
          A list of names of a subclasses of `PreTrainedTokenizerFast` or `PreTrainedTokenizer`.
      processor_names (`List[str]`):
          A list of names of subclasses of `BaseImageProcessor` or `FeatureExtractionMixin`.
docstr_tok: ["Run","pipeline","tests","for","a","specific","`","task","`","with","the","give","model","class","and","tokenizer\/processor","class","names","Args",":","task","(","`","str","`",")",":","A","task","name",".","This","should","be","a","key","in","the","mapping","`","pipeline_test_mapping","`",".","repo_name","(","`","str","`",")",":","A","model","repository","id","on","the","Hub",".","model_architecture","(","`","type","`",")",":","A","subclass","of","`","PretrainedModel","`","or","`","PretrainedModel","`",".","tokenizer_names","(","`","List","[","str","]","`",")",":","A","list","of","names","of","a","subclasses","of","`","PreTrainedTokenizerFast","`","or","`","PreTrainedTokenizer","`",".","processor_names","(","`","List","[","str","]","`",")",":","A","list","of","names","of","subclasses","of","`","BaseImageProcessor","`","or","`","FeatureExtractionMixin","`","."]
code: def run_model_pipeline_tests(
      self,
      task,
      repo_name,
      model_architecture,
      tokenizer_names,
      processor_names,
      commit,
  ):
      """Run pipeline tests for a specific `task` with the give model class and tokenizer/processor class names
  
      Args:
          task (`str`):
              A task name. This should be a key in the mapping `pipeline_test_mapping`.
          repo_name (`str`):
              A model repository id on the Hub.
          model_architecture (`type`):
              A subclass of `PretrainedModel` or `PretrainedModel`.
          tokenizer_names (`List[str]`):
              A list of names of a subclasses of `PreTrainedTokenizerFast` or `PreTrainedTokenizer`.
          processor_names (`List[str]`):
              A list of names of subclasses of `BaseImageProcessor` or `FeatureExtractionMixin`.
      """
      # Get an instance of the corresponding class `XXXPipelineTests` in order to use `get_test_pipeline` and
      # `run_pipeline_test`.
      pipeline_test_class_name = pipeline_test_mapping[task][
          "test"
      ].__name__
  
      for tokenizer_name in tokenizer_names:
          for processor_name in processor_names:
              if self.is_pipeline_test_to_skip(
                  pipeline_test_class_name,
                  model_architecture.config_class,
                  model_architecture,
                  tokenizer_name,
                  processor_name,
              ):
                  logger.warning(
                      f"{self.__class__.__name__}::test_pipeline_{task.replace('-', '_')} is skipped: test is "
                      f"currently known to fail for: model `{model_architecture.__name__}` | tokenizer "
                      f"`{tokenizer_name}` | processor `{processor_name}`."
                  )
                  continue
              self.run_pipeline_test(
                  task,
                  repo_name,
                  model_architecture,
                  tokenizer_name,
                  processor_name,
                  commit,
              )
  
imports: import copy
  import json
  import os
  import random
  import unittest
  from pathlib import Path
  from transformers.testing_utils import is_pipeline_test, require_decord, require_pytesseract, require_timm, require_torch, require_torch_or_tf, require_vision
  from transformers.utils import direct_transformers_import, logging
  from .pipelines.test_pipelines_audio_classification import AudioClassificationPipelineTests
  from .pipelines.test_pipelines_automatic_speech_recognition import AutomaticSpeechRecognitionPipelineTests
  from .pipelines.test_pipelines_conversational import ConversationalPipelineTests
  from .pipelines.test_pipelines_depth_estimation import DepthEstimationPipelineTests
  from .pipelines.test_pipelines_document_question_answering import DocumentQuestionAnsweringPipelineTests
  from .pipelines.test_pipelines_feature_extraction import FeatureExtractionPipelineTests
  from .pipelines.test_pipelines_fill_mask import FillMaskPipelineTests
  from .pipelines.test_pipelines_image_classification import ImageClassificationPipelineTests
  from .pipelines.test_pipelines_image_segmentation import ImageSegmentationPipelineTests
  from .pipelines.test_pipelines_image_to_image import ImageToImagePipelineTests
  from .pipelines.test_pipelines_image_to_text import ImageToTextPipelineTests
  from .pipelines.test_pipelines_mask_generation import MaskGenerationPipelineTests
  from .pipelines.test_pipelines_object_detection import ObjectDetectionPipelineTests
  from .pipelines.test_pipelines_question_answering import QAPipelineTests
  from .pipelines.test_pipelines_summarization import SummarizationPipelineTests
  from .pipelines.test_pipelines_table_question_answering import TQAPipelineTests
  from .pipelines.test_pipelines_text2text_generation import Text2TextGenerationPipelineTests
  from .pipelines.test_pipelines_text_classification import TextClassificationPipelineTests
  from .pipelines.test_pipelines_text_generation import TextGenerationPipelineTests
  from .pipelines.test_pipelines_text_to_audio import TextToAudioPipelineTests
  from .pipelines.test_pipelines_token_classification import TokenClassificationPipelineTests
  from .pipelines.test_pipelines_translation import TranslationPipelineTests
  from .pipelines.test_pipelines_video_classification import VideoClassificationPipelineTests
  from .pipelines.test_pipelines_visual_question_answering import VisualQuestionAnsweringPipelineTests
  from .pipelines.test_pipelines_zero_shot import ZeroShotClassificationPipelineTests
  from .pipelines.test_pipelines_zero_shot_audio_classification import ZeroShotAudioClassificationPipelineTests
  from .pipelines.test_pipelines_zero_shot_image_classification import ZeroShotImageClassificationPipelineTests
  from .pipelines.test_pipelines_zero_shot_object_detection import ZeroShotObjectDetectionPipelineTests
label_desc: Use image node_id 2 for calling the PipelineTesterMixin obj's underlying member method code with example usage: obj.run_model_pipeline_tests(task, repo_name, model_architecture, tokenizer_names, processor_names, commit) without return types