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
9bd6b0be
Commit
9bd6b0be
authored
Jul 18, 2023
by
Eddy Yeo
Browse files
Fix dummy model
parent
50e1ed40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/models/dummy.py
lm_eval/models/dummy.py
+1
-1
No files found.
lm_eval/models/dummy.py
View file @
9bd6b0be
...
@@ -6,7 +6,7 @@ from lm_eval.api.registry import register_model
...
@@ -6,7 +6,7 @@ from lm_eval.api.registry import register_model
@
register_model
(
"dummy"
)
@
register_model
(
"dummy"
)
class
DummyLM
(
LM
):
class
DummyLM
(
LM
):
def
__init__
(
self
):
def
__init__
(
self
):
pass
super
().
__init__
()
@
classmethod
@
classmethod
def
create_from_arg_string
(
cls
,
arg_string
,
additional_config
=
None
):
def
create_from_arg_string
(
cls
,
arg_string
,
additional_config
=
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