Commit 0d209e2e authored by lintangsutawika's avatar lintangsutawika
Browse files

removed provide_description arg

parent f56e2c47
...@@ -441,7 +441,6 @@ class Task(abc.ABC): ...@@ -441,7 +441,6 @@ class Task(abc.ABC):
self, self,
doc, doc,
num_fewshot, num_fewshot,
provide_description=None,
rnd=random.Random(1234), rnd=random.Random(1234),
description=None, description=None,
): ):
...@@ -452,8 +451,6 @@ class Task(abc.ABC): ...@@ -452,8 +451,6 @@ class Task(abc.ABC):
The document as returned from training_docs, validation_docs, or test_docs. The document as returned from training_docs, validation_docs, or test_docs.
:param num_fewshot: int :param num_fewshot: int
The number of fewshot examples to provide in the returned context string. The number of fewshot examples to provide in the returned context string.
:param provide_description: bool
Not implemented, and this option is deprecated and will be removed in a future version in favor of a different description providing method
:param rnd: random.Random :param rnd: random.Random
The pseudo-random number generator used to randomly sample examples. The pseudo-random number generator used to randomly sample examples.
WARNING: This is currently a required arg although it's optionalized with a default `None`. WARNING: This is currently a required arg although it's optionalized with a default `None`.
......
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