code: def run_entailment_id(self, zero_shot_classifier: Pipeline):
      config = zero_shot_classifier.model.config
      original_label2id = config.label2id
      original_entailment = zero_shot_classifier.entailment_id
  
      config.label2id = {"LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2}
      self.assertEqual(zero_shot_classifier.entailment_id, -1)
  
      config.label2id = {
          "entailment": 0,
          "neutral": 1,
          "contradiction": 2,
      }
      self.assertEqual(zero_shot_classifier.entailment_id, 0)
  
      config.label2id = {"ENTAIL": 0, "NON-ENTAIL": 1}
      self.assertEqual(zero_shot_classifier.entailment_id, 0)
  
      config.label2id = {"ENTAIL": 2, "NEUTRAL": 1, "CONTR": 0}
      self.assertEqual(zero_shot_classifier.entailment_id, 2)
  
      zero_shot_classifier.model.config.label2id = original_label2id
      self.assertEqual(
          original_entailment, zero_shot_classifier.entailment_id
      )
  
file_path: transformers/tests/pipelines/test_pipelines_zero_shot.py
imports: import unittest
  from transformers import MODEL_FOR_SEQUENCE_CLASSIFICATION_MAPPING, TF_MODEL_FOR_SEQUENCE_CLASSIFICATION_MAPPING, Pipeline, ZeroShotClassificationPipeline, pipeline
  from transformers.testing_utils import is_pipeline_test, nested_simplify, require_tf, require_torch, slow
  from .test_pipelines_common import ANY
label_desc: Use image node_id 3 for calling the ZeroShotClassificationPipelineTests obj's underlying member method code with example usage: obj.run_entailment_id(zero_shot_classifier) without return types