Update disrpt.py
Browse files
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',
|
| 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()
|