"vscode:/vscode.git/clone" did not exist on "ab795ae840899039f00c5b08a612f94b0ec5495f"
constants.py 99.5 KB
Newer Older
chenych's avatar
chenych committed
1
# Copyright 2025 the LlamaFactory team.
chenych's avatar
chenych committed
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

luopl's avatar
luopl committed
15
import os
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
16
17
from collections import OrderedDict, defaultdict
from enum import Enum
chenych's avatar
chenych committed
18
from typing import Optional
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
19

chenych's avatar
chenych committed
20
21
22
23
24
from peft.utils import SAFETENSORS_WEIGHTS_NAME as SAFE_ADAPTER_WEIGHTS_NAME
from peft.utils import WEIGHTS_NAME as ADAPTER_WEIGHTS_NAME
from transformers.utils import SAFE_WEIGHTS_INDEX_NAME, SAFE_WEIGHTS_NAME, WEIGHTS_INDEX_NAME, WEIGHTS_NAME


chenych's avatar
chenych committed
25
26
AUDIO_PLACEHOLDER = os.environ.get("AUDIO_PLACEHOLDER", "<audio>")

chenych's avatar
chenych committed
27
28
29
30
31
32
33
34
CHECKPOINT_NAMES = {
    SAFE_ADAPTER_WEIGHTS_NAME,
    ADAPTER_WEIGHTS_NAME,
    SAFE_WEIGHTS_INDEX_NAME,
    SAFE_WEIGHTS_NAME,
    WEIGHTS_INDEX_NAME,
    WEIGHTS_NAME,
}
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

CHOICES = ["A", "B", "C", "D"]

DATA_CONFIG = "dataset_info.json"

DEFAULT_TEMPLATE = defaultdict(str)

FILEEXT2TYPE = {
    "arrow": "arrow",
    "csv": "csv",
    "json": "json",
    "jsonl": "json",
    "parquet": "parquet",
    "txt": "text",
}

IGNORE_INDEX = -100

luopl's avatar
luopl committed
53
IMAGE_PLACEHOLDER = os.environ.get("IMAGE_PLACEHOLDER", "<image>")
luopl's avatar
luopl committed
54

Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
55
56
LAYERNORM_NAMES = {"norm", "ln"}

chenych's avatar
chenych committed
57
LLAMABOARD_CONFIG = "llamaboard_config.yaml"
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
58
59
60

METHODS = ["full", "freeze", "lora"]

chenych's avatar
chenych committed
61
62
MOD_SUPPORTED_MODELS = {"bloom", "falcon", "gemma", "llama", "mistral", "mixtral", "phi", "starcoder2"}

chenych's avatar
chenych committed
63
64
MULTIMODAL_SUPPORTED_MODELS = set()

chenych's avatar
chenych committed
65
PEFT_METHODS = {"lora"}
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
66

chenych's avatar
chenych committed
67
RUNNING_LOG = "running_log.txt"
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
68
69
70
71
72

SUBJECTS = ["Average", "STEM", "Social Sciences", "Humanities", "Other"]

SUPPORTED_MODELS = OrderedDict()

chenych's avatar
chenych committed
73
74
75
76
TRAINER_LOG = "trainer_log.jsonl"

TRAINING_ARGS = "training_args.yaml"

Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
77
78
79
80
81
TRAINING_STAGES = {
    "Supervised Fine-Tuning": "sft",
    "Reward Modeling": "rm",
    "PPO": "ppo",
    "DPO": "dpo",
chenych's avatar
chenych committed
82
    "KTO": "kto",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
83
84
85
    "Pre-Training": "pt",
}

chenych's avatar
chenych committed
86
87
88
STAGES_USE_PAIR_DATA = {"rm", "dpo"}

SUPPORTED_CLASS_FOR_S2ATTN = {"llama"}
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
89

chenych's avatar
chenych committed
90
91
SWANLAB_CONFIG = "swanlab_public_config.json"

luopl's avatar
luopl committed
92
VIDEO_PLACEHOLDER = os.environ.get("VIDEO_PLACEHOLDER", "<video>")
luopl's avatar
luopl committed
93

Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
94
95
96
97
98
V_HEAD_WEIGHTS_NAME = "value_head.bin"

V_HEAD_SAFE_WEIGHTS_NAME = "value_head.safetensors"


chenych's avatar
chenych committed
99
100
101
102
103
104
105
106
107
108
class AttentionFunction(str, Enum):
    AUTO = "auto"
    DISABLED = "disabled"
    SDPA = "sdpa"
    FA2 = "fa2"


class EngineName(str, Enum):
    HF = "huggingface"
    VLLM = "vllm"
chenych's avatar
chenych committed
109
    SGLANG = "sglang"
chenych's avatar
chenych committed
110
111


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
112
113
114
class DownloadSource(str, Enum):
    DEFAULT = "hf"
    MODELSCOPE = "ms"
luopl's avatar
luopl committed
115
    OPENMIND = "om"
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
116
117


chenych's avatar
chenych committed
118
119
120
121
122
123
124
class RopeScaling(str, Enum):
    LINEAR = "linear"
    DYNAMIC = "dynamic"
    YARN = "yarn"
    LLAMA3 = "llama3"


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
125
def register_model_group(
chenych's avatar
chenych committed
126
    models: dict[str, dict[DownloadSource, str]],
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
127
    template: Optional[str] = None,
chenych's avatar
chenych committed
128
    multimodal: bool = False,
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
129
130
131
) -> None:
    for name, path in models.items():
        SUPPORTED_MODELS[name] = path
chenych's avatar
chenych committed
132
133
134
        if template is not None and (
            any(suffix in name for suffix in ("-Chat", "-Distill", "-Instruct")) or multimodal
        ):
luopl's avatar
luopl committed
135
            DEFAULT_TEMPLATE[name] = template
chenych's avatar
chenych committed
136
137
        if multimodal:
            MULTIMODAL_SUPPORTED_MODELS.add(name)
chenych's avatar
chenych committed
138
139
140
141
142
143
144
145
146
147
148
149
150


register_model_group(
    models={
        "Aya-23-8B-Chat": {
            DownloadSource.DEFAULT: "CohereForAI/aya-23-8B",
        },
        "Aya-23-35B-Chat": {
            DownloadSource.DEFAULT: "CohereForAI/aya-23-35B",
        },
    },
    template="cohere",
)
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180


register_model_group(
    models={
        "Baichuan-7B-Base": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan-7B",
            DownloadSource.MODELSCOPE: "baichuan-inc/baichuan-7B",
        },
        "Baichuan-13B-Base": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan-13B-Base",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan-13B-Base",
        },
        "Baichuan-13B-Chat": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan-13B-Chat",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan-13B-Chat",
        },
    },
    template="baichuan",
)


register_model_group(
    models={
        "Baichuan2-7B-Base": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan2-7B-Base",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan2-7B-Base",
        },
        "Baichuan2-13B-Base": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan2-13B-Base",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan2-13B-Base",
luopl's avatar
luopl committed
181
            DownloadSource.OPENMIND: "Baichuan/Baichuan2_13b_base_pt",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
182
183
184
185
        },
        "Baichuan2-7B-Chat": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan2-7B-Chat",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan2-7B-Chat",
luopl's avatar
luopl committed
186
            DownloadSource.OPENMIND: "Baichuan/Baichuan2_7b_chat_pt",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
187
188
189
190
        },
        "Baichuan2-13B-Chat": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan2-13B-Chat",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan2-13B-Chat",
luopl's avatar
luopl committed
191
            DownloadSource.OPENMIND: "Baichuan/Baichuan2_13b_chat_pt",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
        },
    },
    template="baichuan2",
)


register_model_group(
    models={
        "BLOOM-560M": {
            DownloadSource.DEFAULT: "bigscience/bloom-560m",
            DownloadSource.MODELSCOPE: "AI-ModelScope/bloom-560m",
        },
        "BLOOM-3B": {
            DownloadSource.DEFAULT: "bigscience/bloom-3b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/bloom-3b",
        },
        "BLOOM-7B1": {
            DownloadSource.DEFAULT: "bigscience/bloom-7b1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/bloom-7b1",
        },
    },
)


register_model_group(
    models={
        "BLOOMZ-560M": {
            DownloadSource.DEFAULT: "bigscience/bloomz-560m",
            DownloadSource.MODELSCOPE: "AI-ModelScope/bloomz-560m",
        },
        "BLOOMZ-3B": {
            DownloadSource.DEFAULT: "bigscience/bloomz-3b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/bloomz-3b",
        },
        "BLOOMZ-7B1-mt": {
            DownloadSource.DEFAULT: "bigscience/bloomz-7b1-mt",
            DownloadSource.MODELSCOPE: "AI-ModelScope/bloomz-7b1-mt",
        },
    },
)


register_model_group(
    models={
        "BlueLM-7B-Base": {
            DownloadSource.DEFAULT: "vivo-ai/BlueLM-7B-Base",
            DownloadSource.MODELSCOPE: "vivo-ai/BlueLM-7B-Base",
        },
        "BlueLM-7B-Chat": {
            DownloadSource.DEFAULT: "vivo-ai/BlueLM-7B-Chat",
            DownloadSource.MODELSCOPE: "vivo-ai/BlueLM-7B-Chat",
        },
    },
    template="bluelm",
)


register_model_group(
    models={
        "Breeze-7B": {
            DownloadSource.DEFAULT: "MediaTek-Research/Breeze-7B-Base-v1_0",
        },
luopl's avatar
luopl committed
254
        "Breeze-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
            DownloadSource.DEFAULT: "MediaTek-Research/Breeze-7B-Instruct-v1_0",
        },
    },
    template="breeze",
)


register_model_group(
    models={
        "ChatGLM2-6B-Chat": {
            DownloadSource.DEFAULT: "THUDM/chatglm2-6b",
            DownloadSource.MODELSCOPE: "ZhipuAI/chatglm2-6b",
        }
    },
    template="chatglm2",
)


register_model_group(
    models={
        "ChatGLM3-6B-Base": {
            DownloadSource.DEFAULT: "THUDM/chatglm3-6b-base",
            DownloadSource.MODELSCOPE: "ZhipuAI/chatglm3-6b-base",
        },
        "ChatGLM3-6B-Chat": {
            DownloadSource.DEFAULT: "THUDM/chatglm3-6b",
            DownloadSource.MODELSCOPE: "ZhipuAI/chatglm3-6b",
        },
    },
    template="chatglm3",
)


register_model_group(
    models={
luopl's avatar
luopl committed
290
        "Chinese-Llama-2-1.3B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
291
292
293
            DownloadSource.DEFAULT: "hfl/chinese-llama-2-1.3b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-llama-2-1.3b",
        },
luopl's avatar
luopl committed
294
        "Chinese-Llama-2-7B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
295
296
297
            DownloadSource.DEFAULT: "hfl/chinese-llama-2-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-llama-2-7b",
        },
luopl's avatar
luopl committed
298
        "Chinese-Llama-2-13B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
299
300
301
            DownloadSource.DEFAULT: "hfl/chinese-llama-2-13b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-llama-2-13b",
        },
luopl's avatar
luopl committed
302
        "Chinese-Alpaca-2-1.3B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
303
304
305
            DownloadSource.DEFAULT: "hfl/chinese-alpaca-2-1.3b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-alpaca-2-1.3b",
        },
luopl's avatar
luopl committed
306
        "Chinese-Alpaca-2-7B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
307
308
309
            DownloadSource.DEFAULT: "hfl/chinese-alpaca-2-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-alpaca-2-7b",
        },
luopl's avatar
luopl committed
310
        "Chinese-Alpaca-2-13B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
311
312
313
314
315
316
317
318
            DownloadSource.DEFAULT: "hfl/chinese-alpaca-2-13b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-alpaca-2-13b",
        },
    },
    template="llama2_zh",
)


chenych's avatar
chenych committed
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
register_model_group(
    models={
        "CodeGeeX4-9B-Chat": {
            DownloadSource.DEFAULT: "THUDM/codegeex4-all-9b",
            DownloadSource.MODELSCOPE: "ZhipuAI/codegeex4-all-9b",
        },
    },
    template="codegeex4",
)


register_model_group(
    models={
        "CodeGemma-7B": {
            DownloadSource.DEFAULT: "google/codegemma-7b",
        },
luopl's avatar
luopl committed
335
        "CodeGemma-7B-Instruct": {
chenych's avatar
chenych committed
336
337
338
339
340
341
            DownloadSource.DEFAULT: "google/codegemma-7b-it",
            DownloadSource.MODELSCOPE: "AI-ModelScope/codegemma-7b-it",
        },
        "CodeGemma-1.1-2B": {
            DownloadSource.DEFAULT: "google/codegemma-1.1-2b",
        },
luopl's avatar
luopl committed
342
        "CodeGemma-1.1-7B-Instruct": {
chenych's avatar
chenych committed
343
344
345
346
347
348
349
350
351
352
353
            DownloadSource.DEFAULT: "google/codegemma-1.1-7b-it",
        },
    },
    template="gemma",
)


register_model_group(
    models={
        "Codestral-22B-v0.1-Chat": {
            DownloadSource.DEFAULT: "mistralai/Codestral-22B-v0.1",
luopl's avatar
luopl committed
354
            DownloadSource.MODELSCOPE: "swift/Codestral-22B-v0.1",
chenych's avatar
chenych committed
355
356
357
358
359
360
        },
    },
    template="mistral",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
register_model_group(
    models={
        "CommandR-35B-Chat": {
            DownloadSource.DEFAULT: "CohereForAI/c4ai-command-r-v01",
            DownloadSource.MODELSCOPE: "AI-ModelScope/c4ai-command-r-v01",
        },
        "CommandR-Plus-104B-Chat": {
            DownloadSource.DEFAULT: "CohereForAI/c4ai-command-r-plus",
            DownloadSource.MODELSCOPE: "AI-ModelScope/c4ai-command-r-plus",
        },
        "CommandR-35B-4bit-Chat": {
            DownloadSource.DEFAULT: "CohereForAI/c4ai-command-r-v01-4bit",
            DownloadSource.MODELSCOPE: "mirror013/c4ai-command-r-v01-4bit",
        },
        "CommandR-Plus-104B-4bit-Chat": {
            DownloadSource.DEFAULT: "CohereForAI/c4ai-command-r-plus-4bit",
        },
    },
    template="cohere",
)


chenych's avatar
chenych committed
383
384
385
386
387
388
register_model_group(
    models={
        "DBRX-132B-Base": {
            DownloadSource.DEFAULT: "databricks/dbrx-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/dbrx-base",
        },
luopl's avatar
luopl committed
389
        "DBRX-132B-Instruct": {
chenych's avatar
chenych committed
390
391
392
393
394
395
396
397
            DownloadSource.DEFAULT: "databricks/dbrx-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/dbrx-instruct",
        },
    },
    template="dbrx",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
register_model_group(
    models={
        "DeepSeek-LLM-7B-Base": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-llm-7b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-llm-7b-base",
        },
        "DeepSeek-LLM-67B-Base": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-llm-67b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-llm-67b-base",
        },
        "DeepSeek-LLM-7B-Chat": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-llm-7b-chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-llm-7b-chat",
        },
        "DeepSeek-LLM-67B-Chat": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-llm-67b-chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-llm-67b-chat",
        },
        "DeepSeek-Math-7B-Base": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-math-7b-base",
chenych's avatar
chenych committed
418
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-math-7b-base",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
419
        },
luopl's avatar
luopl committed
420
        "DeepSeek-Math-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
421
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-math-7b-instruct",
chenych's avatar
chenych committed
422
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-math-7b-instruct",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
423
424
425
426
427
        },
        "DeepSeek-MoE-16B-Base": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-moe-16b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-moe-16b-base",
        },
luopl's avatar
luopl committed
428
429
430
431
432
        "DeepSeek-MoE-16B-Chat": {
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-moe-16b-chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-moe-16b-chat",
        },
        "DeepSeek-V2-16B-Base": {
chenych's avatar
chenych committed
433
434
435
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Lite",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Lite",
        },
luopl's avatar
luopl committed
436
        "DeepSeek-V2-236B-Base": {
chenych's avatar
chenych committed
437
438
439
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2",
        },
luopl's avatar
luopl committed
440
        "DeepSeek-V2-16B-Chat": {
chenych's avatar
chenych committed
441
442
443
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Lite-Chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Lite-Chat",
        },
luopl's avatar
luopl committed
444
        "DeepSeek-V2-236B-Chat": {
chenych's avatar
chenych committed
445
446
447
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Chat",
        },
luopl's avatar
luopl committed
448
        "DeepSeek-Coder-V2-16B-Base": {
chenych's avatar
chenych committed
449
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Lite-Base",
luopl's avatar
luopl committed
450
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Lite-Base",
chenych's avatar
chenych committed
451
        },
luopl's avatar
luopl committed
452
        "DeepSeek-Coder-V2-236B-Base": {
chenych's avatar
chenych committed
453
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Base",
luopl's avatar
luopl committed
454
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Base",
chenych's avatar
chenych committed
455
        },
luopl's avatar
luopl committed
456
        "DeepSeek-Coder-V2-16B-Instruct": {
chenych's avatar
chenych committed
457
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
luopl's avatar
luopl committed
458
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
chenych's avatar
chenych committed
459
        },
luopl's avatar
luopl committed
460
        "DeepSeek-Coder-V2-236B-Instruct": {
chenych's avatar
chenych committed
461
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Instruct",
luopl's avatar
luopl committed
462
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Instruct",
chenych's avatar
chenych committed
463
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
464
465
466
467
468
469
470
    },
    template="deepseek",
)


register_model_group(
    models={
luopl's avatar
luopl committed
471
        "DeepSeek-Coder-6.7B-Base": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
472
473
474
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-6.7b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-6.7b-base",
        },
luopl's avatar
luopl committed
475
        "DeepSeek-Coder-7B-Base": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
476
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-7b-base-v1.5",
luopl's avatar
luopl committed
477
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-7b-base-v1.5",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
478
        },
luopl's avatar
luopl committed
479
        "DeepSeek-Coder-33B-Base": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
480
481
482
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-33b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-33b-base",
        },
luopl's avatar
luopl committed
483
        "DeepSeek-Coder-6.7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
484
485
486
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-6.7b-instruct",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-6.7b-instruct",
        },
luopl's avatar
luopl committed
487
        "DeepSeek-Coder-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
488
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
luopl's avatar
luopl committed
489
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
490
        },
luopl's avatar
luopl committed
491
        "DeepSeek-Coder-33B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
492
493
494
495
496
497
498
499
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-33b-instruct",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-33b-instruct",
        },
    },
    template="deepseekcoder",
)


luopl's avatar
luopl committed
500
501
502
503
504
505
506
507
508
509
510
511
512
513
register_model_group(
    models={
        "DeepSeek-V2-236B-Chat-0628": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Chat-0628",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Chat-0628",
        },
        "DeepSeek-V2.5-236B-Chat": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2.5",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2.5",
        },
        "DeepSeek-V2.5-236B-Chat-1210": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2.5-1210",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2.5-1210",
        },
chenych's avatar
chenych committed
514
        "DeepSeek-V3-671B-Base": {
luopl's avatar
luopl committed
515
516
517
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V3-Base",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V3-Base",
        },
chenych's avatar
chenych committed
518
        "DeepSeek-V3-671B-Chat": {
luopl's avatar
luopl committed
519
520
521
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V3",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V3",
        },
chenych's avatar
chenych committed
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
        "DeepSeek-R1-1.5B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
        },
        "DeepSeek-R1-7B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
        },
        "DeepSeek-R1-8B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Distill-Llama-8B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Distill-Llama-8B",
        },
        "DeepSeek-R1-14B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
        },
        "DeepSeek-R1-32B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
        },
        "DeepSeek-R1-70B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
        },
        "DeepSeek-R1-671B-Chat-Zero": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-Zero",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-Zero",
        },
        "DeepSeek-R1-671B-Chat": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1",
        },
luopl's avatar
luopl committed
554
555
556
557
558
    },
    template="deepseek3",
)


luopl's avatar
luopl committed
559
560
561
562
563
564
565
566
567
568
register_model_group(
    models={
        "EXAONE-3.0-7.8B-Instruct": {
            DownloadSource.DEFAULT: "LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct",
        },
    },
    template="exaone",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
569
570
571
572
573
574
register_model_group(
    models={
        "Falcon-7B": {
            DownloadSource.DEFAULT: "tiiuae/falcon-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/falcon-7b",
        },
chenych's avatar
chenych committed
575
576
        "Falcon-11B": {
            DownloadSource.DEFAULT: "tiiuae/falcon-11B",
luopl's avatar
luopl committed
577
            DownloadSource.MODELSCOPE: "tiiuae/falcon-11B",
chenych's avatar
chenych committed
578
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
579
580
581
582
583
584
585
586
        "Falcon-40B": {
            DownloadSource.DEFAULT: "tiiuae/falcon-40b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/falcon-40b",
        },
        "Falcon-180B": {
            DownloadSource.DEFAULT: "tiiuae/falcon-180b",
            DownloadSource.MODELSCOPE: "modelscope/falcon-180B",
        },
luopl's avatar
luopl committed
587
        "Falcon-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
588
589
590
            DownloadSource.DEFAULT: "tiiuae/falcon-7b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/falcon-7b-instruct",
        },
luopl's avatar
luopl committed
591
        "Falcon-40B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
            DownloadSource.DEFAULT: "tiiuae/falcon-40b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/falcon-40b-instruct",
        },
        "Falcon-180B-Chat": {
            DownloadSource.DEFAULT: "tiiuae/falcon-180b-chat",
            DownloadSource.MODELSCOPE: "modelscope/falcon-180B-chat",
        },
    },
    template="falcon",
)


register_model_group(
    models={
        "Gemma-2B": {
            DownloadSource.DEFAULT: "google/gemma-2b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gemma-2b",
        },
        "Gemma-7B": {
            DownloadSource.DEFAULT: "google/gemma-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gemma-2b-it",
        },
luopl's avatar
luopl committed
614
        "Gemma-2B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
615
616
617
            DownloadSource.DEFAULT: "google/gemma-2b-it",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gemma-7b",
        },
luopl's avatar
luopl committed
618
        "Gemma-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
619
620
621
            DownloadSource.DEFAULT: "google/gemma-7b-it",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gemma-7b-it",
        },
luopl's avatar
luopl committed
622
        "Gemma-1.1-2B-Instruct": {
chenych's avatar
chenych committed
623
624
            DownloadSource.DEFAULT: "google/gemma-1.1-2b-it",
        },
luopl's avatar
luopl committed
625
        "Gemma-1.1-7B-Instruct": {
chenych's avatar
chenych committed
626
627
628
629
630
631
632
633
634
635
636
637
638
639
            DownloadSource.DEFAULT: "google/gemma-1.1-7b-it",
        },
        "Gemma-2-2B": {
            DownloadSource.DEFAULT: "google/gemma-2-2b",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-2b",
        },
        "Gemma-2-9B": {
            DownloadSource.DEFAULT: "google/gemma-2-9b",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-9b",
        },
        "Gemma-2-27B": {
            DownloadSource.DEFAULT: "google/gemma-2-27b",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-27b",
        },
luopl's avatar
luopl committed
640
        "Gemma-2-2B-Instruct": {
chenych's avatar
chenych committed
641
642
            DownloadSource.DEFAULT: "google/gemma-2-2b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-2b-it",
luopl's avatar
luopl committed
643
            DownloadSource.OPENMIND: "LlamaFactory/gemma-2-2b-it",
chenych's avatar
chenych committed
644
        },
luopl's avatar
luopl committed
645
        "Gemma-2-9B-Instruct": {
chenych's avatar
chenych committed
646
647
            DownloadSource.DEFAULT: "google/gemma-2-9b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-9b-it",
luopl's avatar
luopl committed
648
            DownloadSource.OPENMIND: "LlamaFactory/gemma-2-9b-it",
chenych's avatar
chenych committed
649
        },
luopl's avatar
luopl committed
650
        "Gemma-2-27B-Instruct": {
chenych's avatar
chenych committed
651
652
653
            DownloadSource.DEFAULT: "google/gemma-2-27b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-27b-it",
        },
chenych's avatar
chenych committed
654
655
656
657
658
659
660
661
        "Gemma-3-1B": {
            DownloadSource.DEFAULT: "google/gemma-3-1b-pt",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-1b-pt",
        },
        "Gemma-3-1B-Instruct": {
            DownloadSource.DEFAULT: "google/gemma-3-1b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-1b-it",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
662
663
664
665
666
    },
    template="gemma",
)


chenych's avatar
chenych committed
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
register_model_group(
    models={
        "Gemma-3-4B": {
            DownloadSource.DEFAULT: "google/gemma-3-4b-pt",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-4b-pt",
        },
        "Gemma-3-12B": {
            DownloadSource.DEFAULT: "google/gemma-3-12b-pt",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-12b-pt",
        },
        "Gemma-3-27B": {
            DownloadSource.DEFAULT: "google/gemma-3-27b-pt",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-27b-pt",
        },
        "Gemma-3-4B-Instruct": {
            DownloadSource.DEFAULT: "google/gemma-3-4b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-4b-it",
        },
        "Gemma-3-12B-Instruct": {
            DownloadSource.DEFAULT: "google/gemma-3-12b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-12b-it",
        },
        "Gemma-3-27B-Instruct": {
            DownloadSource.DEFAULT: "google/gemma-3-27b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-27b-it",
        },
    },
    template="gemma3",
    multimodal=True,
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
699
700
register_model_group(
    models={
chenych's avatar
chenych committed
701
702
703
        "GLM-4-9B": {
            DownloadSource.DEFAULT: "THUDM/glm-4-9b",
            DownloadSource.MODELSCOPE: "ZhipuAI/glm-4-9b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
704
        },
chenych's avatar
chenych committed
705
706
707
        "GLM-4-9B-Chat": {
            DownloadSource.DEFAULT: "THUDM/glm-4-9b-chat",
            DownloadSource.MODELSCOPE: "ZhipuAI/glm-4-9b-chat",
luopl's avatar
luopl committed
708
            DownloadSource.OPENMIND: "LlamaFactory/glm-4-9b-chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
709
        },
chenych's avatar
chenych committed
710
711
712
        "GLM-4-9B-1M-Chat": {
            DownloadSource.DEFAULT: "THUDM/glm-4-9b-chat-1m",
            DownloadSource.MODELSCOPE: "ZhipuAI/glm-4-9b-chat-1m",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
713
714
        },
    },
chenych's avatar
chenych committed
715
    template="glm4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
716
717
718
)


luopl's avatar
luopl committed
719
720
register_model_group(
    models={
luopl's avatar
luopl committed
721
722
723
        "GPT-2-Small": {
            DownloadSource.DEFAULT: "openai-community/gpt2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gpt2",
luopl's avatar
luopl committed
724
        },
luopl's avatar
luopl committed
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
        "GPT-2-Medium": {
            DownloadSource.DEFAULT: "openai-community/gpt2-medium",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gpt2-medium",
        },
        "GPT-2-Large": {
            DownloadSource.DEFAULT: "openai-community/gpt2-large",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gpt2-large",
        },
        "GPT-2-XL": {
            DownloadSource.DEFAULT: "openai-community/gpt2-xl",
            DownloadSource.MODELSCOPE: "goodbai95/GPT2-xl",
        },
    },
)


register_model_group(
    models={
        "Granite-3.0-1B-A400M-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-1b-a400m-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-1b-a400m-base",
        },
        "Granite-3.0-3B-A800M-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-3b-a800m-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-3b-a800m-base",
        },
        "Granite-3.0-2B-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-2b-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-2b-base",
        },
        "Granite-3.0-8B-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-8b-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-8b-base",
        },
        "Granite-3.0-1B-A400M-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-1b-a400m-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-1b-a400m-instruct",
        },
        "Granite-3.0-3B-A800M-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-3b-a800m-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-3b-a800m-instruct",
        },
        "Granite-3.0-2B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-2b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-2b-instruct",
luopl's avatar
luopl committed
770
        },
luopl's avatar
luopl committed
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
        "Granite-3.0-8B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.0-8b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.0-8b-instruct",
        },
        "Granite-3.1-1B-A400M-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-1b-a400m-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-1b-a400m-base",
        },
        "Granite-3.1-3B-A800M-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-3b-a800m-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-3b-a800m-base",
        },
        "Granite-3.1-2B-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-2b-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-2b-base",
        },
        "Granite-3.1-8B-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-8b-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-8b-base",
        },
        "Granite-3.1-1B-A400M-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-1b-a400m-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-1b-a400m-instruct",
        },
        "Granite-3.1-3B-A800M-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-3b-a800m-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-3b-a800m-instruct",
        },
        "Granite-3.1-2B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-2b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-2b-instruct",
        },
        "Granite-3.1-8B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.1-8b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.1-8b-instruct",
        },
    },
    template="granite3",
)


chenych's avatar
chenych committed
812
813
814
815
816
817
818
819
820
821
822
register_model_group(
    models={
        "Hunyuan-7B-Instruct": {
            DownloadSource.DEFAULT: "tencent/Hunyuan-7B-Instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Hunyuan-7B-Instruct",
        },
    },
    template="hunyuan",
)


luopl's avatar
luopl committed
823
824
register_model_group(
    models={
luopl's avatar
luopl committed
825
826
827
828
829
830
831
832
        "Index-1.9B-Base": {
            DownloadSource.DEFAULT: "IndexTeam/Index-1.9B",
            DownloadSource.MODELSCOPE: "IndexTeam/Index-1.9B",
        },
        "Index-1.9B-Base-Pure": {
            DownloadSource.DEFAULT: "IndexTeam/Index-1.9B-Pure",
            DownloadSource.MODELSCOPE: "IndexTeam/Index-1.9B-Pure",
        },
luopl's avatar
luopl committed
833
834
835
836
837
838
839
840
        "Index-1.9B-Chat": {
            DownloadSource.DEFAULT: "IndexTeam/Index-1.9B-Chat",
            DownloadSource.MODELSCOPE: "IndexTeam/Index-1.9B-Chat",
        },
        "Index-1.9B-Character-Chat": {
            DownloadSource.DEFAULT: "IndexTeam/Index-1.9B-Character",
            DownloadSource.MODELSCOPE: "IndexTeam/Index-1.9B-Character",
        },
luopl's avatar
luopl committed
841
842
843
844
845
846
847
848
849
        "Index-1.9B-Chat-32K": {
            DownloadSource.DEFAULT: "IndexTeam/Index-1.9B-32K",
            DownloadSource.MODELSCOPE: "IndexTeam/Index-1.9B-32K",
        },
    },
    template="index",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
register_model_group(
    models={
        "InternLM-7B": {
            DownloadSource.DEFAULT: "internlm/internlm-7b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm-7b",
        },
        "InternLM-20B": {
            DownloadSource.DEFAULT: "internlm/internlm-20b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm-20b",
        },
        "InternLM-7B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm-chat-7b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm-chat-7b",
        },
        "InternLM-20B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm-chat-20b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm-chat-20b",
        },
    },
    template="intern",
)


register_model_group(
    models={
        "InternLM2-7B": {
            DownloadSource.DEFAULT: "internlm/internlm2-7b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2-7b",
        },
        "InternLM2-20B": {
            DownloadSource.DEFAULT: "internlm/internlm2-20b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2-20b",
        },
        "InternLM2-7B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm2-chat-7b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2-chat-7b",
        },
        "InternLM2-20B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm2-chat-20b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2-chat-20b",
        },
luopl's avatar
luopl committed
891
892
893
        "InternLM2.5-1.8B": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-1_8b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-1_8b",
luopl's avatar
luopl committed
894
            DownloadSource.OPENMIND: "Intern/internlm2_5-1_8b",
luopl's avatar
luopl committed
895
        },
chenych's avatar
chenych committed
896
897
898
899
        "InternLM2.5-7B": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-7b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-7b",
        },
luopl's avatar
luopl committed
900
901
902
        "InternLM2.5-20B": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-20b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-20b",
luopl's avatar
luopl committed
903
            DownloadSource.OPENMIND: "Intern/internlm2_5-20b",
luopl's avatar
luopl committed
904
905
906
907
        },
        "InternLM2.5-1.8B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-1_8b-chat",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-1_8b-chat",
luopl's avatar
luopl committed
908
            DownloadSource.OPENMIND: "Intern/internlm2_5-1_8b-chat",
luopl's avatar
luopl committed
909
        },
chenych's avatar
chenych committed
910
911
912
        "InternLM2.5-7B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-7b-chat",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-7b-chat",
luopl's avatar
luopl committed
913
            DownloadSource.OPENMIND: "Intern/internlm2_5-7b-chat",
chenych's avatar
chenych committed
914
915
916
917
        },
        "InternLM2.5-7B-1M-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-7b-chat-1m",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-7b-chat-1m",
luopl's avatar
luopl committed
918
            DownloadSource.OPENMIND: "Intern/internlm2_5-7b-chat-1m",
chenych's avatar
chenych committed
919
        },
luopl's avatar
luopl committed
920
921
922
        "InternLM2.5-20B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-20b-chat",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-20b-chat",
luopl's avatar
luopl committed
923
            DownloadSource.OPENMIND: "Intern/internlm2_5-20b-chat",
luopl's avatar
luopl committed
924
        },
luopl's avatar
luopl committed
925
926
927
928
929
        "InternLM3-8B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm3-8b-instruct",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm3-8b-instruct",
        },
    },
chenych's avatar
chenych committed
930
    template="intern2",
luopl's avatar
luopl committed
931
)
chenych's avatar
chenych committed
932

chenych's avatar
chenych committed
933

chenych's avatar
chenych committed
934
935
936
937
938
939
940
941
942
943
register_model_group(
    models={
        "Jamba-v0.1": {
            DownloadSource.DEFAULT: "ai21labs/Jamba-v0.1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Jamba-v0.1",
        }
    },
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
944
945
946
947
948
949
950
951
952
953
954
955
register_model_group(
    models={
        "LingoWhale-8B": {
            DownloadSource.DEFAULT: "deeplang-ai/LingoWhale-8B",
            DownloadSource.MODELSCOPE: "DeepLang/LingoWhale-8B",
        }
    },
)


register_model_group(
    models={
luopl's avatar
luopl committed
956
        "Llama-7B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
957
958
959
            DownloadSource.DEFAULT: "huggyllama/llama-7b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-7b",
        },
luopl's avatar
luopl committed
960
        "Llama-13B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
961
962
963
            DownloadSource.DEFAULT: "huggyllama/llama-13b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-13b",
        },
luopl's avatar
luopl committed
964
        "Llama-30B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
965
966
967
            DownloadSource.DEFAULT: "huggyllama/llama-30b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-30b",
        },
luopl's avatar
luopl committed
968
        "Llama-65B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
969
970
971
972
973
974
975
976
977
            DownloadSource.DEFAULT: "huggyllama/llama-65b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-65b",
        },
    }
)


register_model_group(
    models={
luopl's avatar
luopl committed
978
        "Llama-2-7B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
979
980
981
            DownloadSource.DEFAULT: "meta-llama/Llama-2-7b-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-7b-ms",
        },
luopl's avatar
luopl committed
982
        "Llama-2-13B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
983
984
985
            DownloadSource.DEFAULT: "meta-llama/Llama-2-13b-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-13b-ms",
        },
luopl's avatar
luopl committed
986
        "Llama-2-70B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
987
988
989
            DownloadSource.DEFAULT: "meta-llama/Llama-2-70b-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-70b-ms",
        },
luopl's avatar
luopl committed
990
        "Llama-2-7B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
991
992
993
            DownloadSource.DEFAULT: "meta-llama/Llama-2-7b-chat-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-7b-chat-ms",
        },
luopl's avatar
luopl committed
994
        "Llama-2-13B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
995
996
997
            DownloadSource.DEFAULT: "meta-llama/Llama-2-13b-chat-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-13b-chat-ms",
        },
luopl's avatar
luopl committed
998
        "Llama-2-70B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
            DownloadSource.DEFAULT: "meta-llama/Llama-2-70b-chat-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-70b-chat-ms",
        },
    },
    template="llama2",
)


register_model_group(
    models={
luopl's avatar
luopl committed
1009
        "Llama-3-8B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1010
1011
1012
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-8B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-8B",
        },
luopl's avatar
luopl committed
1013
        "Llama-3-70B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1014
1015
1016
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-70B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-70B",
        },
luopl's avatar
luopl committed
1017
        "Llama-3-8B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1018
1019
1020
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-8B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-8B-Instruct",
        },
luopl's avatar
luopl committed
1021
        "Llama-3-70B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1022
1023
1024
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-70B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-70B-Instruct",
        },
luopl's avatar
luopl committed
1025
        "Llama-3-8B-Chinese-Chat": {
chenych's avatar
chenych committed
1026
1027
            DownloadSource.DEFAULT: "shenzhi-wang/Llama3-8B-Chinese-Chat",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama3-8B-Chinese-Chat",
luopl's avatar
luopl committed
1028
            DownloadSource.OPENMIND: "LlamaFactory/Llama3-Chinese-8B-Instruct",
chenych's avatar
chenych committed
1029
        },
luopl's avatar
luopl committed
1030
        "Llama-3-70B-Chinese-Chat": {
chenych's avatar
chenych committed
1031
1032
            DownloadSource.DEFAULT: "shenzhi-wang/Llama3-70B-Chinese-Chat",
        },
luopl's avatar
luopl committed
1033
        "Llama-3.1-8B": {
chenych's avatar
chenych committed
1034
1035
1036
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-8B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-8B",
        },
luopl's avatar
luopl committed
1037
        "Llama-3.1-70B": {
chenych's avatar
chenych committed
1038
1039
1040
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-70B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-70B",
        },
luopl's avatar
luopl committed
1041
        "Llama-3.1-405B": {
chenych's avatar
chenych committed
1042
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-405B",
luopl's avatar
luopl committed
1043
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-405B",
chenych's avatar
chenych committed
1044
        },
luopl's avatar
luopl committed
1045
        "Llama-3.1-8B-Instruct": {
chenych's avatar
chenych committed
1046
1047
1048
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-8B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-8B-Instruct",
        },
luopl's avatar
luopl committed
1049
        "Llama-3.1-70B-Instruct": {
chenych's avatar
chenych committed
1050
1051
1052
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-70B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-70B-Instruct",
        },
luopl's avatar
luopl committed
1053
        "Llama-3.1-405B-Instruct": {
chenych's avatar
chenych committed
1054
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-405B-Instruct",
luopl's avatar
luopl committed
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-405B-Instruct",
        },
        "Llama-3.1-8B-Chinese-Chat": {
            DownloadSource.DEFAULT: "shenzhi-wang/Llama3.1-8B-Chinese-Chat",
            DownloadSource.MODELSCOPE: "XD_AI/Llama3.1-8B-Chinese-Chat",
        },
        "Llama-3.1-70B-Chinese-Chat": {
            DownloadSource.DEFAULT: "shenzhi-wang/Llama3.1-70B-Chinese-Chat",
            DownloadSource.MODELSCOPE: "XD_AI/Llama3.1-70B-Chinese-Chat",
        },
        "Llama-3.2-1B": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-1B",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-1B",
        },
        "Llama-3.2-3B": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-3B",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-3B",
        },
        "Llama-3.2-1B-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-1B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-1B-Instruct",
        },
        "Llama-3.2-3B-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-3B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-3B-Instruct",
chenych's avatar
chenych committed
1080
        },
luopl's avatar
luopl committed
1081
1082
1083
1084
        "Llama-3.3-70B-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.3-70B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.3-70B-Instruct",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1085
1086
1087
1088
1089
    },
    template="llama3",
)


luopl's avatar
luopl committed
1090
1091
register_model_group(
    models={
luopl's avatar
luopl committed
1092
1093
1094
1095
        "Llama-3.2-11B-Vision": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-11B-Vision",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-11B-Vision",
        },
luopl's avatar
luopl committed
1096
1097
1098
1099
        "Llama-3.2-11B-Vision-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-11B-Vision-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-11B-Vision-Instruct",
        },
luopl's avatar
luopl committed
1100
1101
1102
1103
        "Llama-3.2-90B-Vision": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-90B-Vision",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-90B-Vision",
        },
luopl's avatar
luopl committed
1104
1105
1106
1107
1108
1109
        "Llama-3.2-90B-Vision-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-3.2-90B-Vision-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-3.2-90B-Vision-Instruct",
        },
    },
    template="mllama",
chenych's avatar
chenych committed
1110
    multimodal=True,
luopl's avatar
luopl committed
1111
1112
1113
)


chenych's avatar
chenych committed
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
register_model_group(
    models={
        "Llama-4-Scout-17B-16E": {
            DownloadSource.DEFAULT: "meta-llama/Llama-4-Scout-17B-16E",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-4-Scout-17B-16E",
        },
        "Llama-4-Scout-17B-16E-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-4-Scout-17B-16E-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-4-Scout-17B-16E-Instruct",
        },
        "Llama-4-Maverick-17B-128E": {
            DownloadSource.DEFAULT: "meta-llama/Llama-4-Maverick-17B-128E",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-4-Maverick-17B-128E",
        },
        "Llama-4-Maverick-17B-128E-Instruct": {
            DownloadSource.DEFAULT: "meta-llama/Llama-4-Maverick-17B-128E-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama-4-Maverick-17B-128E-Instruct",
        },
    },
    template="llama4",
    multimodal=True,
)


chenych's avatar
chenych committed
1138
1139
register_model_group(
    models={
luopl's avatar
luopl committed
1140
        "LLaVA-1.5-7B-Chat": {
chenych's avatar
chenych committed
1141
            DownloadSource.DEFAULT: "llava-hf/llava-1.5-7b-hf",
luopl's avatar
luopl committed
1142
            DownloadSource.MODELSCOPE: "swift/llava-1.5-7b-hf",
chenych's avatar
chenych committed
1143
        },
luopl's avatar
luopl committed
1144
        "LLaVA-1.5-13B-Chat": {
chenych's avatar
chenych committed
1145
            DownloadSource.DEFAULT: "llava-hf/llava-1.5-13b-hf",
luopl's avatar
luopl committed
1146
            DownloadSource.MODELSCOPE: "swift/llava-1.5-13b-hf",
chenych's avatar
chenych committed
1147
1148
        },
    },
luopl's avatar
luopl committed
1149
    template="llava",
chenych's avatar
chenych committed
1150
    multimodal=True,
luopl's avatar
luopl committed
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
)


register_model_group(
    models={
        "LLaVA-NeXT-7B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llava-v1.6-vicuna-7b-hf",
            DownloadSource.MODELSCOPE: "swift/llava-v1.6-vicuna-7b-hf",
        },
        "LLaVA-NeXT-13B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llava-v1.6-vicuna-13b-hf",
            DownloadSource.MODELSCOPE: "swift/llava-v1.6-vicuna-13b-hf",
        },
    },
    template="llava_next",
chenych's avatar
chenych committed
1166
    multimodal=True,
luopl's avatar
luopl committed
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
)


register_model_group(
    models={
        "LLaVA-NeXT-Mistral-7B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llava-v1.6-mistral-7b-hf",
            DownloadSource.MODELSCOPE: "swift/llava-v1.6-mistral-7b-hf",
        },
    },
    template="llava_next_mistral",
chenych's avatar
chenych committed
1178
    multimodal=True,
luopl's avatar
luopl committed
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
)


register_model_group(
    models={
        "LLaVA-NeXT-Llama3-8B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llama3-llava-next-8b-hf",
            DownloadSource.MODELSCOPE: "swift/llama3-llava-next-8b-hf",
        },
    },
    template="llava_next_llama3",
chenych's avatar
chenych committed
1190
    multimodal=True,
luopl's avatar
luopl committed
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
)


register_model_group(
    models={
        "LLaVA-NeXT-34B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llava-v1.6-34b-hf",
            DownloadSource.MODELSCOPE: "LLM-Research/llava-v1.6-34b-hf",
        },
    },
    template="llava_next_yi",
chenych's avatar
chenych committed
1202
    multimodal=True,
luopl's avatar
luopl committed
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
)


register_model_group(
    models={
        "LLaVA-NeXT-72B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llava-next-72b-hf",
            DownloadSource.MODELSCOPE: "AI-ModelScope/llava-next-72b-hf",
        },
        "LLaVA-NeXT-110B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/llava-next-110b-hf",
            DownloadSource.MODELSCOPE: "AI-ModelScope/llava-next-110b-hf",
        },
    },
    template="llava_next_qwen",
chenych's avatar
chenych committed
1218
    multimodal=True,
luopl's avatar
luopl committed
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
)


register_model_group(
    models={
        "LLaVA-NeXT-Video-7B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/LLaVA-NeXT-Video-7B-hf",
            DownloadSource.MODELSCOPE: "swift/LLaVA-NeXT-Video-7B-hf",
        },
        "LLaVA-NeXT-Video-7B-DPO-Chat": {
            DownloadSource.DEFAULT: "llava-hf/LLaVA-NeXT-Video-7B-DPO-hf",
            DownloadSource.MODELSCOPE: "swift/LLaVA-NeXT-Video-7B-DPO-hf",
        },
    },
    template="llava_next_video",
chenych's avatar
chenych committed
1234
    multimodal=True,
luopl's avatar
luopl committed
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
)


register_model_group(
    models={
        "LLaVA-NeXT-Video-7B-32k-Chat": {
            DownloadSource.DEFAULT: "llava-hf/LLaVA-NeXT-Video-7B-32K-hf",
            DownloadSource.MODELSCOPE: "swift/LLaVA-NeXT-Video-7B-32K-hf",
        },
    },
    template="llava_next_video_mistral",
chenych's avatar
chenych committed
1246
    multimodal=True,
luopl's avatar
luopl committed
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
)


register_model_group(
    models={
        "LLaVA-NeXT-Video-34B-Chat": {
            DownloadSource.DEFAULT: "llava-hf/LLaVA-NeXT-Video-34B-hf",
            DownloadSource.MODELSCOPE: "swift/LLaVA-NeXT-Video-34B-hf",
        },
        "LLaVA-NeXT-Video-34B-DPO-Chat": {
            DownloadSource.DEFAULT: "llava-hf/LLaVA-NeXT-Video-34B-DPO-hf",
        },
    },
    template="llava_next_video_yi",
chenych's avatar
chenych committed
1261
    multimodal=True,
chenych's avatar
chenych committed
1262
1263
1264
)


luopl's avatar
luopl committed
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
register_model_group(
    models={
        "Marco-o1-Chat": {
            DownloadSource.DEFAULT: "AIDC-AI/Marco-o1",
            DownloadSource.MODELSCOPE: "AIDC-AI/Marco-o1",
        },
    },
    template="marco",
)


chenych's avatar
chenych committed
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
register_model_group(
    models={
        "MiniCPM-2B-SFT-Chat": {
            DownloadSource.DEFAULT: "openbmb/MiniCPM-2B-sft-bf16",
            DownloadSource.MODELSCOPE: "OpenBMB/miniCPM-bf16",
        },
        "MiniCPM-2B-DPO-Chat": {
            DownloadSource.DEFAULT: "openbmb/MiniCPM-2B-dpo-bf16",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-2B-dpo-bf16",
        },
    },
    template="cpm",
)


luopl's avatar
luopl committed
1291
1292
1293
1294
1295
register_model_group(
    models={
        "MiniCPM3-4B-Chat": {
            DownloadSource.DEFAULT: "openbmb/MiniCPM3-4B",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM3-4B",
luopl's avatar
luopl committed
1296
            DownloadSource.OPENMIND: "LlamaFactory/MiniCPM3-4B",
luopl's avatar
luopl committed
1297
1298
1299
1300
1301
1302
        },
    },
    template="cpm3",
)


luopl's avatar
luopl committed
1303
1304
register_model_group(
    models={
chenych's avatar
chenych committed
1305
        "MiniCPM-o-2_6": {
luopl's avatar
luopl committed
1306
1307
1308
1309
            DownloadSource.DEFAULT: "openbmb/MiniCPM-o-2_6",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-o-2_6",
        },
    },
chenych's avatar
chenych committed
1310
1311
    template="minicpm_o",
    multimodal=True,
luopl's avatar
luopl committed
1312
1313
1314
1315
1316
)


register_model_group(
    models={
chenych's avatar
chenych committed
1317
        "MiniCPM-V-2_6": {
luopl's avatar
luopl committed
1318
1319
1320
1321
1322
            DownloadSource.DEFAULT: "openbmb/MiniCPM-V-2_6",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-V-2_6",
        },
    },
    template="minicpm_v",
chenych's avatar
chenych committed
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
    multimodal=True,
)


register_model_group(
    models={
        "Ministral-8B-Instruct-2410": {
            DownloadSource.DEFAULT: "mistralai/Ministral-8B-Instruct-2410",
            DownloadSource.MODELSCOPE: "mistralai/Ministral-8B-Instruct-2410",
        },
        "Mistral-Nemo-Base-2407": {
            DownloadSource.DEFAULT: "mistralai/Mistral-Nemo-Base-2407",
            DownloadSource.MODELSCOPE: "LLM-Research/Mistral-Nemo-Base-2407",
        },
        "Mistral-Nemo-Instruct-2407": {
            DownloadSource.DEFAULT: "mistralai/Mistral-Nemo-Instruct-2407",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-Nemo-Instruct-2407",
        },
    },
    template="ministral",
luopl's avatar
luopl committed
1343
1344
1345
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
register_model_group(
    models={
        "Mistral-7B-v0.1": {
            DownloadSource.DEFAULT: "mistralai/Mistral-7B-v0.1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-7B-v0.1",
        },
        "Mistral-7B-v0.2": {
            DownloadSource.DEFAULT: "alpindale/Mistral-7B-v0.2-hf",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-7B-v0.2-hf",
        },
chenych's avatar
chenych committed
1356
1357
1358
1359
1360
1361
1362
1363
        "Mistral-7B-v0.3": {
            DownloadSource.DEFAULT: "mistralai/Mistral-7B-v0.3",
            DownloadSource.MODELSCOPE: "LLM-Research/mistral-7b-v0.3",
        },
        "Mistral-7B-Instruct-v0.1": {
            DownloadSource.DEFAULT: "mistralai/Mistral-7B-Instruct-v0.1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-7B-Instruct-v0.1",
        },
luopl's avatar
luopl committed
1364
        "Mistral-7B-Instruct-v0.2": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1365
1366
1367
            DownloadSource.DEFAULT: "mistralai/Mistral-7B-Instruct-v0.2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-7B-Instruct-v0.2",
        },
luopl's avatar
luopl committed
1368
        "Mistral-7B-Instruct-v0.3": {
chenych's avatar
chenych committed
1369
1370
1371
            DownloadSource.DEFAULT: "mistralai/Mistral-7B-Instruct-v0.3",
            DownloadSource.MODELSCOPE: "LLM-Research/Mistral-7B-Instruct-v0.3",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1372
1373
1374
1375
1376
    },
    template="mistral",
)


chenych's avatar
chenych committed
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
register_model_group(
    models={
        "Mistral-Small-24B-Base-2501": {
            DownloadSource.DEFAULT: "mistralai/Mistral-Small-24B-Base-2501",
            DownloadSource.MODELSCOPE: "mistralai/Mistral-Small-24B-Base-2501",
        },
        "Mistral-Small-24B-Instruct-2501": {
            DownloadSource.DEFAULT: "mistralai/Mistral-Small-24B-Instruct-2501",
            DownloadSource.MODELSCOPE: "mistralai/Mistral-Small-24B-Instruct-2501",
        },
    },
    template="mistral_small",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1392
1393
1394
1395
1396
1397
1398
1399
register_model_group(
    models={
        "Mixtral-8x7B-v0.1": {
            DownloadSource.DEFAULT: "mistralai/Mixtral-8x7B-v0.1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mixtral-8x7B-v0.1",
        },
        "Mixtral-8x22B-v0.1": {
            DownloadSource.DEFAULT: "mistralai/Mixtral-8x22B-v0.1",
chenych's avatar
chenych committed
1400
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mixtral-8x22B-v0.1",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1401
        },
chenych's avatar
chenych committed
1402
1403
1404
1405
        "Mixtral-8x7B-v0.1-Instruct": {
            DownloadSource.DEFAULT: "mistralai/Mixtral-8x7B-Instruct-v0.1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mixtral-8x7B-Instruct-v0.1",
        },
luopl's avatar
luopl committed
1406
        "Mixtral-8x22B-v0.1-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1407
            DownloadSource.DEFAULT: "mistralai/Mixtral-8x22B-Instruct-v0.1",
chenych's avatar
chenych committed
1408
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mixtral-8x22B-Instruct-v0.1",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1409
1410
1411
1412
1413
1414
        },
    },
    template="mistral",
)


chenych's avatar
chenych committed
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
register_model_group(
    models={
        "Moonlight-16B-A3B": {
            DownloadSource.DEFAULT: "moonshotai/Moonlight-16B-A3B",
            DownloadSource.MODELSCOPE: "moonshotai/Moonlight-16B-A3B",
        },
        "Moonlight-16B-A3B-Instruct": {
            DownloadSource.DEFAULT: "moonshotai/Moonlight-16B-A3B-Instruct",
            DownloadSource.MODELSCOPE: "moonshotai/Moonlight-16B-A3B-Instruct",
        },
    },
    template="moonlight",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1430
1431
1432
register_model_group(
    models={
        "OLMo-1B": {
chenych's avatar
chenych committed
1433
            DownloadSource.DEFAULT: "allenai/OLMo-1B-hf",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1434
1435
        },
        "OLMo-7B": {
chenych's avatar
chenych committed
1436
            DownloadSource.DEFAULT: "allenai/OLMo-7B-hf",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1437
1438
        },
        "OLMo-7B-Chat": {
chenych's avatar
chenych committed
1439
1440
1441
1442
            DownloadSource.DEFAULT: "ssec-uw/OLMo-7B-Instruct-hf",
        },
        "OLMo-1.7-7B": {
            DownloadSource.DEFAULT: "allenai/OLMo-1.7-7B-hf",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1443
1444
1445
1446
1447
1448
1449
1450
1451
        },
    },
)


register_model_group(
    models={
        "OpenChat3.5-7B-Chat": {
            DownloadSource.DEFAULT: "openchat/openchat-3.5-0106",
chenych's avatar
chenych committed
1452
            DownloadSource.MODELSCOPE: "xcwzxcwz/openchat-3.5-0106",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1453
1454
1455
1456
1457
1458
        }
    },
    template="openchat",
)


chenych's avatar
chenych committed
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
register_model_group(
    models={
        "OpenChat3.6-8B-Chat": {
            DownloadSource.DEFAULT: "openchat/openchat-3.6-8b-20240522",
        }
    },
    template="openchat-3.6",
)


luopl's avatar
luopl committed
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
register_model_group(
    models={
        "OpenCoder-1.5B-Base": {
            DownloadSource.DEFAULT: "infly/OpenCoder-1.5B-Base",
            DownloadSource.MODELSCOPE: "infly/OpenCoder-1.5B-Base",
        },
        "OpenCoder-8B-Base": {
            DownloadSource.DEFAULT: "infly/OpenCoder-8B-Base",
            DownloadSource.MODELSCOPE: "infly/OpenCoder-8B-Base",
        },
        "OpenCoder-1.5B-Instruct": {
            DownloadSource.DEFAULT: "infly/OpenCoder-1.5B-Instruct",
            DownloadSource.MODELSCOPE: "infly/OpenCoder-1.5B-Instruct",
        },
        "OpenCoder-8B-Instruct": {
            DownloadSource.DEFAULT: "infly/OpenCoder-8B-Instruct",
            DownloadSource.MODELSCOPE: "infly/OpenCoder-8B-Instruct",
        },
    },
    template="opencoder",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
register_model_group(
    models={
        "Orion-14B-Base": {
            DownloadSource.DEFAULT: "OrionStarAI/Orion-14B-Base",
            DownloadSource.MODELSCOPE: "OrionStarAI/Orion-14B-Base",
        },
        "Orion-14B-Chat": {
            DownloadSource.DEFAULT: "OrionStarAI/Orion-14B-Chat",
            DownloadSource.MODELSCOPE: "OrionStarAI/Orion-14B-Chat",
        },
        "Orion-14B-Long-Chat": {
            DownloadSource.DEFAULT: "OrionStarAI/Orion-14B-LongChat",
            DownloadSource.MODELSCOPE: "OrionStarAI/Orion-14B-LongChat",
        },
        "Orion-14B-RAG-Chat": {
            DownloadSource.DEFAULT: "OrionStarAI/Orion-14B-Chat-RAG",
            DownloadSource.MODELSCOPE: "OrionStarAI/Orion-14B-Chat-RAG",
        },
        "Orion-14B-Plugin-Chat": {
            DownloadSource.DEFAULT: "OrionStarAI/Orion-14B-Chat-Plugin",
            DownloadSource.MODELSCOPE: "OrionStarAI/Orion-14B-Chat-Plugin",
        },
    },
    template="orion",
)


chenych's avatar
chenych committed
1519
1520
register_model_group(
    models={
luopl's avatar
luopl committed
1521
        "PaliGemma-3B-pt-224": {
chenych's avatar
chenych committed
1522
1523
1524
            DownloadSource.DEFAULT: "google/paligemma-3b-pt-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-pt-224",
        },
luopl's avatar
luopl committed
1525
        "PaliGemma-3B-pt-448": {
chenych's avatar
chenych committed
1526
1527
1528
            DownloadSource.DEFAULT: "google/paligemma-3b-pt-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-pt-448",
        },
luopl's avatar
luopl committed
1529
        "PaliGemma-3B-pt-896": {
chenych's avatar
chenych committed
1530
1531
1532
            DownloadSource.DEFAULT: "google/paligemma-3b-pt-896",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-pt-896",
        },
luopl's avatar
luopl committed
1533
        "PaliGemma-3B-mix-224": {
chenych's avatar
chenych committed
1534
1535
1536
            DownloadSource.DEFAULT: "google/paligemma-3b-mix-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-mix-224",
        },
luopl's avatar
luopl committed
1537
        "PaliGemma-3B-mix-448": {
chenych's avatar
chenych committed
1538
1539
1540
1541
            DownloadSource.DEFAULT: "google/paligemma-3b-mix-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-mix-448",
        },
    },
luopl's avatar
luopl committed
1542
    template="paligemma",
chenych's avatar
chenych committed
1543
    multimodal=True,
chenych's avatar
chenych committed
1544
1545
1546
)


luopl's avatar
luopl committed
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
register_model_group(
    models={
        "PaliGemma2-3B-pt-224": {
            DownloadSource.DEFAULT: "google/paligemma2-3b-pt-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-3b-pt-224",
        },
        "PaliGemma2-3B-pt-448": {
            DownloadSource.DEFAULT: "google/paligemma2-3b-pt-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-3b-pt-448",
        },
        "PaliGemma2-3B-pt-896": {
            DownloadSource.DEFAULT: "google/paligemma2-3b-pt-896",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-3b-pt-896",
        },
        "PaliGemma2-10B-pt-224": {
            DownloadSource.DEFAULT: "google/paligemma2-10b-pt-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-10b-pt-224",
        },
        "PaliGemma2-10B-pt-448": {
            DownloadSource.DEFAULT: "google/paligemma2-10b-pt-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-10b-pt-448",
        },
        "PaliGemma2-10B-pt-896": {
            DownloadSource.DEFAULT: "google/paligemma2-10b-pt-896",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-10b-pt-896",
        },
        "PaliGemma2-28B-pt-224": {
            DownloadSource.DEFAULT: "google/paligemma2-28b-pt-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-28b-pt-224",
        },
        "PaliGemma2-28B-pt-448": {
            DownloadSource.DEFAULT: "google/paligemma2-28b-pt-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-28b-pt-448",
        },
        "PaliGemma2-28B-pt-896": {
            DownloadSource.DEFAULT: "google/paligemma2-28b-pt-896",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma2-28b-pt-896",
        },
chenych's avatar
chenych committed
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
        "PaliGemma2-3B-mix-224": {
            DownloadSource.DEFAULT: "google/paligemma2-3b-mix-224",
            DownloadSource.MODELSCOPE: "mlx-community/paligemma2-3b-mix-224-bf16",
        },
        "PaliGemma2-3B-mix-448": {
            DownloadSource.DEFAULT: "google/paligemma2-3b-mix-448",
            DownloadSource.MODELSCOPE: "mlx-community/paligemma2-3b-mix-448-bf16",
        },
        "PaliGemma2-10B-mix-224": {
            DownloadSource.DEFAULT: "google/paligemma2-10b-mix-224",
            DownloadSource.MODELSCOPE: "mlx-community/paligemma2-10b-mix-224-bf16",
        },
        "PaliGemma2-10B-mix-448": {
            DownloadSource.DEFAULT: "google/paligemma2-10b-mix-448",
            DownloadSource.MODELSCOPE: "mlx-community/paligemma2-10b-mix-448-bf16",
        },
        "PaliGemma2-28B-mix-224": {
            DownloadSource.DEFAULT: "google/paligemma2-28b-mix-224",
            DownloadSource.MODELSCOPE: "mlx-community/paligemma2-28b-mix-224-bf16",
        },
        "PaliGemma2-28B-mix-448": {
            DownloadSource.DEFAULT: "google/paligemma2-28b-mix-448",
            DownloadSource.MODELSCOPE: "mlx-community/paligemma2-28b-mix-448-bf16",
        },
luopl's avatar
luopl committed
1609
1610
    },
    template="paligemma",
chenych's avatar
chenych committed
1611
    multimodal=True,
luopl's avatar
luopl committed
1612
1613
1614
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
register_model_group(
    models={
        "Phi-1.5-1.3B": {
            DownloadSource.DEFAULT: "microsoft/phi-1_5",
            DownloadSource.MODELSCOPE: "allspace/PHI_1-5",
        },
        "Phi-2-2.7B": {
            DownloadSource.DEFAULT: "microsoft/phi-2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/phi-2",
        },
    }
)


chenych's avatar
chenych committed
1629
1630
register_model_group(
    models={
luopl's avatar
luopl committed
1631
        "Phi-3-4B-4k-Instruct": {
chenych's avatar
chenych committed
1632
1633
1634
            DownloadSource.DEFAULT: "microsoft/Phi-3-mini-4k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-mini-4k-instruct",
        },
luopl's avatar
luopl committed
1635
        "Phi-3-4B-128k-Instruct": {
chenych's avatar
chenych committed
1636
1637
1638
            DownloadSource.DEFAULT: "microsoft/Phi-3-mini-128k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-mini-128k-instruct",
        },
luopl's avatar
luopl committed
1639
        "Phi-3-14B-8k-Instruct": {
chenych's avatar
chenych committed
1640
1641
1642
            DownloadSource.DEFAULT: "microsoft/Phi-3-medium-4k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-medium-4k-instruct",
        },
luopl's avatar
luopl committed
1643
        "Phi-3-14B-128k-Instruct": {
chenych's avatar
chenych committed
1644
1645
1646
            DownloadSource.DEFAULT: "microsoft/Phi-3-medium-128k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-medium-128k-instruct",
        },
luopl's avatar
luopl committed
1647
1648
1649
1650
1651
1652
1653
1654
        "Phi-3.5-4B-instruct": {
            DownloadSource.DEFAULT: "microsoft/Phi-3.5-mini-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3.5-mini-instruct",
        },
        "Phi-3.5-MoE-42B-A6.6B-instruct": {
            DownloadSource.DEFAULT: "microsoft/Phi-3.5-MoE-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3.5-MoE-instruct",
        },
chenych's avatar
chenych committed
1655
1656
1657
1658
1659
    },
    template="phi",
)


luopl's avatar
luopl committed
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
register_model_group(
    models={
        "Phi-3-7B-8k-Instruct": {
            DownloadSource.DEFAULT: "microsoft/Phi-3-small-8k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-small-8k-instruct",
        },
        "Phi-3-7B-128k-Instruct": {
            DownloadSource.DEFAULT: "microsoft/Phi-3-small-128k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-small-128k-instruct",
        },
    },
    template="phi_small",
)


register_model_group(
    models={
luopl's avatar
luopl committed
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
        "Phi-4-14B-Instruct": {
            DownloadSource.DEFAULT: "microsoft/phi-4",
            DownloadSource.MODELSCOPE: "LLM-Research/phi-4",
        },
    },
    template="phi4",
)


register_model_group(
    models={
chenych's avatar
chenych committed
1688
        "Pixtral-12B": {
luopl's avatar
luopl committed
1689
1690
1691
1692
1693
            DownloadSource.DEFAULT: "mistral-community/pixtral-12b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/pixtral-12b",
        }
    },
    template="pixtral",
chenych's avatar
chenych committed
1694
    multimodal=True,
luopl's avatar
luopl committed
1695
1696
1697
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1698
1699
1700
1701
register_model_group(
    models={
        "Qwen-1.8B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B",
luopl's avatar
luopl committed
1702
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1703
1704
1705
        },
        "Qwen-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-7B",
luopl's avatar
luopl committed
1706
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1707
1708
1709
        },
        "Qwen-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-14B",
luopl's avatar
luopl committed
1710
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1711
1712
1713
        },
        "Qwen-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-72B",
luopl's avatar
luopl committed
1714
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1715
1716
1717
        },
        "Qwen-1.8B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B-Chat",
luopl's avatar
luopl committed
1718
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1719
1720
1721
        },
        "Qwen-7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-7B-Chat",
luopl's avatar
luopl committed
1722
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1723
1724
1725
        },
        "Qwen-14B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-14B-Chat",
luopl's avatar
luopl committed
1726
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1727
1728
1729
        },
        "Qwen-72B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-72B-Chat",
luopl's avatar
luopl committed
1730
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1731
        },
luopl's avatar
luopl committed
1732
        "Qwen-1.8B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1733
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B-Chat-Int8",
luopl's avatar
luopl committed
1734
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1735
        },
luopl's avatar
luopl committed
1736
        "Qwen-1.8B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1737
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B-Chat-Int4",
luopl's avatar
luopl committed
1738
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1739
        },
luopl's avatar
luopl committed
1740
        "Qwen-7B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1741
            DownloadSource.DEFAULT: "Qwen/Qwen-7B-Chat-Int8",
luopl's avatar
luopl committed
1742
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1743
        },
luopl's avatar
luopl committed
1744
        "Qwen-7B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1745
            DownloadSource.DEFAULT: "Qwen/Qwen-7B-Chat-Int4",
luopl's avatar
luopl committed
1746
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1747
        },
luopl's avatar
luopl committed
1748
        "Qwen-14B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1749
            DownloadSource.DEFAULT: "Qwen/Qwen-14B-Chat-Int8",
luopl's avatar
luopl committed
1750
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1751
        },
luopl's avatar
luopl committed
1752
        "Qwen-14B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1753
            DownloadSource.DEFAULT: "Qwen/Qwen-14B-Chat-Int4",
luopl's avatar
luopl committed
1754
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1755
        },
luopl's avatar
luopl committed
1756
        "Qwen-72B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1757
            DownloadSource.DEFAULT: "Qwen/Qwen-72B-Chat-Int8",
luopl's avatar
luopl committed
1758
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1759
        },
luopl's avatar
luopl committed
1760
        "Qwen-72B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1761
            DownloadSource.DEFAULT: "Qwen/Qwen-72B-Chat-Int4",
luopl's avatar
luopl committed
1762
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
        },
    },
    template="qwen",
)


register_model_group(
    models={
        "Qwen1.5-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B",
luopl's avatar
luopl committed
1773
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1774
1775
1776
        },
        "Qwen1.5-1.8B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B",
luopl's avatar
luopl committed
1777
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1778
1779
1780
        },
        "Qwen1.5-4B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B",
luopl's avatar
luopl committed
1781
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1782
1783
1784
        },
        "Qwen1.5-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B",
luopl's avatar
luopl committed
1785
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1786
1787
1788
        },
        "Qwen1.5-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B",
luopl's avatar
luopl committed
1789
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1790
1791
1792
        },
        "Qwen1.5-32B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-32B",
luopl's avatar
luopl committed
1793
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-32B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1794
1795
1796
        },
        "Qwen1.5-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B",
luopl's avatar
luopl committed
1797
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1798
        },
chenych's avatar
chenych committed
1799
1800
        "Qwen1.5-110B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-110B",
luopl's avatar
luopl committed
1801
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-110B",
chenych's avatar
chenych committed
1802
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1803
1804
        "Qwen1.5-MoE-A2.7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-MoE-A2.7B",
luopl's avatar
luopl committed
1805
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-MoE-A2.7B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1806
1807
1808
        },
        "Qwen1.5-0.5B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B-Chat",
luopl's avatar
luopl committed
1809
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1810
1811
1812
        },
        "Qwen1.5-1.8B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B-Chat",
luopl's avatar
luopl committed
1813
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1814
1815
1816
        },
        "Qwen1.5-4B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B-Chat",
luopl's avatar
luopl committed
1817
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1818
1819
1820
        },
        "Qwen1.5-7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B-Chat",
luopl's avatar
luopl committed
1821
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1822
1823
1824
        },
        "Qwen1.5-14B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B-Chat",
luopl's avatar
luopl committed
1825
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1826
1827
1828
        },
        "Qwen1.5-32B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-32B-Chat",
luopl's avatar
luopl committed
1829
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-32B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1830
1831
1832
        },
        "Qwen1.5-72B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B-Chat",
luopl's avatar
luopl committed
1833
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1834
        },
chenych's avatar
chenych committed
1835
1836
        "Qwen1.5-110B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-110B-Chat",
luopl's avatar
luopl committed
1837
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-110B-Chat",
chenych's avatar
chenych committed
1838
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1839
1840
        "Qwen1.5-MoE-A2.7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-MoE-A2.7B-Chat",
luopl's avatar
luopl committed
1841
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-MoE-A2.7B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1842
        },
luopl's avatar
luopl committed
1843
        "Qwen1.5-0.5B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1844
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
1845
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1846
        },
luopl's avatar
luopl committed
1847
        "Qwen1.5-0.5B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1848
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B-Chat-AWQ",
luopl's avatar
luopl committed
1849
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1850
        },
luopl's avatar
luopl committed
1851
        "Qwen1.5-1.8B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1852
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
1853
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1854
        },
luopl's avatar
luopl committed
1855
        "Qwen1.5-1.8B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1856
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B-Chat-AWQ",
luopl's avatar
luopl committed
1857
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1858
        },
luopl's avatar
luopl committed
1859
        "Qwen1.5-4B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1860
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
1861
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1862
        },
luopl's avatar
luopl committed
1863
        "Qwen1.5-4B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1864
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B-Chat-AWQ",
luopl's avatar
luopl committed
1865
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1866
        },
luopl's avatar
luopl committed
1867
        "Qwen1.5-7B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1868
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
1869
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1870
        },
luopl's avatar
luopl committed
1871
        "Qwen1.5-7B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1872
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B-Chat-AWQ",
luopl's avatar
luopl committed
1873
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1874
        },
luopl's avatar
luopl committed
1875
        "Qwen1.5-14B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1876
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
1877
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1878
        },
luopl's avatar
luopl committed
1879
        "Qwen1.5-14B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1880
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B-Chat-AWQ",
luopl's avatar
luopl committed
1881
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1882
        },
luopl's avatar
luopl committed
1883
        "Qwen1.5-32B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1884
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-32B-Chat-AWQ",
luopl's avatar
luopl committed
1885
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-32B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1886
        },
luopl's avatar
luopl committed
1887
        "Qwen1.5-72B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1888
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
1889
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1890
        },
luopl's avatar
luopl committed
1891
        "Qwen1.5-72B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1892
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B-Chat-AWQ",
luopl's avatar
luopl committed
1893
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1894
        },
luopl's avatar
luopl committed
1895
        "Qwen1.5-110B-Chat-AWQ": {
chenych's avatar
chenych committed
1896
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-110B-Chat-AWQ",
luopl's avatar
luopl committed
1897
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-110B-Chat-AWQ",
chenych's avatar
chenych committed
1898
        },
luopl's avatar
luopl committed
1899
        "Qwen1.5-MoE-A2.7B-Chat-GPTQ-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1900
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-MoE-A2.7B-Chat-GPTQ-Int4",
luopl's avatar
luopl committed
1901
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-MoE-A2.7B-Chat-GPTQ-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1902
        },
luopl's avatar
luopl committed
1903
1904
        "CodeQwen1.5-7B": {
            DownloadSource.DEFAULT: "Qwen/CodeQwen1.5-7B",
luopl's avatar
luopl committed
1905
            DownloadSource.MODELSCOPE: "Qwen/CodeQwen1.5-7B",
luopl's avatar
luopl committed
1906
1907
1908
        },
        "CodeQwen1.5-7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/CodeQwen1.5-7B-Chat",
luopl's avatar
luopl committed
1909
            DownloadSource.MODELSCOPE: "Qwen/CodeQwen1.5-7B-Chat",
luopl's avatar
luopl committed
1910
1911
        },
        "CodeQwen1.5-7B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1912
            DownloadSource.DEFAULT: "Qwen/CodeQwen1.5-7B-Chat-AWQ",
luopl's avatar
luopl committed
1913
            DownloadSource.MODELSCOPE: "Qwen/CodeQwen1.5-7B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1914
1915
1916
1917
1918
1919
        },
    },
    template="qwen",
)


chenych's avatar
chenych committed
1920
1921
1922
1923
register_model_group(
    models={
        "Qwen2-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B",
luopl's avatar
luopl committed
1924
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B",
chenych's avatar
chenych committed
1925
1926
1927
        },
        "Qwen2-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B",
luopl's avatar
luopl committed
1928
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B",
chenych's avatar
chenych committed
1929
1930
1931
        },
        "Qwen2-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B",
luopl's avatar
luopl committed
1932
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B",
chenych's avatar
chenych committed
1933
1934
1935
        },
        "Qwen2-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B",
luopl's avatar
luopl committed
1936
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B",
chenych's avatar
chenych committed
1937
        },
luopl's avatar
luopl committed
1938
        "Qwen2-MoE-57B-A14B": {
chenych's avatar
chenych committed
1939
            DownloadSource.DEFAULT: "Qwen/Qwen2-57B-A14B",
luopl's avatar
luopl committed
1940
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-57B-A14B",
chenych's avatar
chenych committed
1941
        },
luopl's avatar
luopl committed
1942
        "Qwen2-0.5B-Instruct": {
chenych's avatar
chenych committed
1943
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct",
luopl's avatar
luopl committed
1944
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct",
luopl's avatar
luopl committed
1945
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-0.5B-Instruct",
chenych's avatar
chenych committed
1946
        },
luopl's avatar
luopl committed
1947
        "Qwen2-1.5B-Instruct": {
chenych's avatar
chenych committed
1948
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct",
luopl's avatar
luopl committed
1949
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct",
luopl's avatar
luopl committed
1950
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-1.5B-Instruct",
chenych's avatar
chenych committed
1951
        },
luopl's avatar
luopl committed
1952
        "Qwen2-7B-Instruct": {
chenych's avatar
chenych committed
1953
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct",
luopl's avatar
luopl committed
1954
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct",
luopl's avatar
luopl committed
1955
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-7B-Instruct",
chenych's avatar
chenych committed
1956
        },
luopl's avatar
luopl committed
1957
        "Qwen2-72B-Instruct": {
chenych's avatar
chenych committed
1958
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct",
luopl's avatar
luopl committed
1959
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct",
chenych's avatar
chenych committed
1960
        },
luopl's avatar
luopl committed
1961
        "Qwen2-MoE-57B-A14B-Instruct": {
chenych's avatar
chenych committed
1962
            DownloadSource.DEFAULT: "Qwen/Qwen2-57B-A14B-Instruct",
luopl's avatar
luopl committed
1963
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-57B-A14B-Instruct",
chenych's avatar
chenych committed
1964
        },
luopl's avatar
luopl committed
1965
        "Qwen2-0.5B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
1966
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
1967
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
1968
        },
luopl's avatar
luopl committed
1969
1970
        "Qwen2-0.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
1971
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
1972
1973
        },
        "Qwen2-0.5B-Instruct-AWQ": {
chenych's avatar
chenych committed
1974
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct-AWQ",
luopl's avatar
luopl committed
1975
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct-AWQ",
chenych's avatar
chenych committed
1976
        },
luopl's avatar
luopl committed
1977
        "Qwen2-1.5B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
1978
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
1979
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
1980
        },
luopl's avatar
luopl committed
1981
1982
        "Qwen2-1.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
1983
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
1984
1985
        },
        "Qwen2-1.5B-Instruct-AWQ": {
chenych's avatar
chenych committed
1986
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct-AWQ",
luopl's avatar
luopl committed
1987
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct-AWQ",
chenych's avatar
chenych committed
1988
        },
luopl's avatar
luopl committed
1989
        "Qwen2-7B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
1990
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
1991
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
1992
        },
luopl's avatar
luopl committed
1993
1994
        "Qwen2-7B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
1995
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
1996
1997
        },
        "Qwen2-7B-Instruct-AWQ": {
chenych's avatar
chenych committed
1998
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct-AWQ",
luopl's avatar
luopl committed
1999
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct-AWQ",
chenych's avatar
chenych committed
2000
        },
luopl's avatar
luopl committed
2001
        "Qwen2-72B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
2002
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2003
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
2004
        },
luopl's avatar
luopl committed
2005
2006
        "Qwen2-72B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2007
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2008
2009
        },
        "Qwen2-72B-Instruct-AWQ": {
chenych's avatar
chenych committed
2010
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2011
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct-AWQ",
chenych's avatar
chenych committed
2012
        },
luopl's avatar
luopl committed
2013
        "Qwen2-57B-A14B-Instruct-GPTQ-Int4": {
chenych's avatar
chenych committed
2014
            DownloadSource.DEFAULT: "Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2015
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4",
chenych's avatar
chenych committed
2016
        },
luopl's avatar
luopl committed
2017
2018
        "Qwen2-Math-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-1.5B",
luopl's avatar
luopl committed
2019
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-1.5B",
luopl's avatar
luopl committed
2020
2021
2022
        },
        "Qwen2-Math-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-7B",
luopl's avatar
luopl committed
2023
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-7B",
luopl's avatar
luopl committed
2024
2025
2026
        },
        "Qwen2-Math-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-72B",
luopl's avatar
luopl committed
2027
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-72B",
luopl's avatar
luopl committed
2028
2029
2030
        },
        "Qwen2-Math-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-1.5B-Instruct",
luopl's avatar
luopl committed
2031
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-1.5B-Instruct",
luopl's avatar
luopl committed
2032
2033
2034
        },
        "Qwen2-Math-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-7B-Instruct",
luopl's avatar
luopl committed
2035
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-7B-Instruct",
luopl's avatar
luopl committed
2036
2037
2038
        },
        "Qwen2-Math-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-72B-Instruct",
luopl's avatar
luopl committed
2039
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-72B-Instruct",
luopl's avatar
luopl committed
2040
        },
chenych's avatar
chenych committed
2041
2042
2043
2044
2045
    },
    template="qwen",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2046
2047
register_model_group(
    models={
luopl's avatar
luopl committed
2048
2049
        "Qwen2.5-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B",
luopl's avatar
luopl committed
2050
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B",
luopl's avatar
luopl committed
2051
2052
2053
        },
        "Qwen2.5-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B",
luopl's avatar
luopl committed
2054
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B",
luopl's avatar
luopl committed
2055
2056
2057
        },
        "Qwen2.5-3B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B",
luopl's avatar
luopl committed
2058
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B",
luopl's avatar
luopl committed
2059
2060
2061
        },
        "Qwen2.5-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B",
