Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
sileod commited on
Commit
1c38a89
·
1 Parent(s): 5fc34a1

Update disrpt.py

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