Commit 24321ad8 authored by lintangsutawika's avatar lintangsutawika
Browse files

pre-commit reformat

parent 60e8803f
...@@ -436,7 +436,9 @@ class Task(abc.ABC): ...@@ -436,7 +436,9 @@ class Task(abc.ABC):
# always prepend the (possibly empty) task description # always prepend the (possibly empty) task description
labeled_examples = self._config.description labeled_examples = self._config.description
else: else:
labeled_examples = self._config.description + self.sampler.get_context(doc, num_fewshot) labeled_examples = self._config.description + self.sampler.get_context(
doc, num_fewshot
)
example = self.doc_to_text(doc) example = self.doc_to_text(doc)
return labeled_examples + example return labeled_examples + example
......
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