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
30273b47
Unverified
Commit
30273b47
authored
Jul 10, 2024
by
meg
Committed by
GitHub
Jul 10, 2024
Browse files
batch_size may be str if 'auto' is specified (#2084)
parent
058cfd0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-1
No files found.
lm_eval/evaluator.py
View file @
30273b47
...
@@ -50,7 +50,7 @@ def simple_evaluate(
...
@@ -50,7 +50,7 @@ def simple_evaluate(
model_args
:
Optional
[
Union
[
str
,
dict
]]
=
None
,
model_args
:
Optional
[
Union
[
str
,
dict
]]
=
None
,
tasks
:
Optional
[
List
[
Union
[
str
,
dict
,
object
]]]
=
None
,
tasks
:
Optional
[
List
[
Union
[
str
,
dict
,
object
]]]
=
None
,
num_fewshot
:
Optional
[
int
]
=
None
,
num_fewshot
:
Optional
[
int
]
=
None
,
batch_size
:
Optional
[
int
]
=
None
,
batch_size
:
Optional
[
Union
[
int
,
str
]
]
=
None
,
max_batch_size
:
Optional
[
int
]
=
None
,
max_batch_size
:
Optional
[
int
]
=
None
,
device
:
Optional
[
str
]
=
None
,
device
:
Optional
[
str
]
=
None
,
use_cache
:
Optional
[
str
]
=
None
,
use_cache
:
Optional
[
str
]
=
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