code: def data_loader(data_path):
      data_inputs = []
      # sa_data_set = Dataset(task='SA')
  
      with open(data_path, "r+") as fo:
          for line in fo.readlines():
              data_sample = json.loads(line)
              data_inputs.append(
                  {
                      "x": data_sample["reviewText"],
                      "y": "positive"
                      if data_sample["overall"] > 4
                      else "negative",
                  }
              )
      # sa_data_set.load(data_inputs)
  
      return data_inputs
  
file_path: textflint/textflint/input/model/test_model/model_helper.py
imports: import os
  import json
  import csv
  import random
  import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: data_loader(data_path) and returns: data_inputs