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
38bd2cc8
Commit
38bd2cc8
authored
Jul 05, 2023
by
haileyschoelkopf
Browse files
remove batch_size param from config
parent
23318d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lm_eval/api/task.py
lm_eval/api/task.py
+1
-2
No files found.
lm_eval/api/task.py
View file @
38bd2cc8
...
...
@@ -73,7 +73,6 @@ class TaskConfig(dict):
fewshot_delimiter
:
str
=
"
\n\n
"
# runtime configuration options
num_fewshot
:
int
=
0
batch_size
:
int
=
1
# scoring options
metric_list
:
str
=
None
output_type
:
str
=
"greedy_until"
...
...
@@ -468,7 +467,7 @@ class Task(abc.ABC):
The fewshot context.
"""
# TODO: this should only return the overrides applied to a non-YAML task's configuration.
# (
batch size,
num_fewshot)
# (num_fewshot)
return
self
.
_config
.
to_dict
()
...
...
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