Unverified Commit 6d355b85 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Fixed typo on num_fewshot

parent 01cfb2ff
......@@ -419,7 +419,7 @@ class Task(abc.ABC):
if num_fewshot == 0:
labeled_examples = ""
else:
labeled_examples = self.sampler.get_context(doc, self._config.num_fewshot)
labeled_examples = self.sampler.get_context(doc, num_fewshot)
# for sets with no training docs, draw from other set *but ensure no overlap with current doc*
# if self.has_training_docs():
......
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