Unverified Commit 37d4f617 authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Remove custom fewshot examples

parent 41a94e13
......@@ -48,10 +48,6 @@ class WordUnscrambleTask(Task):
def fewshot_description(self):
return "Please unscramble the letters into a word, and write that word:"
def fewshot_examples(self, k):
# Override to avoid error caused by missing `training_docs`.
return random.sample(list(self.validation_docs()), k)
def doc_to_text(self, doc):
return doc["context"]
......
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