Update LongConL.py
Browse files- LongConL.py +1 -1
LongConL.py
CHANGED
|
@@ -67,7 +67,7 @@ class LongConLDataset(datasets.GeneratorBasedBuilder):
|
|
| 67 |
def _split_generators(self, dl_manager):
|
| 68 |
"""Split the dataset into train, validation, and test."""
|
| 69 |
task_name = self.config.name # Get the current task name from the config
|
| 70 |
-
valid_task_name = task_name.replace("-", "_") # Replace hyphens with underscores
|
| 71 |
|
| 72 |
# Update URLs with the valid task name
|
| 73 |
urls = {key: val.format(task_name=valid_task_name) for key, val in _URLS.items()}
|
|
|
|
| 67 |
def _split_generators(self, dl_manager):
|
| 68 |
"""Split the dataset into train, validation, and test."""
|
| 69 |
task_name = self.config.name # Get the current task name from the config
|
| 70 |
+
#valid_task_name = task_name.replace("-", "_") # Replace hyphens with underscores
|
| 71 |
|
| 72 |
# Update URLs with the valid task name
|
| 73 |
urls = {key: val.format(task_name=valid_task_name) for key, val in _URLS.items()}
|