code: def keyword_to_itype(k):
      return {"none": None, "int8": torch.int8}[k]
  
file_path: quanto/examples/nlp/text-classification/sst2/quantize_sst2_model.py
imports: import argparse
  import io
  import time
  import numpy
  import torch
  from datasets import load_dataset
  from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
  from transformers.pipelines.pt_utils import KeyDataset
  from quanto import Calibration, freeze, quantize
label_desc: Use image node_id 2 for calling a global function with example usage: keyword_to_itype(k) and returns: dict