sadrasabouri commited on
Commit
839d178
1 Parent(s): 889963e

Update naab.py

Browse files
Files changed (1) hide show
  1. naab.py +2 -2
naab.py CHANGED
@@ -101,7 +101,7 @@ class Naab(datasets.GeneratorBasedBuilder):
101
  name=datasets.Split.TRAIN,
102
  # These kwargs will be passed to _generate_examples
103
  gen_kwargs={
104
- "filepath": os.path.join(data_dir, "train.jsonl"),
105
  "split": "train",
106
  },
107
  ),
@@ -109,7 +109,7 @@ class Naab(datasets.GeneratorBasedBuilder):
109
  name=datasets.Split.TEST,
110
  # These kwargs will be passed to _generate_examples
111
  gen_kwargs={
112
- "filepath": os.path.join(data_dir, "test.jsonl"),
113
  "split": "test"
114
  },
115
  ),
101
  name=datasets.Split.TRAIN,
102
  # These kwargs will be passed to _generate_examples
103
  gen_kwargs={
104
+ "filepath": os.path.join(data_dir, "train.txt"),
105
  "split": "train",
106
  },
107
  ),
109
  name=datasets.Split.TEST,
110
  # These kwargs will be passed to _generate_examples
111
  gen_kwargs={
112
+ "filepath": os.path.join(data_dir, "test.txt"),
113
  "split": "test"
114
  },
115
  ),