Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
0d209e2e
Commit
0d209e2e
authored
Nov 17, 2023
by
lintangsutawika
Browse files
removed provide_description arg
parent
f56e2c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
lm_eval/api/task.py
lm_eval/api/task.py
+0
-3
No files found.
lm_eval/api/task.py
View file @
0d209e2e
...
...
@@ -441,7 +441,6 @@ class Task(abc.ABC):
self
,
doc
,
num_fewshot
,
provide_description
=
None
,
rnd
=
random
.
Random
(
1234
),
description
=
None
,
):
...
...
@@ -452,8 +451,6 @@ class Task(abc.ABC):
The document as returned from training_docs, validation_docs, or test_docs.
:param num_fewshot: int
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
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`.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment