diff --git a/promptsource/app.py b/promptsource/app.py index 8ca9d8e1d..f3ad9a4fc 100644 --- a/promptsource/app.py +++ b/promptsource/app.py @@ -195,7 +195,7 @@ def show_text(t, width=WIDTH, with_markdown=False): pool.join() results = [] - for (dataset_name, subset_name) in template_collection.keys: + for dataset_name, subset_name in template_collection.keys: # Collect split sizes (train, validation and test) if dataset_name not in all_infos: infos = get_dataset_infos(dataset_name) @@ -298,7 +298,6 @@ def show_text(t, width=WIDTH, with_markdown=False): # If a particular dataset is selected, loads dataset and template information # if dataset_key is not None: - # # Check for subconfigurations (i.e. subsets) # diff --git a/promptsource/templates.py b/promptsource/templates.py index ba0b92816..e4049996a 100644 --- a/promptsource/templates.py +++ b/promptsource/templates.py @@ -457,7 +457,6 @@ class TemplateCollection: """ def __init__(self): - # Dict of all the DatasetTemplates, key is the tuple (dataset_name, subset_name) self.datasets_templates: Dict[(str, Optional[str]), DatasetTemplates] = self._collect_datasets()