Commit a745d589 authored by haileyschoelkopf's avatar haileyschoelkopf
Browse files

remove provide_description flag

parent 51753750
......@@ -465,18 +465,8 @@ class Task(abc.ABC):
assert (
rnd is not None
), "A `random.Random` generator argument must be provided to `rnd`"
assert not provide_description, (
"The `provide_description` arg will be removed in future versions. To prepend "
"a custom description to the context, supply the corresponding string via the "
"`description` arg."
)
if provide_description is not None:
# nudge people to not specify it at all
print(
"WARNING: provide_description is deprecated and will be removed in a future version in favor of description_dict"
)
description = description + "\n\n" if description else ""
description = description if description else ""
if num_fewshot == 0:
labeled_examples = ""
......
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