class_docstr_tok: []
code: def get_examples(self, data_dir, split):
      path = os.path.join(data_dir, f"{split}.json")
  
      with open(path, encoding="utf8") as f:
          for line in f:
              example_json = json.loads(line)
              example = InputExample(
                  meta={
                      "text_1": example_json["sentence1"],
                      "text_2": example_json["sentence2"],
                      "options": self.labels_mapped,
                  },
                  tgt_text=self.get_label(example_json["label"])
                  if "label" in example_json
                  else None,
              )
              examples.append(example)
  
file_path: OpenPrompt/openprompt/data_utils/ZH/paraphrase.py
imports: from .processor import *
label_desc: Use image node_id 2 for calling the AFQMC obj's underlying member method code with example usage: obj.get_examples(data_dir, split) without return types