code: def test_raise_different_default_definition(
      sentiment_task: tuple[transformers.Pipeline, TaskDefinition]
  ):
      # implementation is different
      sentiment, _ = sentiment_task
      task_definition = {
          "impl": AudioClassificationPipeline,
          "tf": (),
          "pt": (AutoModelForAudioClassification,),
          "default": {
              "model": {
                  "pt": ("hf-internal-testing/tiny-random-distilbert",),
              },
          },
          "type": "text",
      }
  
      with pytest.raises(
          bentoml.exceptions.BentoMLException
      ) as exc_info:
          _ = bentoml.transformers.save_model(
              "forbidden_override",
              sentiment,
              task_name="sentiment-analysis",
              task_definition=task_definition,
          )
          assert "does not match pipeline task definition" in str(
              exc_info.value
          )
  
imports: from __future__ import annotations
  import logging
  import os
  import typing
  import pytest
  import transformers
  from transformers.models.auto.modeling_auto import AutoModelForAudioClassification
  from transformers.models.auto.modeling_auto import AutoModelForCausalLM
  from transformers.models.auto.modeling_auto import AutoModelForSequenceClassification
  from transformers.pipelines import check_task
  from transformers.pipelines import pipeline
  from transformers.pipelines.audio_classification import AudioClassificationPipeline
  from transformers.trainer_utils import set_seed
  import bentoml
  from bentoml.exceptions import BentoMLException
  from bentoml.transformers import ModelOptions
label_desc: Use image node_id 4 for calling a global function with example usage: test_raise_different_default_definition(sentiment_task) without return types