fixed path
Browse files- 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, "
|
26 |
"split": "train"
|
27 |
}
|
28 |
),
|
29 |
datasets.SplitGenerator(
|
30 |
name=datasets.Split.VALIDATION,
|
31 |
gen_kwargs = {
|
32 |
-
"filepath": os.path.join(data_dir, "
|
33 |
"split": "validation"
|
34 |
}
|
35 |
),
|
36 |
datasets.SplitGenerator(
|
37 |
name=datasets.Split.TEST,
|
38 |
gen_kwargs = {
|
39 |
-
"filepath": os.path.join(data_dir, "
|
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 |
)
|