"examples/vscode:/vscode.git/clone" did not exist on "b73427c9d55594a2b0e03131b63b8e15b6172495"
Commit 7d5aa3f7 authored by Leo Gao's avatar Leo Gao
Browse files

Typo

parent 624c038e
......@@ -34,7 +34,7 @@ def evaluate(lm, task_dict, provide_description, num_fewshot, limit):
task_docs = list(task_doc_func())
rnd = random.Random()
rnd.seed(42)
rnd.shuffle(docs)
rnd.shuffle(task_docs)
for doc_id, doc in enumerate(itertools.islice(task_docs, 0, limit)):
docs[(task_name, doc_id)] = doc
......
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