Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 12, 2023
1 parent b7bbee0 commit b0c0f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elk/extraction/prompt_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class PromptConfig(Serializable):
seed: The seed to use for prompt randomization. Defaults to 42.
stream: Whether to stream the dataset from the Internet. Defaults to False.
combined_template_path: Path to save a combined template file to, when testing
prompt invariance across multiple datasets, and will be interpreted as a
prompt invariance across multiple datasets, and will be interpreted as a
subpath of `combined_paths` in the templates dir. Defaults to empty string.
"""

Expand Down Expand Up @@ -87,7 +87,7 @@ def __post_init__(self):
for ds_string in self.datasets:
ds_name, _, config_name = ds_string.partition(" ")
prompter = DatasetTemplates(ds_name, config_name)
# TODO: Verify that cols are same; if not, warn that templates
# TODO: Verify that cols are same; if not, warn that templates
# could not be combined.
combined_prompter.merge_templates_from(prompter)
print("Total number of templates: ", len(combined_prompter.templates))
Expand Down

0 comments on commit b0c0f63

Please sign in to comment.