Commit 689e0c91 authored by Baber's avatar Baber
Browse files

make multiple_input explicit

parent d9876b22
......@@ -659,7 +659,7 @@ class ConfigurableTask(Task):
# Test One Doc
self.features: list[str] = list(self.task_docs.features.keys())
self.multiple_input = 0
self.multiple_input = self.config.multiple_input
self.multiple_target = 0
test_doc = self.task_docs[0]
test_text = self.doc_to_text(test_doc)
......
......@@ -166,6 +166,7 @@ class TaskConfig:
should_decontaminate: bool = False
doc_to_decontamination_query: str | None = None
gen_prefix: str | None = None
multiple_input: bool = False
metadata: dict | None = field(
default_factory=dict
) # by default, not used in the code. allows for users to pass arbitrary info to tasks
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment