logo
Browse Source

Add more model names

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
539593061c
  1. 1
      README.md
  2. 3
      unixcoder.py

1
README.md

@ -66,6 +66,7 @@ The default value is None, which enables GPU if cuda is available.
Supported model names:
- microsoft/unixcoder-base
- microsoft/unixcoder-base-nine
<br />

3
unixcoder.py

@ -149,7 +149,8 @@ class Unixcoder(NNOperator):
@staticmethod
def supported_model_names(format: str = None):
full_list = [
'microsoft/unixcoder-base'
'microsoft/unixcoder-base',
'microsoft/unixcoder-base-nine'
]
full_list.sort()
if format is None:

Loading…
Cancel
Save