luopl's avatar
luopl committed
2062
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B",
luopl's avatar
luopl committed
2063
2064
2065
        },
        "Qwen2.5-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B",
luopl's avatar
luopl committed
2066
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B",
luopl's avatar
luopl committed
2067
2068
2069
        },
        "Qwen2.5-32B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B",
luopl's avatar
luopl committed
2070
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B",
luopl's avatar
luopl committed
2071
2072
2073
        },
        "Qwen2.5-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B",
luopl's avatar
luopl committed
2074
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B",
luopl's avatar
luopl committed
2075
2076
2077
        },
        "Qwen2.5-0.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct",
luopl's avatar
luopl committed
2078
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct",
luopl's avatar
luopl committed
2079
2080
2081
        },
        "Qwen2.5-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct",
luopl's avatar
luopl committed
2082
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct",
luopl's avatar
luopl committed
2083
2084
2085
        },
        "Qwen2.5-3B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct",
luopl's avatar
luopl committed
2086
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct",
luopl's avatar
luopl committed
2087
2088
2089
        },
        "Qwen2.5-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct",
luopl's avatar
luopl committed
2090
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct",
luopl's avatar
luopl committed
2091
2092
2093
        },
        "Qwen2.5-14B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct",
luopl's avatar
luopl committed
2094
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct",
luopl's avatar
luopl committed
2095
2096
2097
        },
        "Qwen2.5-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct",
luopl's avatar
luopl committed
2098
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct",
luopl's avatar
luopl committed
2099
2100
2101
        },
        "Qwen2.5-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct",
luopl's avatar
luopl committed
2102
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct",
luopl's avatar
luopl committed
2103
        },
chenych's avatar
chenych committed
2104
2105
2106
2107
2108
2109
2110
2111
        "Qwen2.5-7B-Instruct-1M": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-1M",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-1M",
        },
        "Qwen2.5-14B-Instruct-1M": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-1M",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-1M",
        },
luopl's avatar
luopl committed
2112
2113
        "Qwen2.5-0.5B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2114
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2115
2116
2117
        },
        "Qwen2.5-0.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2118
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2119
2120
2121
        },
        "Qwen2.5-0.5B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2122
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2123
2124
2125
        },
        "Qwen2.5-1.5B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2126
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2127
2128
2129
        },
        "Qwen2.5-1.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2130
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2131
2132
2133
        },
        "Qwen2.5-1.5B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2134
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2135
2136
2137
        },
        "Qwen2.5-3B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2138
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2139
2140
2141
        },
        "Qwen2.5-3B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2142
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2143
2144
2145
        },
        "Qwen2.5-3B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct-AWQ",
luopl's avatar
luopl committed
2146
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct-AWQ",
luopl's avatar
luopl committed
2147
2148
2149
        },
        "Qwen2.5-7B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2150
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2151
2152
2153
        },
        "Qwen2.5-7B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2154
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2155
2156
2157
        },
        "Qwen2.5-7B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2158
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2159
2160
2161
        },
        "Qwen2.5-14B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2162
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2163
2164
2165
        },
        "Qwen2.5-14B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2166
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2167
2168
2169
        },
        "Qwen2.5-14B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-AWQ",
luopl's avatar
luopl committed
2170
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-AWQ",
luopl's avatar
luopl committed
2171
2172
2173
        },
        "Qwen2.5-32B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2174
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2175
2176
2177
        },
        "Qwen2.5-32B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2178
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2179
2180
2181
        },
        "Qwen2.5-32B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct-AWQ",
luopl's avatar
luopl committed
2182
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct-AWQ",
luopl's avatar
luopl committed
2183
2184
2185
        },
        "Qwen2.5-72B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2186
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2187
2188
2189
        },
        "Qwen2.5-72B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2190
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2191
2192
2193
        },
        "Qwen2.5-72B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2194
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2195
        },
luopl's avatar
luopl committed
2196
2197
        "Qwen2.5-Coder-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-0.5B",
luopl's avatar
luopl committed
2198
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-0.5B",
luopl's avatar
luopl committed
2199
        },
luopl's avatar
luopl committed
2200
2201
        "Qwen2.5-Coder-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-1.5B",
luopl's avatar
luopl committed
2202
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-1.5B",
luopl's avatar
luopl committed
2203
        },
luopl's avatar
luopl committed
2204
2205
        "Qwen2.5-Coder-3B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-3B",
luopl's avatar
luopl committed
2206
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-3B",
luopl's avatar
luopl committed
2207
        },
luopl's avatar
luopl committed
2208
2209
        "Qwen2.5-Coder-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-7B",
luopl's avatar
luopl committed
2210
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-7B",
luopl's avatar
luopl committed
2211
        },
luopl's avatar
luopl committed
2212
2213
        "Qwen2.5-Coder-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-14B",
luopl's avatar
luopl committed
2214
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-14B",
luopl's avatar
luopl committed
2215
2216
2217
        },
        "Qwen2.5-Coder-32B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-32B",
luopl's avatar
luopl committed
2218
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-32B",
luopl's avatar
luopl committed
2219
2220
2221
        },
        "Qwen2.5-Coder-0.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-0.5B-Instruct",
luopl's avatar
luopl committed
2222
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-0.5B-Instruct",
luopl's avatar
luopl committed
2223
        },
luopl's avatar
luopl committed
2224
2225
        "Qwen2.5-Coder-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-1.5B-Instruct",
luopl's avatar
luopl committed
2226
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-1.5B-Instruct",
luopl's avatar
luopl committed
2227
        },
luopl's avatar
luopl committed
2228
2229
        "Qwen2.5-Coder-3B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-3B-Instruct",
luopl's avatar
luopl committed
2230
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-3B-Instruct",
luopl's avatar
luopl committed
2231
        },
luopl's avatar
luopl committed
2232
2233
        "Qwen2.5-Coder-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-7B-Instruct",
luopl's avatar
luopl committed
2234
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-7B-Instruct",
luopl's avatar
luopl committed
2235
        },
luopl's avatar
luopl committed
2236
2237
        "Qwen2.5-Coder-14B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-14B-Instruct",
luopl's avatar
luopl committed
2238
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-14B-Instruct",
luopl's avatar
luopl committed
2239
2240
2241
        },
        "Qwen2.5-Coder-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-32B-Instruct",
luopl's avatar
luopl committed
2242
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-32B-Instruct",
luopl's avatar
luopl committed
2243
        },
luopl's avatar
luopl committed
2244
2245
        "Qwen2.5-Math-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-1.5B",
luopl's avatar
luopl committed
2246
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Math-1.5B",
luopl's avatar
luopl committed
2247
2248
2249
        },
        "Qwen2.5-Math-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-7B",
luopl's avatar
luopl committed
2250
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Math-7B",
luopl's avatar
luopl committed
2251
2252
2253
        },
        "Qwen2.5-Math-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-72B",
luopl's avatar
luopl committed
2254
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Math-72B",
luopl's avatar
luopl committed
2255
2256
2257
        },
        "Qwen2.5-Math-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-1.5B-Instruct",
luopl's avatar
luopl committed
2258
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-1.5B-Instruct",
luopl's avatar
luopl committed
2259
2260
2261
        },
        "Qwen2.5-Math-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-7B-Instruct",
luopl's avatar
luopl committed
2262
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-7B-Instruct",
luopl's avatar
luopl committed
2263
2264
2265
        },
        "Qwen2.5-Math-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-72B-Instruct",
luopl's avatar
luopl committed
2266
2267
2268
2269
2270
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-72B-Instruct",
        },
        "QwQ-32B-Preview-Instruct": {
            DownloadSource.DEFAULT: "Qwen/QwQ-32B-Preview",
            DownloadSource.MODELSCOPE: "Qwen/QwQ-32B-Preview",
luopl's avatar
luopl committed
2271
        },
chenych's avatar
chenych committed
2272
2273
2274
2275
        "QwQ-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/QwQ-32B",
            DownloadSource.MODELSCOPE: "Qwen/QwQ-32B",
        },
luopl's avatar
luopl committed
2276
2277
2278
2279
2280
2281
2282
    },
    template="qwen",
)


register_model_group(
    models={
chenych's avatar
chenych committed
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
        "Qwen2-Audio-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Audio-7B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Audio-7B",
        },
        "Qwen2-Audio-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Audio-7B-Instruct",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Audio-7B-Instruct",
        },
    },
    template="qwen2_audio",
    multimodal=True,
)


chenych's avatar
chenych committed
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
register_model_group(
    models={
        "Qwen2.5-Omni-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Omni-7B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Omni-7B",
        }
    },
    template="qwen2_omni",
    multimodal=True,
)


chenych's avatar
chenych committed
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
register_model_group(
    models={
        "Qwen2-VL-2B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B",
        },
        "Qwen2-VL-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B",
        },
        "Qwen2-VL-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B",
        },
luopl's avatar
luopl committed
2323
2324
        "Qwen2-VL-2B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct",
luopl's avatar
luopl committed
2325
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct",
luopl's avatar
luopl committed
2326
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-VL-2B-Instruct",
luopl's avatar
luopl committed
2327
2328
2329
        },
        "Qwen2-VL-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct",
luopl's avatar
luopl committed
2330
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct",
luopl's avatar
luopl committed
2331
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-VL-7B-Instruct",
luopl's avatar
luopl committed
2332
2333
2334
        },
        "Qwen2-VL-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct",
luopl's avatar
luopl committed
2335
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct",
luopl's avatar
luopl committed
2336
2337
2338
        },
        "Qwen2-VL-2B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2339
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2340
2341
2342
        },
        "Qwen2-VL-2B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2343
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2344
2345
2346
        },
        "Qwen2-VL-2B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct-AWQ",
luopl's avatar
luopl committed
2347
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct-AWQ",
luopl's avatar
luopl committed
2348
2349
2350
        },
        "Qwen2-VL-7B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2351
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2352
2353
2354
        },
        "Qwen2-VL-7B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2355
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2356
2357
2358
        },
        "Qwen2-VL-7B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2359
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2360
2361
2362
        },
        "Qwen2-VL-72B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2363
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2364
2365
2366
        },
        "Qwen2-VL-72B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2367
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2368
2369
2370
        },
        "Qwen2-VL-72B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2371
2372
2373
2374
2375
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct-AWQ",
        },
        "QVQ-72B-Preview": {
            DownloadSource.DEFAULT: "Qwen/QVQ-72B-Preview",
            DownloadSource.MODELSCOPE: "Qwen/QVQ-72B-Preview",
luopl's avatar
luopl committed
2376
        },
chenych's avatar
chenych committed
2377
2378
2379
2380
2381
2382
2383
2384
        "Qwen2.5-VL-3B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-3B-Instruct",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-3B-Instruct",
        },
        "Qwen2.5-VL-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-7B-Instruct",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-7B-Instruct",
        },
chenych's avatar
chenych committed
2385
2386
2387
2388
        "Qwen2.5-VL-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-32B-Instruct",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-32B-Instruct",
        },
chenych's avatar
chenych committed
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
        "Qwen2.5-VL-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-72B-Instruct",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-72B-Instruct",
        },
        "Qwen2.5-VL-3B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-3B-Instruct-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-3B-Instruct-AWQ",
        },
        "Qwen2.5-VL-7B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-7B-Instruct-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-7B-Instruct-AWQ",
        },
        "Qwen2.5-VL-72B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-VL-72B-Instruct-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-VL-72B-Instruct-AWQ",
        },
luopl's avatar
luopl committed
2405
2406
    },
    template="qwen2_vl",
chenych's avatar
chenych committed
2407
    multimodal=True,
luopl's avatar
luopl committed
2408
2409
2410
2411
2412
2413
)


register_model_group(
    models={
        "SOLAR-10.7B-v1.0": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2414
2415
            DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-v1.0",
        },
luopl's avatar
luopl committed
2416
        "SOLAR-10.7B-Instruct-v1.0": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
            DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-Instruct-v1.0",
            DownloadSource.MODELSCOPE: "AI-ModelScope/SOLAR-10.7B-Instruct-v1.0",
        },
    },
    template="solar",
)


register_model_group(
    models={
        "Skywork-13B-Base": {
            DownloadSource.DEFAULT: "Skywork/Skywork-13B-base",
            DownloadSource.MODELSCOPE: "skywork/Skywork-13B-base",
        }
    }
)


luopl's avatar
luopl committed
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
register_model_group(
    models={
        "Skywork-o1-Open-Llama-3.1-8B": {
            DownloadSource.DEFAULT: "Skywork/Skywork-o1-Open-Llama-3.1-8B",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Skywork-o1-Open-Llama-3.1-8B",
        }
    },
    template="skywork_o1",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2446
2447
2448
2449
register_model_group(
    models={
        "StarCoder2-3B": {
            DownloadSource.DEFAULT: "bigcode/starcoder2-3b",
chenych's avatar
chenych committed
2450
            DownloadSource.MODELSCOPE: "AI-ModelScope/starcoder2-3b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2451
2452
2453
        },
        "StarCoder2-7B": {
            DownloadSource.DEFAULT: "bigcode/starcoder2-7b",
chenych's avatar
chenych committed
2454
            DownloadSource.MODELSCOPE: "AI-ModelScope/starcoder2-7b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2455
2456
2457
        },
        "StarCoder2-15B": {
            DownloadSource.DEFAULT: "bigcode/starcoder2-15b",
chenych's avatar
chenych committed
2458
            DownloadSource.MODELSCOPE: "AI-ModelScope/starcoder2-15b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2459
2460
2461
2462
2463
        },
    }
)


chenych's avatar
chenych committed
2464
2465
2466
2467
2468
2469
2470
2471
2472
register_model_group(
    models={
        "TeleChat-1B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat-1B",
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat-1B",
        },
        "TeleChat-7B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/telechat-7B",
            DownloadSource.MODELSCOPE: "TeleAI/telechat-7B",
luopl's avatar
luopl committed
2473
            DownloadSource.OPENMIND: "TeleAI/TeleChat-7B-pt",
chenych's avatar
chenych committed
2474
2475
2476
2477
        },
        "TeleChat-12B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat-12B-v2",
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat-12B-v2",
luopl's avatar
luopl committed
2478
2479
2480
2481
            DownloadSource.OPENMIND: "TeleAI/TeleChat-12B-pt",
        },
        "TeleChat-52B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat-52B",
chenych's avatar
chenych committed
2482
2483
2484
2485
2486
2487
        },
    },
    template="telechat",
)


luopl's avatar
luopl committed
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
register_model_group(
    models={
        "TeleChat2-3B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat2-3B",
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat2-3B",
        },
        "TeleChat2-7B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat2-7B",
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat2-7B",
        },
        "TeleChat2-35B-Chat": {
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat2-35B-Nov",
        },
        "TeleChat2-115B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat2-115B",
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat2-115B",
        },
    },
    template="telechat2",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2510
2511
register_model_group(
    models={
luopl's avatar
luopl committed
2512
        "Vicuna-v1.5-7B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2513
2514
2515
            DownloadSource.DEFAULT: "lmsys/vicuna-7b-v1.5",
            DownloadSource.MODELSCOPE: "Xorbits/vicuna-7b-v1.5",
        },
luopl's avatar
luopl committed
2516
        "Vicuna-v1.5-13B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2517
2518
2519
2520
2521
2522
2523
2524
            DownloadSource.DEFAULT: "lmsys/vicuna-13b-v1.5",
            DownloadSource.MODELSCOPE: "Xorbits/vicuna-13b-v1.5",
        },
    },
    template="vicuna",
)


luopl's avatar
luopl committed
2525
2526
2527
2528
2529
2530
2531
register_model_group(
    models={
        "Video-LLaVA-7B-Chat": {
            DownloadSource.DEFAULT: "LanguageBind/Video-LLaVA-7B-hf",
        },
    },
    template="video_llava",
chenych's avatar
chenych committed
2532
    multimodal=True,
luopl's avatar
luopl committed
2533
2534
2535
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2536
2537
register_model_group(
    models={
chenych's avatar
chenych committed
2538
2539
2540
2541
        "XuanYuan-6B": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2542
2543
        "XuanYuan-70B": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B",
chenych's avatar
chenych committed
2544
2545
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B",
        },
luopl's avatar
luopl committed
2546
        "XuanYuan2-70B": {
chenych's avatar
chenych committed
2547
2548
2549
2550
2551
2552
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B",
        },
        "XuanYuan-6B-Chat": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B-Chat",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2553
2554
2555
        },
        "XuanYuan-70B-Chat": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B-Chat",
chenych's avatar
chenych committed
2556
2557
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B-Chat",
        },
luopl's avatar
luopl committed
2558
        "XuanYuan2-70B-Chat": {
chenych's avatar
chenych committed
2559
2560
2561
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B-Chat",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B-Chat",
        },
luopl's avatar
luopl committed
2562
        "XuanYuan-6B-Chat-8bit": {
chenych's avatar
chenych committed
2563
2564
2565
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B-Chat-8bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B-Chat-8bit",
        },
luopl's avatar
luopl committed
2566
        "XuanYuan-6B-Chat-4bit": {
chenych's avatar
chenych committed
2567
2568
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B-Chat-4bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B-Chat-4bit",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2569
        },
luopl's avatar
luopl committed
2570
        "XuanYuan-70B-Chat-8bit": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2571
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B-Chat-8bit",
chenych's avatar
chenych committed
2572
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B-Chat-8bit",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2573
        },
luopl's avatar
luopl committed
2574
        "XuanYuan-70B-Chat-4bit": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2575
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B-Chat-4bit",
chenych's avatar
chenych committed
2576
2577
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B-Chat-4bit",
        },
luopl's avatar
luopl committed
2578
        "XuanYuan2-70B-Chat-8bit": {
chenych's avatar
chenych committed
2579
2580
2581
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B-Chat-8bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B-Chat-8bit",
        },
luopl's avatar
luopl committed
2582
        "XuanYuan2-70B-Chat-4bit": {
chenych's avatar
chenych committed
2583
2584
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B-Chat-4bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B-Chat-4bit",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
        },
    },
    template="xuanyuan",
)


register_model_group(
    models={
        "XVERSE-7B": {
            DownloadSource.DEFAULT: "xverse/XVERSE-7B",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-7B",
        },
        "XVERSE-13B": {
            DownloadSource.DEFAULT: "xverse/XVERSE-13B",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-13B",
        },
        "XVERSE-65B": {
            DownloadSource.DEFAULT: "xverse/XVERSE-65B",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-65B",
        },
        "XVERSE-65B-2": {
            DownloadSource.DEFAULT: "xverse/XVERSE-65B-2",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-65B-2",
        },
        "XVERSE-7B-Chat": {
            DownloadSource.DEFAULT: "xverse/XVERSE-7B-Chat",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-7B-Chat",
        },
        "XVERSE-13B-Chat": {
            DownloadSource.DEFAULT: "xverse/XVERSE-13B-Chat",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-13B-Chat",
        },
        "XVERSE-65B-Chat": {
            DownloadSource.DEFAULT: "xverse/XVERSE-65B-Chat",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-65B-Chat",
        },
chenych's avatar
chenych committed
2621
2622
2623
2624
        "XVERSE-MoE-A4.2B": {
            DownloadSource.DEFAULT: "xverse/XVERSE-MoE-A4.2B",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-MoE-A4.2B",
        },
luopl's avatar
luopl committed
2625
        "XVERSE-7B-Chat-GPTQ-Int8": {
chenych's avatar
chenych committed
2626
2627
2628
            DownloadSource.DEFAULT: "xverse/XVERSE-7B-Chat-GPTQ-Int8",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-7B-Chat-GPTQ-Int8",
        },
luopl's avatar
luopl committed
2629
        "XVERSE-7B-Chat-GPTQ-Int4": {
chenych's avatar
chenych committed
2630
2631
2632
            DownloadSource.DEFAULT: "xverse/XVERSE-7B-Chat-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-7B-Chat-GPTQ-Int4",
        },
luopl's avatar
luopl committed
2633
        "XVERSE-13B-Chat-GPTQ-Int8": {
chenych's avatar
chenych committed
2634
2635
2636
            DownloadSource.DEFAULT: "xverse/XVERSE-13B-Chat-GPTQ-Int8",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-13B-Chat-GPTQ-Int8",
        },
luopl's avatar
luopl committed
2637
        "XVERSE-13B-Chat-GPTQ-Int4": {
chenych's avatar
chenych committed
2638
2639
2640
            DownloadSource.DEFAULT: "xverse/XVERSE-13B-Chat-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-13B-Chat-GPTQ-Int4",
        },
luopl's avatar
luopl committed
2641
        "XVERSE-65B-Chat-GPTQ-Int4": {
chenych's avatar
chenych committed
2642
2643
2644
            DownloadSource.DEFAULT: "xverse/XVERSE-65B-Chat-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-65B-Chat-GPTQ-Int4",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
    },
    template="xverse",
)


register_model_group(
    models={
        "Yayi-7B": {
            DownloadSource.DEFAULT: "wenge-research/yayi-7b-llama2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/yayi-7b-llama2",
        },
        "Yayi-13B": {
            DownloadSource.DEFAULT: "wenge-research/yayi-13b-llama2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/yayi-13b-llama2",
        },
    },
    template="yayi",
)


register_model_group(
    models={
        "Yi-6B": {
            DownloadSource.DEFAULT: "01-ai/Yi-6B",
            DownloadSource.MODELSCOPE: "01ai/Yi-6B",
        },
        "Yi-9B": {
            DownloadSource.DEFAULT: "01-ai/Yi-9B",
            DownloadSource.MODELSCOPE: "01ai/Yi-9B",
        },
        "Yi-34B": {
            DownloadSource.DEFAULT: "01-ai/Yi-34B",
            DownloadSource.MODELSCOPE: "01ai/Yi-34B",
        },
        "Yi-6B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat",
        },
        "Yi-34B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat",
        },
luopl's avatar
luopl committed
2687
        "Yi-6B-Chat-8bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2688
2689
2690
            DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat-8bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat-8bits",
        },
luopl's avatar
luopl committed
2691
        "Yi-6B-Chat-4bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2692
2693
2694
            DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat-4bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat-4bits",
        },
luopl's avatar
luopl committed
2695
        "Yi-34B-Chat-8bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2696
2697
2698
            DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat-8bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat-8bits",
        },
luopl's avatar
luopl committed
2699
        "Yi-34B-Chat-4bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2700
2701
2702
            DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat-4bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat-4bits",
        },
chenych's avatar
chenych committed
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
        "Yi-1.5-6B": {
            DownloadSource.DEFAULT: "01-ai/Yi-1.5-6B",
            DownloadSource.MODELSCOPE: "01ai/Yi-1.5-6B",
        },
        "Yi-1.5-9B": {
            DownloadSource.DEFAULT: "01-ai/Yi-1.5-9B",
            DownloadSource.MODELSCOPE: "01ai/Yi-1.5-9B",
        },
        "Yi-1.5-34B": {
            DownloadSource.DEFAULT: "01-ai/Yi-1.5-34B",
            DownloadSource.MODELSCOPE: "01ai/Yi-1.5-34B",
        },
        "Yi-1.5-6B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-1.5-6B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-1.5-6B-Chat",
luopl's avatar
luopl committed
2718
            DownloadSource.OPENMIND: "LlamaFactory/Yi-1.5-6B-Chat",
chenych's avatar
chenych committed
2719
2720
2721
2722
2723
2724
2725
2726
2727
        },
        "Yi-1.5-9B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-1.5-9B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-1.5-9B-Chat",
        },
        "Yi-1.5-34B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-1.5-34B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-1.5-34B-Chat",
        },
luopl's avatar
luopl committed
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
        "Yi-Coder-1.5B": {
            DownloadSource.DEFAULT: "01-ai/Yi-Coder-1.5B",
            DownloadSource.MODELSCOPE: "01ai/Yi-Coder-1.5B",
        },
        "Yi-Coder-9B": {
            DownloadSource.DEFAULT: "01-ai/Yi-Coder-9B",
            DownloadSource.MODELSCOPE: "01ai/Yi-Coder-9B",
        },
        "Yi-Coder-1.5B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-Coder-1.5B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-Coder-1.5B-Chat",
        },
        "Yi-Coder-9B-Chat": {
            DownloadSource.DEFAULT: "01-ai/Yi-Coder-9B-Chat",
            DownloadSource.MODELSCOPE: "01ai/Yi-Coder-9B-Chat",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2744
2745
2746
2747
2748
    },
    template="yi",
)


chenych's avatar
chenych committed
2749
2750
register_model_group(
    models={
luopl's avatar
luopl committed
2751
        "Yi-VL-6B-Chat": {
chenych's avatar
chenych committed
2752
2753
            DownloadSource.DEFAULT: "BUAADreamer/Yi-VL-6B-hf",
        },
luopl's avatar
luopl committed
2754
        "Yi-VL-34B-Chat": {
chenych's avatar
chenych committed
2755
2756
2757
2758
            DownloadSource.DEFAULT: "BUAADreamer/Yi-VL-34B-hf",
        },
    },
    template="yi_vl",
chenych's avatar
chenych committed
2759
    multimodal=True,
chenych's avatar
chenych committed
2760
2761
2762
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
register_model_group(
    models={
        "Yuan2-2B-Chat": {
            DownloadSource.DEFAULT: "IEITYuan/Yuan2-2B-hf",
            DownloadSource.MODELSCOPE: "YuanLLM/Yuan2.0-2B-hf",
        },
        "Yuan2-51B-Chat": {
            DownloadSource.DEFAULT: "IEITYuan/Yuan2-51B-hf",
            DownloadSource.MODELSCOPE: "YuanLLM/Yuan2.0-51B-hf",
        },
        "Yuan2-102B-Chat": {
            DownloadSource.DEFAULT: "IEITYuan/Yuan2-102B-hf",
            DownloadSource.MODELSCOPE: "YuanLLM/Yuan2.0-102B-hf",
        },
    },
    template="yuan",
)


register_model_group(
    models={
        "Zephyr-7B-Alpha-Chat": {
            DownloadSource.DEFAULT: "HuggingFaceH4/zephyr-7b-alpha",
            DownloadSource.MODELSCOPE: "AI-ModelScope/zephyr-7b-alpha",
        },
        "Zephyr-7B-Beta-Chat": {
            DownloadSource.DEFAULT: "HuggingFaceH4/zephyr-7b-beta",
            DownloadSource.MODELSCOPE: "modelscope/zephyr-7b-beta",
        },
chenych's avatar
chenych committed
2792
2793
2794
        "Zephyr-141B-ORPO-Chat": {
            DownloadSource.DEFAULT: "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2795
2796
2797
    },
    template="zephyr",
)