Update samsum.py
Browse files
samsum.py
CHANGED
@@ -25,13 +25,15 @@ class SkillDataset(datasets.GeneratorBasedBuilder):
|
|
25 |
datasets.SplitGenerator(
|
26 |
name=datasets.Split.TRAIN,
|
27 |
gen_kwargs={
|
28 |
-
"data": training_data
|
|
|
29 |
}
|
30 |
),
|
31 |
datasets.SplitGenerator(
|
32 |
name=datasets.Split.TEST,
|
33 |
gen_kwargs={
|
34 |
-
"data": testing_data
|
|
|
35 |
}
|
36 |
),
|
37 |
]
|
|
|
25 |
datasets.SplitGenerator(
|
26 |
name=datasets.Split.TRAIN,
|
27 |
gen_kwargs={
|
28 |
+
"data": training_data,
|
29 |
+
"split": "train"
|
30 |
}
|
31 |
),
|
32 |
datasets.SplitGenerator(
|
33 |
name=datasets.Split.TEST,
|
34 |
gen_kwargs={
|
35 |
+
"data": testing_data,
|
36 |
+
"split": "test",
|
37 |
}
|
38 |
),
|
39 |
]
|