chunk_content: te a function to pad and truncate the model_inputs and labels:
  
  
  	Copied
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
  
  
  def preprocess_function(examples):
      inputs = examples[text_column]
      targets = examples[label_column]
      model_inputs = tokenizer(inputs, max_length=max_length, padding="max_length", truncation=True, return_tensors="pt")
      labels = tokenizer(targets, max_length=2, padding="max_length", truncation=True,