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
OpenDAS
opencompass
Commits
9f8a7213
Unverified
Commit
9f8a7213
authored
Nov 07, 2023
by
Hubert
Committed by
GitHub
Nov 07, 2023
Browse files
[Fix] fix registry error with internal (#551)
* [Fix] fix conflict with internal * [Fix] fix conflict with internal
parent
bb2ecf41
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
opencompass/models/minimax_api.py
opencompass/models/minimax_api.py
+0
-2
opencompass/models/xunfei_api.py
opencompass/models/xunfei_api.py
+0
-2
opencompass/models/zhipuai_api.py
opencompass/models/zhipuai_api.py
+0
-2
No files found.
opencompass/models/minimax_api.py
View file @
9f8a7213
...
...
@@ -4,7 +4,6 @@ from typing import Dict, List, Optional, Union
import
requests
from
opencompass.registry
import
MODELS
from
opencompass.utils.prompt
import
PromptList
from
.base_api
import
BaseAPIModel
...
...
@@ -12,7 +11,6 @@ from .base_api import BaseAPIModel
PromptType
=
Union
[
PromptList
,
str
]
@
MODELS
.
register_module
(
name
=
[
'MiniMax'
])
class
MiniMax
(
BaseAPIModel
):
"""Model wrapper around MiniMax.
...
...
opencompass/models/xunfei_api.py
View file @
9f8a7213
...
...
@@ -3,7 +3,6 @@ import sys
from
concurrent.futures
import
ThreadPoolExecutor
from
typing
import
Dict
,
List
,
Optional
,
Union
from
opencompass.registry
import
MODELS
from
opencompass.utils.prompt
import
PromptList
from
.base_api
import
BaseAPIModel
...
...
@@ -11,7 +10,6 @@ from .base_api import BaseAPIModel
PromptType
=
Union
[
PromptList
,
str
]
@
MODELS
.
register_module
(
name
=
[
'XunFei'
])
class
XunFei
(
BaseAPIModel
):
"""Model wrapper around XunFei.
...
...
opencompass/models/zhipuai_api.py
View file @
9f8a7213
...
...
@@ -2,7 +2,6 @@ import sys
from
concurrent.futures
import
ThreadPoolExecutor
from
typing
import
Dict
,
List
,
Optional
,
Union
from
opencompass.registry
import
MODELS
from
opencompass.utils.prompt
import
PromptList
from
.base_api
import
BaseAPIModel
...
...
@@ -10,7 +9,6 @@ from .base_api import BaseAPIModel
PromptType
=
Union
[
PromptList
,
str
]
@
MODELS
.
register_module
()
class
ZhiPuAI
(
BaseAPIModel
):
"""Model wrapper around ZhiPuAI.
...
...
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