Datasets:

Modalities:
Text
Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
Axel578 commited on
Commit
d71ed90
1 Parent(s): 278b2cf

Update samsum.py

Browse files
Files changed (1) hide show
  1. samsum.py +4 -2
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
  ]