Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
sileod commited on
Commit
f7a2032
1 Parent(s): a75aade

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +2 -0
disrpt.py CHANGED
@@ -159,6 +159,8 @@ class Dataset(datasets.GeneratorBasedBuilder):
159
  self.files = {**self.files, **data_file}
160
 
161
  splits_dict = {datasets.Split.TRAIN: 'train', datasets.Split.VALIDATION: 'dev', datasets.Split.TEST: 'test'}
 
 
162
  split_generators = [
163
  datasets.SplitGenerator(name=split, gen_kwargs={"filepath": data_file[f"{data_dir}-{key}.{type}"]})
164
  for split, key in splits_dict.items()
 
159
  self.files = {**self.files, **data_file}
160
 
161
  splits_dict = {datasets.Split.TRAIN: 'train', datasets.Split.VALIDATION: 'dev', datasets.Split.TEST: 'test'}
162
+
163
+ print("data_file:",data_file)
164
  split_generators = [
165
  datasets.SplitGenerator(name=split, gen_kwargs={"filepath": data_file[f"{data_dir}-{key}.{type}"]})
166
  for split, key in splits_dict.items()