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
7d286ad0
Commit
7d286ad0
authored
Jan 23, 2025
by
Baber
Browse files
add model
parent
24214440
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
lm_eval/models/__init__.py
lm_eval/models/__init__.py
+1
-0
lm_eval/models/rwkvwrapper.py
lm_eval/models/rwkvwrapper.py
+1
-1
No files found.
lm_eval/models/__init__.py
View file @
7d286ad0
...
@@ -13,6 +13,7 @@ from . import (
...
@@ -13,6 +13,7 @@ from . import (
openai_completions
,
openai_completions
,
optimum_ipex
,
optimum_ipex
,
optimum_lm
,
optimum_lm
,
rwkvwrapper
,
textsynth
,
textsynth
,
vllm_causallms
,
vllm_causallms
,
vllm_vlms
,
vllm_vlms
,
...
...
lm_eval/models/rwkv.py
→
lm_eval/models/rwkv
wrapper
.py
View file @
7d286ad0
...
@@ -8,7 +8,7 @@ from lm_eval.models.huggingface import HFLM
...
@@ -8,7 +8,7 @@ from lm_eval.models.huggingface import HFLM
@
register_model
(
"rwkv"
)
@
register_model
(
"rwkv"
)
class
MambaLMWrapper
(
HFLM
):
class
RWKVWRAPPER
(
HFLM
):
def
__init__
(
def
__init__
(
self
,
self
,
pretrained
,
pretrained
,
...
...
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