code: def __init__(self, data_dir, lang, split="valid"):
      self.examples = read_search_examples(
          f"{data_dir}/{lang}/{split}.jsonl"
      )
  
      # below is for advtest
      self.text2code = {}
      for ex in self.examples:
          self.text2code[ex.idx] = ex.idx
  
imports: import json
  import torch
  from torch.utils.data import DataLoader, Dataset
label_desc: Use image node_id 1 to create a new advtest_search_eval_text object from inherited base classes: Dataset with example: obj = advtest_search_eval_text(data_dir, lang, split)