code: def __init__(
      self,
      texts1,
      texts2,
      similarity_scores,
      process_batch,
      max_length=None,
  ):
      super().__init__()
  
      self.texts1 = texts1
      self.texts2 = texts2
  
      self.similarity_scores = similarity_scores
  
      self.process_batch = process_batch
  
      self.max_length = max_length
  
imports: import torch
  from torch.utils.data import Dataset
  from PIL import Image
  import numpy
label_desc: Use image node_id 1 to create a new TextPairDataset object from inherited base classes: Dataset with example: obj = TextPairDataset(texts1, texts2, similarity_scores, process_batch, max_length)