ratishsp commited on
Commit
8f7568a
1 Parent(s): 1b70633

fixed path

Browse files
Files changed (1) hide show
  1. newshead.py +3 -3
newshead.py CHANGED
@@ -22,21 +22,21 @@ class NewsHeadDataset(datasets.GeneratorBasedBuilder):
22
  datasets.SplitGenerator(
23
  name=datasets.Split.TRAIN,
24
  gen_kwargs = {
25
- "filepath": os.path.join(data_dir, "data", "train.jsonl"),
26
  "split": "train"
27
  }
28
  ),
29
  datasets.SplitGenerator(
30
  name=datasets.Split.VALIDATION,
31
  gen_kwargs = {
32
- "filepath": os.path.join(data_dir, "data", "validation.jsonl"),
33
  "split": "validation"
34
  }
35
  ),
36
  datasets.SplitGenerator(
37
  name=datasets.Split.TEST,
38
  gen_kwargs = {
39
- "filepath": os.path.join(data_dir, "data", "validation.jsonl"),
40
  "split": "test"
41
  }
42
  )
 
22
  datasets.SplitGenerator(
23
  name=datasets.Split.TRAIN,
24
  gen_kwargs = {
25
+ "filepath": os.path.join(data_dir, "train.jsonl"),
26
  "split": "train"
27
  }
28
  ),
29
  datasets.SplitGenerator(
30
  name=datasets.Split.VALIDATION,
31
  gen_kwargs = {
32
+ "filepath": os.path.join(data_dir, "validation.jsonl"),
33
  "split": "validation"
34
  }
35
  ),
36
  datasets.SplitGenerator(
37
  name=datasets.Split.TEST,
38
  gen_kwargs = {
39
+ "filepath": os.path.join(data_dir, "validation.jsonl"),
40
  "split": "test"
41
  }
42
  )