"host/online_compile/addkernels/include_inliner.cpp" did not exist on "1685048a6725e531b577510295d2d62664c15962"
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): ...@@ -238,7 +238,7 @@ class Task(abc.ABC):
fewshotex = self.fewshot_examples(k=num_fewshot, rnd=rnd) fewshotex = self.fewshot_examples(k=num_fewshot, rnd=rnd)
else: else:
if self._fewshot_docs is None: 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) 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