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
6ae376e3
Unverified
Commit
6ae376e3
authored
Jun 12, 2023
by
Lintang Sutawika
Committed by
GitHub
Jun 12, 2023
Browse files
Merge pull request #574 from EleutherAI/StellaAthena-patch-1
Remove the registration of "GPT2" as a model type
parents
6db83ddc
e131056a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/models/hf_causal.py
lm_eval/models/hf_causal.py
+1
-1
No files found.
lm_eval/models/hf_causal.py
View file @
6ae376e3
...
@@ -15,7 +15,7 @@ from accelerate import Accelerator
...
@@ -15,7 +15,7 @@ from accelerate import Accelerator
from
itertools
import
islice
from
itertools
import
islice
@
register_model
(
"hf-causal"
,
"gpt2"
)
@
register_model
(
"hf-causal"
)
class
HFLM
(
LM
):
class
HFLM
(
LM
):
def
__init__
(
def
__init__
(
self
,
self
,
...
...
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