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
7dd1ef95
Commit
7dd1ef95
authored
Apr 29, 2022
by
jon-tow
Browse files
Fix naming
parent
eda365f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/base.py
lm_eval/base.py
+1
-1
No files found.
lm_eval/base.py
View file @
7dd1ef95
...
@@ -375,7 +375,7 @@ class BaseLM(LM):
...
@@ -375,7 +375,7 @@ class BaseLM(LM):
).
to
(
self
.
device
)
).
to
(
self
.
device
)
if
max_generation_length
is
None
:
if
max_generation_length
is
None
:
max_length
=
self
.
max_gen_tok
max_length
=
self
.
max_gen_tok
s
else
:
else
:
max_length
=
max_generation_length
max_length
=
max_generation_length
...
...
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