chunk_content: feature in features]
          batch = self.processor.feature_extractor.pad(input_features, return_tensors="pt")
  
          label_features = [{"input_ids": feature["labels"]} for feature in features]
          labels_batch = self.processor.tokenizer.pad(label_features, return_tensors="pt")
  
          labels = labels_batch["input_ids"].masked_fill(labels_batch.attention_mask.ne(1), -100)
  
          if (labels[:, 0] == self.processor.tokenizer.bos_token_id