code: def create_pipeline_from_model(model):
      tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
      device = -1
      pred = pipeline(
          "text-classification",
          model=model,
          tokenizer=tokenizer,
          device=device,
          return_all_scores=True,
      )
      return pred
  
imports: import os
  import zipfile
  import datasets
  import pandas
  from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
  from raiutils.common.retries import retry_function
  from responsibleai_text.common.constants import QuestionAnsweringFields
label_desc: Use image node_id 8 for calling a global function with example usage: create_pipeline_from_model(model) and returns: pred