Unverified Commit 031e6aca authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Add missing () in fewshot-no-training-path

parent 2bb67c98
......@@ -238,7 +238,7 @@ class Task(abc.ABC):
fewshotex = self.fewshot_examples(k=num_fewshot, rnd=rnd)
else:
if self._fewshot_docs is None:
self._fewshot_docs = list(self.validation_docs() if self.has_validation_docs else self.test_docs())
self._fewshot_docs = list(self.validation_docs() if self.has_validation_docs() else self.test_docs())
fewshotex = rnd.sample(self._fewshot_docs, num_fewshot + 1)
......
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