Commit 09cd76c7 authored by Jonathan Tow's avatar Jonathan Tow
Browse files

Fix assertion error string

parent 3fdff22f
...@@ -459,9 +459,9 @@ class Task(abc.ABC): ...@@ -459,9 +459,9 @@ class Task(abc.ABC):
def fewshot_context(self, doc, num_fewshot, provide_description, rnd, description=None): def fewshot_context(self, doc, num_fewshot, provide_description, rnd, description=None):
assert not provide_description, ( assert not provide_description, (
"The `provide_description` arg will be removed in future versions. To provide " "The `provide_description` arg will be removed in future versions. To prepend "
"custom descriptions on a per-task basis, supply the `description_dict` " "a custom description to the context, supply the corresponding string via the "
"arg with your task-to-description dictionary." "`description` arg."
) )
description = description + "\n\n" if description else "" description = description + "\n\n" if description else ""
......
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