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
3149b6ac
Commit
3149b6ac
authored
Jan 13, 2023
by
Albert Jiang
Browse files
revert change to _model_generate abstract method signature
parent
1576e99e
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 @
3149b6ac
...
@@ -153,7 +153,7 @@ class BaseLM(LM):
...
@@ -153,7 +153,7 @@ class BaseLM(LM):
pass
pass
@
abstractmethod
@
abstractmethod
def
_model_generate
(
self
,
context
,
max_length
,
eos_token_id
,
temperature
=
0.
):
def
_model_generate
(
self
,
context
,
max_length
,
eos_token_id
):
pass
pass
@
abstractmethod
@
abstractmethod
...
...
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