constants.py 114 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
from collections import OrderedDict, defaultdict
chenych's avatar
chenych committed
17
from enum import Enum, unique
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
AUDIO_PLACEHOLDER = os.getenv("AUDIO_PLACEHOLDER", "<audio>")
chenych's avatar
chenych committed
26

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

chenych's avatar
chenych committed
53
IMAGE_PLACEHOLDER = os.getenv("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"

chenych's avatar
chenych committed
92
VIDEO_PLACEHOLDER = os.getenv("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
125
126
127
128
129
130
@unique
class QuantizationMethod(str, Enum):
    r"""Borrowed from `transformers.utils.quantization_config.QuantizationMethod`."""

    BNB = "bnb"
    GPTQ = "gptq"
    AWQ = "awq"
    AQLM = "aqlm"
    QUANTO = "quanto"
    EETQ = "eetq"
    HQQ = "hqq"


chenych's avatar
chenych committed
131
132
133
134
135
136
137
class RopeScaling(str, Enum):
    LINEAR = "linear"
    DYNAMIC = "dynamic"
    YARN = "yarn"
    LLAMA3 = "llama3"


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
138
def register_model_group(
chenych's avatar
chenych committed
139
    models: dict[str, dict[DownloadSource, str]],
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
140
    template: Optional[str] = None,
chenych's avatar
chenych committed
141
    multimodal: bool = False,
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
142
143
144
) -> None:
    for name, path in models.items():
        SUPPORTED_MODELS[name] = path
chenych's avatar
chenych committed
145
146
147
        if template is not None and (
            any(suffix in name for suffix in ("-Chat", "-Distill", "-Instruct")) or multimodal
        ):
luopl's avatar
luopl committed
148
            DEFAULT_TEMPLATE[name] = template
chenych's avatar
chenych committed
149

chenych's avatar
chenych committed
150
151
        if multimodal:
            MULTIMODAL_SUPPORTED_MODELS.add(name)
chenych's avatar
chenych committed
152
153
154
155
156
157
158
159
160
161
162
163
164


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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194


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
195
            DownloadSource.OPENMIND: "Baichuan/Baichuan2_13b_base_pt",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
196
197
198
199
        },
        "Baichuan2-7B-Chat": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan2-7B-Chat",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan2-7B-Chat",
luopl's avatar
luopl committed
200
            DownloadSource.OPENMIND: "Baichuan/Baichuan2_7b_chat_pt",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
201
202
203
204
        },
        "Baichuan2-13B-Chat": {
            DownloadSource.DEFAULT: "baichuan-inc/Baichuan2-13B-Chat",
            DownloadSource.MODELSCOPE: "baichuan-inc/Baichuan2-13B-Chat",
luopl's avatar
luopl committed
205
            DownloadSource.OPENMIND: "Baichuan/Baichuan2_13b_chat_pt",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
        },
    },
    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
268
        "Breeze-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
            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
304
        "Chinese-Llama-2-1.3B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
305
306
307
            DownloadSource.DEFAULT: "hfl/chinese-llama-2-1.3b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-llama-2-1.3b",
        },
luopl's avatar
luopl committed
308
        "Chinese-Llama-2-7B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
309
310
311
            DownloadSource.DEFAULT: "hfl/chinese-llama-2-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-llama-2-7b",
        },
luopl's avatar
luopl committed
312
        "Chinese-Llama-2-13B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
313
314
315
            DownloadSource.DEFAULT: "hfl/chinese-llama-2-13b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-llama-2-13b",
        },
luopl's avatar
luopl committed
316
        "Chinese-Alpaca-2-1.3B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
317
318
319
            DownloadSource.DEFAULT: "hfl/chinese-alpaca-2-1.3b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-alpaca-2-1.3b",
        },
luopl's avatar
luopl committed
320
        "Chinese-Alpaca-2-7B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
321
322
323
            DownloadSource.DEFAULT: "hfl/chinese-alpaca-2-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-alpaca-2-7b",
        },
luopl's avatar
luopl committed
324
        "Chinese-Alpaca-2-13B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
325
326
327
328
329
330
331
332
            DownloadSource.DEFAULT: "hfl/chinese-alpaca-2-13b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/chinese-alpaca-2-13b",
        },
    },
    template="llama2_zh",
)


chenych's avatar
chenych committed
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
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
349
        "CodeGemma-7B-Instruct": {
chenych's avatar
chenych committed
350
351
352
353
354
355
            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
356
        "CodeGemma-1.1-7B-Instruct": {
chenych's avatar
chenych committed
357
358
359
360
361
362
363
364
365
366
367
            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
368
            DownloadSource.MODELSCOPE: "swift/Codestral-22B-v0.1",
chenych's avatar
chenych committed
369
370
371
372
373
374
        },
    },
    template="mistral",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
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
397
398
399
400
401
402
register_model_group(
    models={
        "DBRX-132B-Base": {
            DownloadSource.DEFAULT: "databricks/dbrx-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/dbrx-base",
        },
luopl's avatar
luopl committed
403
        "DBRX-132B-Instruct": {
chenych's avatar
chenych committed
404
405
406
407
408
409
410
411
            DownloadSource.DEFAULT: "databricks/dbrx-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/dbrx-instruct",
        },
    },
    template="dbrx",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
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
432
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-math-7b-base",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
433
        },
luopl's avatar
luopl committed
434
        "DeepSeek-Math-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
435
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-math-7b-instruct",
chenych's avatar
chenych committed
436
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-math-7b-instruct",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
437
438
439
440
441
        },
        "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
442
443
444
445
446
        "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
447
448
449
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Lite",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Lite",
        },
luopl's avatar
luopl committed
450
        "DeepSeek-V2-236B-Base": {
chenych's avatar
chenych committed
451
452
453
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2",
        },
luopl's avatar
luopl committed
454
        "DeepSeek-V2-16B-Chat": {
chenych's avatar
chenych committed
455
456
457
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Lite-Chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Lite-Chat",
        },
luopl's avatar
luopl committed
458
        "DeepSeek-V2-236B-Chat": {
chenych's avatar
chenych committed
459
460
461
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2-Chat",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2-Chat",
        },
luopl's avatar
luopl committed
462
        "DeepSeek-Coder-V2-16B-Base": {
chenych's avatar
chenych committed
463
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Lite-Base",
luopl's avatar
luopl committed
464
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Lite-Base",
chenych's avatar
chenych committed
465
        },
luopl's avatar
luopl committed
466
        "DeepSeek-Coder-V2-236B-Base": {
chenych's avatar
chenych committed
467
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Base",
luopl's avatar
luopl committed
468
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Base",
chenych's avatar
chenych committed
469
        },
luopl's avatar
luopl committed
470
        "DeepSeek-Coder-V2-16B-Instruct": {
chenych's avatar
chenych committed
471
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
luopl's avatar
luopl committed
472
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
chenych's avatar
chenych committed
473
        },
luopl's avatar
luopl committed
474
        "DeepSeek-Coder-V2-236B-Instruct": {
chenych's avatar
chenych committed
475
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-Coder-V2-Instruct",
luopl's avatar
luopl committed
476
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-Coder-V2-Instruct",
chenych's avatar
chenych committed
477
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
478
479
480
481
482
483
484
    },
    template="deepseek",
)


register_model_group(
    models={
luopl's avatar
luopl committed
485
        "DeepSeek-Coder-6.7B-Base": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
486
487
488
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-6.7b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-6.7b-base",
        },
luopl's avatar
luopl committed
489
        "DeepSeek-Coder-7B-Base": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
490
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-7b-base-v1.5",
luopl's avatar
luopl committed
491
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-7b-base-v1.5",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
492
        },
luopl's avatar
luopl committed
493
        "DeepSeek-Coder-33B-Base": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
494
495
496
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-33b-base",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-33b-base",
        },
luopl's avatar
luopl committed
497
        "DeepSeek-Coder-6.7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
498
499
500
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-6.7b-instruct",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-6.7b-instruct",
        },
luopl's avatar
luopl committed
501
        "DeepSeek-Coder-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
502
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
luopl's avatar
luopl committed
503
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
504
        },
luopl's avatar
luopl committed
505
        "DeepSeek-Coder-33B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
506
507
508
509
510
511
512
513
            DownloadSource.DEFAULT: "deepseek-ai/deepseek-coder-33b-instruct",
            DownloadSource.MODELSCOPE: "deepseek-ai/deepseek-coder-33b-instruct",
        },
    },
    template="deepseekcoder",
)


luopl's avatar
luopl committed
514
515
register_model_group(
    models={
chenych's avatar
chenych committed
516
        "DeepSeek-V2-0628-236B-Chat": {
luopl's avatar
luopl committed
517
518
519
520
521
522
523
            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",
        },
chenych's avatar
chenych committed
524
        "DeepSeek-V2.5-1210-236B-Chat": {
luopl's avatar
luopl committed
525
526
527
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V2.5-1210",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V2.5-1210",
        },
chenych's avatar
chenych committed
528
        "DeepSeek-V3-671B-Base": {
luopl's avatar
luopl committed
529
530
531
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V3-Base",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V3-Base",
        },
chenych's avatar
chenych committed
532
        "DeepSeek-V3-671B-Chat": {
luopl's avatar
luopl committed
533
534
535
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V3",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V3",
        },
chenych's avatar
chenych committed
536
        "DeepSeek-V3-0324-671B-Chat": {
chenych's avatar
chenych committed
537
538
539
540
541
542
543
544
545
546
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-V3-0324",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-V3-0324",
        },
    },
    template="deepseek3",
)


register_model_group(
    models={
chenych's avatar
chenych committed
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
        "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",
        },
chenych's avatar
chenych committed
579
580
581
582
583
        "DeepSeek-R1-0528-8B-Distill": {
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B",
        },
        "DeepSeek-R1-0528-671B-Chat": {
chenych's avatar
chenych committed
584
585
586
            DownloadSource.DEFAULT: "deepseek-ai/DeepSeek-R1-0528",
            DownloadSource.MODELSCOPE: "deepseek-ai/DeepSeek-R1-0528",
        },
luopl's avatar
luopl committed
587
    },
chenych's avatar
chenych committed
588
    template="deepseekr1",
luopl's avatar
luopl committed
589
590
591
)


luopl's avatar
luopl committed
592
593
594
595
596
597
598
599
600
601
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
602
603
604
605
606
607
register_model_group(
    models={
        "Falcon-7B": {
            DownloadSource.DEFAULT: "tiiuae/falcon-7b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/falcon-7b",
        },
chenych's avatar
chenych committed
608
609
        "Falcon-11B": {
            DownloadSource.DEFAULT: "tiiuae/falcon-11B",
luopl's avatar
luopl committed
610
            DownloadSource.MODELSCOPE: "tiiuae/falcon-11B",
chenych's avatar
chenych committed
611
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
612
613
614
615
616
617
618
619
        "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
620
        "Falcon-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
621
622
623
            DownloadSource.DEFAULT: "tiiuae/falcon-7b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/falcon-7b-instruct",
        },
luopl's avatar
luopl committed
624
        "Falcon-40B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
            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
647
        "Gemma-2B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
648
649
650
            DownloadSource.DEFAULT: "google/gemma-2b-it",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gemma-7b",
        },
luopl's avatar
luopl committed
651
        "Gemma-7B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
652
653
654
            DownloadSource.DEFAULT: "google/gemma-7b-it",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gemma-7b-it",
        },
luopl's avatar
luopl committed
655
        "Gemma-1.1-2B-Instruct": {
chenych's avatar
chenych committed
656
657
            DownloadSource.DEFAULT: "google/gemma-1.1-2b-it",
        },
luopl's avatar
luopl committed
658
        "Gemma-1.1-7B-Instruct": {
chenych's avatar
chenych committed
659
660
661
662
663
664
665
666
667
668
669
670
671
672
            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
673
        "Gemma-2-2B-Instruct": {
chenych's avatar
chenych committed
674
675
            DownloadSource.DEFAULT: "google/gemma-2-2b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-2b-it",
luopl's avatar
luopl committed
676
            DownloadSource.OPENMIND: "LlamaFactory/gemma-2-2b-it",
chenych's avatar
chenych committed
677
        },
luopl's avatar
luopl committed
678
        "Gemma-2-9B-Instruct": {
chenych's avatar
chenych committed
679
680
            DownloadSource.DEFAULT: "google/gemma-2-9b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-9b-it",
luopl's avatar
luopl committed
681
            DownloadSource.OPENMIND: "LlamaFactory/gemma-2-9b-it",
chenych's avatar
chenych committed
682
        },
luopl's avatar
luopl committed
683
        "Gemma-2-27B-Instruct": {
chenych's avatar
chenych committed
684
685
686
            DownloadSource.DEFAULT: "google/gemma-2-27b-it",
            DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-27b-it",
        },
chenych's avatar
chenych committed
687
688
689
690
691
692
693
694
        "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",
        },
chenych's avatar
chenych committed
695
696
697
698
        "MedGemma-27B-Instruct": {
            DownloadSource.DEFAULT: "google/medgemma-27b-text-it",
            DownloadSource.MODELSCOPE: "google/medgemma-27b-text-it",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
699
700
701
702
703
    },
    template="gemma",
)


chenych's avatar
chenych committed
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
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",
        },
chenych's avatar
chenych committed
730
731
732
733
734
735
736
737
        "MedGemma-4B": {
            DownloadSource.DEFAULT: "google/medgemma-4b-pt",
            DownloadSource.MODELSCOPE: "google/medgemma-4b-pt",
        },
        "MedGemma-4B-Instruct": {
            DownloadSource.DEFAULT: "google/medgemma-4b-it",
            DownloadSource.MODELSCOPE: "google/medgemma-4b-it",
        },
chenych's avatar
chenych committed
738
739
740
741
742
743
    },
    template="gemma3",
    multimodal=True,
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
744
745
register_model_group(
    models={
chenych's avatar
chenych committed
746
747
748
        "GLM-4-9B": {
            DownloadSource.DEFAULT: "THUDM/glm-4-9b",
            DownloadSource.MODELSCOPE: "ZhipuAI/glm-4-9b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
749
        },
chenych's avatar
chenych committed
750
751
752
        "GLM-4-9B-Chat": {
            DownloadSource.DEFAULT: "THUDM/glm-4-9b-chat",
            DownloadSource.MODELSCOPE: "ZhipuAI/glm-4-9b-chat",
luopl's avatar
luopl committed
753
            DownloadSource.OPENMIND: "LlamaFactory/glm-4-9b-chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
754
        },
chenych's avatar
chenych committed
755
756
757
        "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
758
        },
chenych's avatar
chenych committed
759
        "GLM-4-0414-9B-Chat": {
chenych's avatar
chenych committed
760
761
762
            DownloadSource.DEFAULT: "THUDM/GLM-4-9B-0414",
            DownloadSource.MODELSCOPE: "ZhipuAI/GLM-4-9B-0414",
        },
chenych's avatar
chenych committed
763
        "GLM-4-0414-32B-Base": {
chenych's avatar
chenych committed
764
765
766
            DownloadSource.DEFAULT: "THUDM/GLM-4-32B-Base-0414",
            DownloadSource.MODELSCOPE: "ZhipuAI/GLM-4-32B-Base-0414",
        },
chenych's avatar
chenych committed
767
        "GLM-4-0414-32B-Chat": {
chenych's avatar
chenych committed
768
769
770
            DownloadSource.DEFAULT: "THUDM/GLM-4-32B-0414",
            DownloadSource.MODELSCOPE: "ZhipuAI/GLM-4-32B-0414",
        },
chenych's avatar
chenych committed
771
772
773
774
775
776
777
    },
    template="glm4",
)


register_model_group(
    models={
chenych's avatar
chenych committed
778
        "GLM-Z1-0414-9B-Chat": {
chenych's avatar
chenych committed
779
780
781
            DownloadSource.DEFAULT: "THUDM/GLM-Z1-9B-0414",
            DownloadSource.MODELSCOPE: "ZhipuAI/GLM-Z1-9B-0414",
        },
chenych's avatar
chenych committed
782
        "GLM-Z1-0414-32B-Chat": {
chenych's avatar
chenych committed
783
784
785
            DownloadSource.DEFAULT: "THUDM/GLM-Z1-32B-0414",
            DownloadSource.MODELSCOPE: "ZhipuAI/GLM-Z1-32B-0414",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
786
    },
chenych's avatar
chenych committed
787
    template="glmz1",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
788
789
790
)


luopl's avatar
luopl committed
791
792
register_model_group(
    models={
luopl's avatar
luopl committed
793
794
795
        "GPT-2-Small": {
            DownloadSource.DEFAULT: "openai-community/gpt2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/gpt2",
luopl's avatar
luopl committed
796
        },
luopl's avatar
luopl committed
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
        "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
842
        },
luopl's avatar
luopl committed
843
844
845
846
847
848
849
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
        "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",
        },
chenych's avatar
chenych committed
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
        "Granite-3.2-2B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.2-2b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.2-2b-instruct",
        },
        "Granite-3.2-8B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.2-8b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.2-8b-instruct",
        },
        "Granite-3.3-2B-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.3-2b-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.3-2b-base",
        },
        "Granite-3.3-8B-Base": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.3-8b-base",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.3-8b-base",
        },
        "Granite-3.3-2B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.3-2b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.3-2b-instruct",
        },
        "Granite-3.3-8B-Instruct": {
            DownloadSource.DEFAULT: "ibm-granite/granite-3.3-8b-instruct",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-3.3-8b-instruct",
        },
luopl's avatar
luopl committed
903
904
905
906
907
    },
    template="granite3",
)


chenych's avatar
chenych committed
908
909
register_model_group(
    models={
chenych's avatar
chenych committed
910
        "Granite-Vision-3.2-2B": {
chenych's avatar
chenych committed
911
912
913
914
915
            DownloadSource.DEFAULT: "ibm-granite/granite-vision-3.2-2b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/granite-vision-3.2-2b",
        },
    },
    template="granite3_vision",
chenych's avatar
chenych committed
916
    multimodal=True,
chenych's avatar
chenych committed
917
918
919
)


chenych's avatar
chenych committed
920
921
922
923
924
925
926
927
928
929
930
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
931
932
register_model_group(
    models={
luopl's avatar
luopl committed
933
934
935
936
937
938
939
940
        "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
941
942
943
944
945
946
947
948
        "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
949
950
951
952
953
954
955
956
957
        "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
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
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
999
1000
1001
        "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
1002
            DownloadSource.OPENMIND: "Intern/internlm2_5-1_8b",
luopl's avatar
luopl committed
1003
        },
chenych's avatar
chenych committed
1004
1005
1006
1007
        "InternLM2.5-7B": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-7b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-7b",
        },
luopl's avatar
luopl committed
1008
1009
1010
        "InternLM2.5-20B": {
            DownloadSource.DEFAULT: "internlm/internlm2_5-20b",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm2_5-20b",
luopl's avatar
luopl committed
1011
            DownloadSource.OPENMIND: "Intern/internlm2_5-20b",
luopl's avatar
luopl committed
1012
1013
1014
1015
        },
        "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
1016
            DownloadSource.OPENMIND: "Intern/internlm2_5-1_8b-chat",
luopl's avatar
luopl committed
1017
        },
chenych's avatar
chenych committed
1018
1019
1020
        "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
1021
            DownloadSource.OPENMIND: "Intern/internlm2_5-7b-chat",
chenych's avatar
chenych committed
1022
1023
1024
1025
        },
        "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
1026
            DownloadSource.OPENMIND: "Intern/internlm2_5-7b-chat-1m",
chenych's avatar
chenych committed
1027
        },
luopl's avatar
luopl committed
1028
1029
1030
        "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
1031
            DownloadSource.OPENMIND: "Intern/internlm2_5-20b-chat",
luopl's avatar
luopl committed
1032
        },
luopl's avatar
luopl committed
1033
1034
1035
1036
1037
        "InternLM3-8B-Chat": {
            DownloadSource.DEFAULT: "internlm/internlm3-8b-instruct",
            DownloadSource.MODELSCOPE: "Shanghai_AI_Laboratory/internlm3-8b-instruct",
        },
    },
chenych's avatar
chenych committed
1038
    template="intern2",
luopl's avatar
luopl committed
1039
)
chenych's avatar
chenych committed
1040

chenych's avatar
chenych committed
1041

chenych's avatar
chenych committed
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
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
1080
1081
register_model_group(
    models={
        "InternVL2.5-2B-MPO": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL2_5-2B-MPO-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL2_5-2B-MPO-hf",
        },
        "InternVL2.5-8B-MPO": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL2_5-8B-MPO-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL2_5-8B-MPO-hf",
        },
        "InternVL3-1B-hf": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL3-1B-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL3-1B-hf",
        },
        "InternVL3-2B-hf": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL3-2B-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL3-2B-hf",
        },
        "InternVL3-8B-hf": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL3-8B-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL3-8B-hf",
        },
        "InternVL3-14B-hf": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL3-14B-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL3-14B-hf",
        },
        "InternVL3-38B-hf": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL3-38B-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL3-38B-hf",
        },
        "InternVL3-78B-hf": {
            DownloadSource.DEFAULT: "OpenGVLab/InternVL3-78B-hf",
            DownloadSource.MODELSCOPE: "OpenGVLab/InternVL3-78B-hf",
        },
    },
    template="intern_vl",
    multimodal=True,
)


chenych's avatar
chenych committed
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
register_model_group(
    models={
        "Jamba-v0.1": {
            DownloadSource.DEFAULT: "ai21labs/Jamba-v0.1",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Jamba-v0.1",
        }
    },
)


chenych's avatar
chenych committed
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
register_model_group(
    models={
        "Kimi-VL-A3B-Instruct": {
            DownloadSource.DEFAULT: "moonshotai/Kimi-VL-A3B-Instruct",
            DownloadSource.MODELSCOPE: "moonshotai/Kimi-VL-A3B-Instruct",
        },
        "Kimi-VL-A3B-Thinking": {
            DownloadSource.DEFAULT: "moonshotai/Kimi-VL-A3B-Thinking",
            DownloadSource.MODELSCOPE: "moonshotai/Kimi-VL-A3B-Thinking",
        },
    },
    template="kimi_vl",
    multimodal=True,
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
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
1120
        "Llama-7B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1121
1122
1123
            DownloadSource.DEFAULT: "huggyllama/llama-7b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-7b",
        },
luopl's avatar
luopl committed
1124
        "Llama-13B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1125
1126
1127
            DownloadSource.DEFAULT: "huggyllama/llama-13b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-13b",
        },
luopl's avatar
luopl committed
1128
        "Llama-30B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1129
1130
1131
            DownloadSource.DEFAULT: "huggyllama/llama-30b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-30b",
        },
luopl's avatar
luopl committed
1132
        "Llama-65B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1133
1134
1135
1136
1137
1138
1139
1140
1141
            DownloadSource.DEFAULT: "huggyllama/llama-65b",
            DownloadSource.MODELSCOPE: "skyline2006/llama-65b",
        },
    }
)


register_model_group(
    models={
luopl's avatar
luopl committed
1142
        "Llama-2-7B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1143
1144
1145
            DownloadSource.DEFAULT: "meta-llama/Llama-2-7b-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-7b-ms",
        },
luopl's avatar
luopl committed
1146
        "Llama-2-13B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1147
1148
1149
            DownloadSource.DEFAULT: "meta-llama/Llama-2-13b-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-13b-ms",
        },
luopl's avatar
luopl committed
1150
        "Llama-2-70B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1151
1152
1153
            DownloadSource.DEFAULT: "meta-llama/Llama-2-70b-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-70b-ms",
        },
luopl's avatar
luopl committed
1154
        "Llama-2-7B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1155
1156
1157
            DownloadSource.DEFAULT: "meta-llama/Llama-2-7b-chat-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-7b-chat-ms",
        },
luopl's avatar
luopl committed
1158
        "Llama-2-13B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1159
1160
1161
            DownloadSource.DEFAULT: "meta-llama/Llama-2-13b-chat-hf",
            DownloadSource.MODELSCOPE: "modelscope/Llama-2-13b-chat-ms",
        },
luopl's avatar
luopl committed
1162
        "Llama-2-70B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
            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
1173
        "Llama-3-8B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1174
1175
1176
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-8B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-8B",
        },
luopl's avatar
luopl committed
1177
        "Llama-3-70B": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1178
1179
1180
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-70B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-70B",
        },
luopl's avatar
luopl committed
1181
        "Llama-3-8B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1182
1183
1184
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-8B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-8B-Instruct",
        },
luopl's avatar
luopl committed
1185
        "Llama-3-70B-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1186
1187
1188
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-70B-Instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3-70B-Instruct",
        },
luopl's avatar
luopl committed
1189
        "Llama-3-8B-Chinese-Chat": {
chenych's avatar
chenych committed
1190
1191
            DownloadSource.DEFAULT: "shenzhi-wang/Llama3-8B-Chinese-Chat",
            DownloadSource.MODELSCOPE: "LLM-Research/Llama3-8B-Chinese-Chat",
luopl's avatar
luopl committed
1192
            DownloadSource.OPENMIND: "LlamaFactory/Llama3-Chinese-8B-Instruct",
chenych's avatar
chenych committed
1193
        },
luopl's avatar
luopl committed
1194
        "Llama-3-70B-Chinese-Chat": {
chenych's avatar
chenych committed
1195
1196
            DownloadSource.DEFAULT: "shenzhi-wang/Llama3-70B-Chinese-Chat",
        },
luopl's avatar
luopl committed
1197
        "Llama-3.1-8B": {
chenych's avatar
chenych committed
1198
1199
1200
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-8B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-8B",
        },
luopl's avatar
luopl committed
1201
        "Llama-3.1-70B": {
chenych's avatar
chenych committed
1202
1203
1204
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-70B",
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-70B",
        },
luopl's avatar
luopl committed
1205
        "Llama-3.1-405B": {
chenych's avatar
chenych committed
1206
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-405B",
luopl's avatar
luopl committed
1207
            DownloadSource.MODELSCOPE: "LLM-Research/Meta-Llama-3.1-405B",
chenych's avatar
chenych committed
1208
        },
luopl's avatar
luopl committed
1209
        "Llama-3.1-8B-Instruct": {
chenych's avatar
chenych committed
1210
1211
1212
            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
1213
        "Llama-3.1-70B-Instruct": {
chenych's avatar
chenych committed
1214
1215
1216
            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
1217
        "Llama-3.1-405B-Instruct": {
chenych's avatar
chenych committed
1218
            DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3.1-405B-Instruct",
luopl's avatar
luopl committed
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
            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
1244
        },
luopl's avatar
luopl committed
1245
1246
1247
1248
        "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
1249
1250
1251
1252
1253
    },
    template="llama3",
)


luopl's avatar
luopl committed
1254
1255
register_model_group(
    models={
luopl's avatar
luopl committed
1256
1257
1258
1259
        "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
1260
1261
1262
1263
        "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
1264
1265
1266
1267
        "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
1268
1269
1270
1271
1272
1273
        "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
1274
    multimodal=True,
luopl's avatar
luopl committed
1275
1276
1277
)


chenych's avatar
chenych committed
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
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
1302
1303
register_model_group(
    models={
luopl's avatar
luopl committed
1304
        "LLaVA-1.5-7B-Chat": {
chenych's avatar
chenych committed
1305
            DownloadSource.DEFAULT: "llava-hf/llava-1.5-7b-hf",
luopl's avatar
luopl committed
1306
            DownloadSource.MODELSCOPE: "swift/llava-1.5-7b-hf",
chenych's avatar
chenych committed
1307
        },
luopl's avatar
luopl committed
1308
        "LLaVA-1.5-13B-Chat": {
chenych's avatar
chenych committed
1309
            DownloadSource.DEFAULT: "llava-hf/llava-1.5-13b-hf",
luopl's avatar
luopl committed
1310
            DownloadSource.MODELSCOPE: "swift/llava-1.5-13b-hf",
chenych's avatar
chenych committed
1311
1312
        },
    },
luopl's avatar
luopl committed
1313
    template="llava",
chenych's avatar
chenych committed
1314
    multimodal=True,
luopl's avatar
luopl committed
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
)


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
1330
    multimodal=True,
luopl's avatar
luopl committed
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
)


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
1342
    multimodal=True,
luopl's avatar
luopl committed
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
)


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
1354
    multimodal=True,
luopl's avatar
luopl committed
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
)


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
1366
    multimodal=True,
luopl's avatar
luopl committed
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
)


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
1382
    multimodal=True,
luopl's avatar
luopl committed
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
)


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
1398
    multimodal=True,
luopl's avatar
luopl committed
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
)


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
1410
    multimodal=True,
luopl's avatar
luopl committed
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
)


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
1425
    multimodal=True,
chenych's avatar
chenych committed
1426
1427
1428
)


luopl's avatar
luopl committed
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
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
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
register_model_group(
    models={
        "MiMo-7B-Base": {
            DownloadSource.DEFAULT: "XiaomiMiMo/MiMo-7B-Base",
            DownloadSource.MODELSCOPE: "XiaomiMiMo/MiMo-7B-Base",
        },
        "MiMo-7B-Instruct": {
            DownloadSource.DEFAULT: "XiaomiMiMo/MiMo-7B-SFT",
            DownloadSource.MODELSCOPE: "XiaomiMiMo/MiMo-7B-SFT",
        },
        "MiMo-7B-Instruct-RL": {
            DownloadSource.DEFAULT: "XiaomiMiMo/MiMo-7B-RL",
            DownloadSource.MODELSCOPE: "XiaomiMiMo/MiMo-7B-RL",
        },
        "MiMo-7B-RL-ZERO": {
            DownloadSource.DEFAULT: "XiaomiMiMo/MiMo-7B-RL-ZERO",
            DownloadSource.MODELSCOPE: "XiaomiMiMo/MiMo-7B-RL-ZERO",
        },
    },
    template="mimo",
)


register_model_group(
    models={
        "MiMo-7B-VL-Instruct": {
            DownloadSource.DEFAULT: "XiaomiMiMo/MiMo-VL-7B-SFT",
            DownloadSource.MODELSCOPE: "XiaomiMiMo/MiMo-VL-7B-SFT",
        },
        "MiMo-7B-VL-RL": {
            DownloadSource.DEFAULT: "XiaomiMiMo/MiMo-VL-7B-RL",
            DownloadSource.MODELSCOPE: "XiaomiMiMo/MiMo-VL-7B-RL",
        },
    },
    template="mimo_vl",
    multimodal=True,
)


chenych's avatar
chenych committed
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
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
1494
1495
1496
1497
1498
register_model_group(
    models={
        "MiniCPM3-4B-Chat": {
            DownloadSource.DEFAULT: "openbmb/MiniCPM3-4B",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM3-4B",
luopl's avatar
luopl committed
1499
            DownloadSource.OPENMIND: "LlamaFactory/MiniCPM3-4B",
luopl's avatar
luopl committed
1500
1501
1502
1503
1504
1505
        },
    },
    template="cpm3",
)


chenych's avatar
chenych committed
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
register_model_group(
    models={
        "MiniCPM4-0.5B-Chat": {
            DownloadSource.DEFAULT: "openbmb/MiniCPM4-0.5B",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM4-0.5B",
        },
        "MiniCPM4-8B-Chat": {
            DownloadSource.DEFAULT: "openbmb/MiniCPM4-8B",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM4-8B",
        },
    },
    template="cpm4",
)


luopl's avatar
luopl committed
1521
1522
register_model_group(
    models={
chenych's avatar
chenych committed
1523
        "MiniCPM-o-2_6": {
luopl's avatar
luopl committed
1524
1525
1526
1527
            DownloadSource.DEFAULT: "openbmb/MiniCPM-o-2_6",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-o-2_6",
        },
    },
chenych's avatar
chenych committed
1528
1529
    template="minicpm_o",
    multimodal=True,
luopl's avatar
luopl committed
1530
1531
1532
1533
1534
)


register_model_group(
    models={
chenych's avatar
chenych committed
1535
        "MiniCPM-V-2_6": {
luopl's avatar
luopl committed
1536
1537
1538
1539
1540
            DownloadSource.DEFAULT: "openbmb/MiniCPM-V-2_6",
            DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-V-2_6",
        },
    },
    template="minicpm_v",
chenych's avatar
chenych committed
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
    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
1561
1562
1563
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
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
1574
1575
1576
1577
1578
1579
1580
1581
        "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
1582
        "Mistral-7B-Instruct-v0.2": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1583
1584
1585
            DownloadSource.DEFAULT: "mistralai/Mistral-7B-Instruct-v0.2",
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-7B-Instruct-v0.2",
        },
luopl's avatar
luopl committed
1586
        "Mistral-7B-Instruct-v0.3": {
chenych's avatar
chenych committed
1587
1588
1589
            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
1590
1591
1592
1593
1594
    },
    template="mistral",
)


chenych's avatar
chenych committed
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
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",
)


chenych's avatar
chenych committed
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
register_model_group(
    models={
        "Mistral-Small-3.1-24B-Base": {
            DownloadSource.DEFAULT: "mistralai/Mistral-Small-3.1-24B-Base-2503",
            DownloadSource.MODELSCOPE: "mistralai/Mistral-Small-3.1-24B-Base-2503",
        },
        "Mistral-Small-3.1-24B-Instruct": {
            DownloadSource.DEFAULT: "mistralai/Mistral-Small-3.1-24B-Instruct-2503",
            DownloadSource.MODELSCOPE: "mistralai/Mistral-Small-3.1-24B-Instruct-2503",
        },
    },
    template="mistral_small",
    multimodal=True,
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1626
1627
1628
1629
1630
1631
1632
1633
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
1634
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mixtral-8x22B-v0.1",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1635
        },
chenych's avatar
chenych committed
1636
1637
1638
1639
        "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
1640
        "Mixtral-8x22B-v0.1-Instruct": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1641
            DownloadSource.DEFAULT: "mistralai/Mixtral-8x22B-Instruct-v0.1",
chenych's avatar
chenych committed
1642
            DownloadSource.MODELSCOPE: "AI-ModelScope/Mixtral-8x22B-Instruct-v0.1",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1643
1644
1645
1646
1647
1648
        },
    },
    template="mistral",
)


chenych's avatar
chenych committed
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
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
1664
1665
1666
register_model_group(
    models={
        "OLMo-1B": {
chenych's avatar
chenych committed
1667
            DownloadSource.DEFAULT: "allenai/OLMo-1B-hf",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1668
1669
        },
        "OLMo-7B": {
chenych's avatar
chenych committed
1670
            DownloadSource.DEFAULT: "allenai/OLMo-7B-hf",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1671
1672
        },
        "OLMo-7B-Chat": {
chenych's avatar
chenych committed
1673
1674
1675
1676
            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
1677
1678
1679
1680
1681
1682
1683
1684
1685
        },
    },
)


register_model_group(
    models={
        "OpenChat3.5-7B-Chat": {
            DownloadSource.DEFAULT: "openchat/openchat-3.5-0106",
chenych's avatar
chenych committed
1686
            DownloadSource.MODELSCOPE: "xcwzxcwz/openchat-3.5-0106",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1687
1688
1689
1690
1691
1692
        }
    },
    template="openchat",
)


chenych's avatar
chenych committed
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
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
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
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
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
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
1753
1754
register_model_group(
    models={
luopl's avatar
luopl committed
1755
        "PaliGemma-3B-pt-224": {
chenych's avatar
chenych committed
1756
1757
1758
            DownloadSource.DEFAULT: "google/paligemma-3b-pt-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-pt-224",
        },
luopl's avatar
luopl committed
1759
        "PaliGemma-3B-pt-448": {
chenych's avatar
chenych committed
1760
1761
1762
            DownloadSource.DEFAULT: "google/paligemma-3b-pt-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-pt-448",
        },
luopl's avatar
luopl committed
1763
        "PaliGemma-3B-pt-896": {
chenych's avatar
chenych committed
1764
1765
1766
            DownloadSource.DEFAULT: "google/paligemma-3b-pt-896",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-pt-896",
        },
luopl's avatar
luopl committed
1767
        "PaliGemma-3B-mix-224": {
chenych's avatar
chenych committed
1768
1769
1770
            DownloadSource.DEFAULT: "google/paligemma-3b-mix-224",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-mix-224",
        },
luopl's avatar
luopl committed
1771
        "PaliGemma-3B-mix-448": {
chenych's avatar
chenych committed
1772
1773
1774
1775
            DownloadSource.DEFAULT: "google/paligemma-3b-mix-448",
            DownloadSource.MODELSCOPE: "AI-ModelScope/paligemma-3b-mix-448",
        },
    },
luopl's avatar
luopl committed
1776
    template="paligemma",
chenych's avatar
chenych committed
1777
    multimodal=True,
chenych's avatar
chenych committed
1778
1779
1780
)


luopl's avatar
luopl committed
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
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
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
        "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
1843
1844
    },
    template="paligemma",
chenych's avatar
chenych committed
1845
    multimodal=True,
luopl's avatar
luopl committed
1846
1847
1848
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
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
1863
1864
register_model_group(
    models={
luopl's avatar
luopl committed
1865
        "Phi-3-4B-4k-Instruct": {
chenych's avatar
chenych committed
1866
1867
1868
            DownloadSource.DEFAULT: "microsoft/Phi-3-mini-4k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-mini-4k-instruct",
        },
luopl's avatar
luopl committed
1869
        "Phi-3-4B-128k-Instruct": {
chenych's avatar
chenych committed
1870
1871
1872
            DownloadSource.DEFAULT: "microsoft/Phi-3-mini-128k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-mini-128k-instruct",
        },
luopl's avatar
luopl committed
1873
        "Phi-3-14B-8k-Instruct": {
chenych's avatar
chenych committed
1874
1875
1876
            DownloadSource.DEFAULT: "microsoft/Phi-3-medium-4k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-medium-4k-instruct",
        },
luopl's avatar
luopl committed
1877
        "Phi-3-14B-128k-Instruct": {
chenych's avatar
chenych committed
1878
1879
1880
            DownloadSource.DEFAULT: "microsoft/Phi-3-medium-128k-instruct",
            DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-medium-128k-instruct",
        },
luopl's avatar
luopl committed
1881
1882
1883
1884
1885
1886
1887
1888
        "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
1889
1890
1891
1892
1893
    },
    template="phi",
)


luopl's avatar
luopl committed
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
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
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
        "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
1922
        "Pixtral-12B": {
luopl's avatar
luopl committed
1923
1924
1925
1926
1927
            DownloadSource.DEFAULT: "mistral-community/pixtral-12b",
            DownloadSource.MODELSCOPE: "AI-ModelScope/pixtral-12b",
        }
    },
    template="pixtral",
chenych's avatar
chenych committed
1928
    multimodal=True,
luopl's avatar
luopl committed
1929
1930
1931
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1932
1933
1934
1935
register_model_group(
    models={
        "Qwen-1.8B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B",
luopl's avatar
luopl committed
1936
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1937
1938
1939
        },
        "Qwen-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-7B",
luopl's avatar
luopl committed
1940
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1941
1942
1943
        },
        "Qwen-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-14B",
luopl's avatar
luopl committed
1944
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1945
1946
1947
        },
        "Qwen-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen-72B",
luopl's avatar
luopl committed
1948
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1949
1950
1951
        },
        "Qwen-1.8B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B-Chat",
luopl's avatar
luopl committed
1952
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1953
1954
1955
        },
        "Qwen-7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-7B-Chat",
luopl's avatar
luopl committed
1956
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1957
1958
1959
        },
        "Qwen-14B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-14B-Chat",
luopl's avatar
luopl committed
1960
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1961
1962
1963
        },
        "Qwen-72B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen-72B-Chat",
luopl's avatar
luopl committed
1964
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1965
        },
luopl's avatar
luopl committed
1966
        "Qwen-1.8B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1967
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B-Chat-Int8",
luopl's avatar
luopl committed
1968
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1969
        },
luopl's avatar
luopl committed
1970
        "Qwen-1.8B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1971
            DownloadSource.DEFAULT: "Qwen/Qwen-1_8B-Chat-Int4",
luopl's avatar
luopl committed
1972
            DownloadSource.MODELSCOPE: "Qwen/Qwen-1_8B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1973
        },
luopl's avatar
luopl committed
1974
        "Qwen-7B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1975
            DownloadSource.DEFAULT: "Qwen/Qwen-7B-Chat-Int8",
luopl's avatar
luopl committed
1976
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1977
        },
luopl's avatar
luopl committed
1978
        "Qwen-7B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1979
            DownloadSource.DEFAULT: "Qwen/Qwen-7B-Chat-Int4",
luopl's avatar
luopl committed
1980
            DownloadSource.MODELSCOPE: "Qwen/Qwen-7B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1981
        },
luopl's avatar
luopl committed
1982
        "Qwen-14B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1983
            DownloadSource.DEFAULT: "Qwen/Qwen-14B-Chat-Int8",
luopl's avatar
luopl committed
1984
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1985
        },
luopl's avatar
luopl committed
1986
        "Qwen-14B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1987
            DownloadSource.DEFAULT: "Qwen/Qwen-14B-Chat-Int4",
luopl's avatar
luopl committed
1988
            DownloadSource.MODELSCOPE: "Qwen/Qwen-14B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1989
        },
luopl's avatar
luopl committed
1990
        "Qwen-72B-Chat-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1991
            DownloadSource.DEFAULT: "Qwen/Qwen-72B-Chat-Int8",
luopl's avatar
luopl committed
1992
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B-Chat-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1993
        },
luopl's avatar
luopl committed
1994
        "Qwen-72B-Chat-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1995
            DownloadSource.DEFAULT: "Qwen/Qwen-72B-Chat-Int4",
luopl's avatar
luopl committed
1996
            DownloadSource.MODELSCOPE: "Qwen/Qwen-72B-Chat-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
        },
    },
    template="qwen",
)


register_model_group(
    models={
        "Qwen1.5-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B",
luopl's avatar
luopl committed
2007
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2008
2009
2010
        },
        "Qwen1.5-1.8B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B",
luopl's avatar
luopl committed
2011
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2012
2013
2014
        },
        "Qwen1.5-4B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B",
luopl's avatar
luopl committed
2015
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2016
2017
2018
        },
        "Qwen1.5-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B",
luopl's avatar
luopl committed
2019
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2020
2021
2022
        },
        "Qwen1.5-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B",
luopl's avatar
luopl committed
2023
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2024
2025
2026
        },
        "Qwen1.5-32B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-32B",
luopl's avatar
luopl committed
2027
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-32B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2028
2029
2030
        },
        "Qwen1.5-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B",
luopl's avatar
luopl committed
2031
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2032
        },
chenych's avatar
chenych committed
2033
2034
        "Qwen1.5-110B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-110B",
luopl's avatar
luopl committed
2035
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-110B",
chenych's avatar
chenych committed
2036
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2037
2038
        "Qwen1.5-MoE-A2.7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-MoE-A2.7B",
luopl's avatar
luopl committed
2039
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-MoE-A2.7B",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2040
2041
2042
        },
        "Qwen1.5-0.5B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B-Chat",
luopl's avatar
luopl committed
2043
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2044
2045
2046
        },
        "Qwen1.5-1.8B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B-Chat",
luopl's avatar
luopl committed
2047
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2048
2049
2050
        },
        "Qwen1.5-4B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B-Chat",
luopl's avatar
luopl committed
2051
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2052
2053
2054
        },
        "Qwen1.5-7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B-Chat",
luopl's avatar
luopl committed
2055
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2056
2057
2058
        },
        "Qwen1.5-14B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B-Chat",
luopl's avatar
luopl committed
2059
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2060
2061
2062
        },
        "Qwen1.5-32B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-32B-Chat",
luopl's avatar
luopl committed
2063
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-32B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2064
2065
2066
        },
        "Qwen1.5-72B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B-Chat",
luopl's avatar
luopl committed
2067
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2068
        },
chenych's avatar
chenych committed
2069
2070
        "Qwen1.5-110B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-110B-Chat",
luopl's avatar
luopl committed
2071
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-110B-Chat",
chenych's avatar
chenych committed
2072
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2073
2074
        "Qwen1.5-MoE-A2.7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-MoE-A2.7B-Chat",
luopl's avatar
luopl committed
2075
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-MoE-A2.7B-Chat",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2076
        },
luopl's avatar
luopl committed
2077
        "Qwen1.5-0.5B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2078
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
2079
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2080
        },
luopl's avatar
luopl committed
2081
        "Qwen1.5-0.5B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2082
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-0.5B-Chat-AWQ",
luopl's avatar
luopl committed
2083
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-0.5B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2084
        },
luopl's avatar
luopl committed
2085
        "Qwen1.5-1.8B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2086
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
2087
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2088
        },
luopl's avatar
luopl committed
2089
        "Qwen1.5-1.8B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2090
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-1.8B-Chat-AWQ",
luopl's avatar
luopl committed
2091
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-1.8B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2092
        },
luopl's avatar
luopl committed
2093
        "Qwen1.5-4B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2094
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
2095
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2096
        },
luopl's avatar
luopl committed
2097
        "Qwen1.5-4B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2098
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-4B-Chat-AWQ",
luopl's avatar
luopl committed
2099
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-4B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2100
        },
luopl's avatar
luopl committed
2101
        "Qwen1.5-7B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2102
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
2103
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2104
        },
luopl's avatar
luopl committed
2105
        "Qwen1.5-7B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2106
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-7B-Chat-AWQ",
luopl's avatar
luopl committed
2107
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-7B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2108
        },
luopl's avatar
luopl committed
2109
        "Qwen1.5-14B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2110
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
2111
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2112
        },
luopl's avatar
luopl committed
2113
        "Qwen1.5-14B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2114
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-14B-Chat-AWQ",
luopl's avatar
luopl committed
2115
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-14B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2116
        },
luopl's avatar
luopl committed
2117
        "Qwen1.5-32B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2118
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-32B-Chat-AWQ",
luopl's avatar
luopl committed
2119
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-32B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2120
        },
luopl's avatar
luopl committed
2121
        "Qwen1.5-72B-Chat-GPTQ-Int8": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2122
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B-Chat-GPTQ-Int8",
luopl's avatar
luopl committed
2123
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B-Chat-GPTQ-Int8",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2124
        },
luopl's avatar
luopl committed
2125
        "Qwen1.5-72B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2126
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-72B-Chat-AWQ",
luopl's avatar
luopl committed
2127
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-72B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2128
        },
luopl's avatar
luopl committed
2129
        "Qwen1.5-110B-Chat-AWQ": {
chenych's avatar
chenych committed
2130
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-110B-Chat-AWQ",
luopl's avatar
luopl committed
2131
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-110B-Chat-AWQ",
chenych's avatar
chenych committed
2132
        },
luopl's avatar
luopl committed
2133
        "Qwen1.5-MoE-A2.7B-Chat-GPTQ-Int4": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2134
            DownloadSource.DEFAULT: "Qwen/Qwen1.5-MoE-A2.7B-Chat-GPTQ-Int4",
luopl's avatar
luopl committed
2135
            DownloadSource.MODELSCOPE: "Qwen/Qwen1.5-MoE-A2.7B-Chat-GPTQ-Int4",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2136
        },
luopl's avatar
luopl committed
2137
2138
        "CodeQwen1.5-7B": {
            DownloadSource.DEFAULT: "Qwen/CodeQwen1.5-7B",
luopl's avatar
luopl committed
2139
            DownloadSource.MODELSCOPE: "Qwen/CodeQwen1.5-7B",
luopl's avatar
luopl committed
2140
2141
2142
        },
        "CodeQwen1.5-7B-Chat": {
            DownloadSource.DEFAULT: "Qwen/CodeQwen1.5-7B-Chat",
luopl's avatar
luopl committed
2143
            DownloadSource.MODELSCOPE: "Qwen/CodeQwen1.5-7B-Chat",
luopl's avatar
luopl committed
2144
2145
        },
        "CodeQwen1.5-7B-Chat-AWQ": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2146
            DownloadSource.DEFAULT: "Qwen/CodeQwen1.5-7B-Chat-AWQ",
luopl's avatar
luopl committed
2147
            DownloadSource.MODELSCOPE: "Qwen/CodeQwen1.5-7B-Chat-AWQ",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2148
2149
2150
2151
2152
2153
        },
    },
    template="qwen",
)


chenych's avatar
chenych committed
2154
2155
2156
2157
register_model_group(
    models={
        "Qwen2-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B",
luopl's avatar
luopl committed
2158
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B",
chenych's avatar
chenych committed
2159
2160
2161
        },
        "Qwen2-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B",
luopl's avatar
luopl committed
2162
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B",
chenych's avatar
chenych committed
2163
2164
2165
        },
        "Qwen2-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B",
luopl's avatar
luopl committed
2166
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B",
chenych's avatar
chenych committed
2167
2168
2169
        },
        "Qwen2-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B",
luopl's avatar
luopl committed
2170
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B",
chenych's avatar
chenych committed
2171
        },
luopl's avatar
luopl committed
2172
        "Qwen2-MoE-57B-A14B": {
chenych's avatar
chenych committed
2173
            DownloadSource.DEFAULT: "Qwen/Qwen2-57B-A14B",
luopl's avatar
luopl committed
2174
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-57B-A14B",
chenych's avatar
chenych committed
2175
        },
luopl's avatar
luopl committed
2176
        "Qwen2-0.5B-Instruct": {
chenych's avatar
chenych committed
2177
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct",
luopl's avatar
luopl committed
2178
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct",
luopl's avatar
luopl committed
2179
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-0.5B-Instruct",
chenych's avatar
chenych committed
2180
        },
luopl's avatar
luopl committed
2181
        "Qwen2-1.5B-Instruct": {
chenych's avatar
chenych committed
2182
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct",
luopl's avatar
luopl committed
2183
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct",
luopl's avatar
luopl committed
2184
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-1.5B-Instruct",
chenych's avatar
chenych committed
2185
        },
luopl's avatar
luopl committed
2186
        "Qwen2-7B-Instruct": {
chenych's avatar
chenych committed
2187
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct",
luopl's avatar
luopl committed
2188
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct",
luopl's avatar
luopl committed
2189
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-7B-Instruct",
chenych's avatar
chenych committed
2190
        },
luopl's avatar
luopl committed
2191
        "Qwen2-72B-Instruct": {
chenych's avatar
chenych committed
2192
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct",
luopl's avatar
luopl committed
2193
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct",
chenych's avatar
chenych committed
2194
        },
luopl's avatar
luopl committed
2195
        "Qwen2-MoE-57B-A14B-Instruct": {
chenych's avatar
chenych committed
2196
            DownloadSource.DEFAULT: "Qwen/Qwen2-57B-A14B-Instruct",
luopl's avatar
luopl committed
2197
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-57B-A14B-Instruct",
chenych's avatar
chenych committed
2198
        },
luopl's avatar
luopl committed
2199
        "Qwen2-0.5B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
2200
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2201
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
2202
        },
luopl's avatar
luopl committed
2203
2204
        "Qwen2-0.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2205
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2206
2207
        },
        "Qwen2-0.5B-Instruct-AWQ": {
chenych's avatar
chenych committed
2208
            DownloadSource.DEFAULT: "Qwen/Qwen2-0.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2209
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-0.5B-Instruct-AWQ",
chenych's avatar
chenych committed
2210
        },
luopl's avatar
luopl committed
2211
        "Qwen2-1.5B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
2212
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2213
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
2214
        },
luopl's avatar
luopl committed
2215
2216
        "Qwen2-1.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2217
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2218
2219
        },
        "Qwen2-1.5B-Instruct-AWQ": {
chenych's avatar
chenych committed
2220
            DownloadSource.DEFAULT: "Qwen/Qwen2-1.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2221
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-1.5B-Instruct-AWQ",
chenych's avatar
chenych committed
2222
        },
luopl's avatar
luopl committed
2223
        "Qwen2-7B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
2224
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2225
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
2226
        },
luopl's avatar
luopl committed
2227
2228
        "Qwen2-7B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2229
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2230
2231
        },
        "Qwen2-7B-Instruct-AWQ": {
chenych's avatar
chenych committed
2232
            DownloadSource.DEFAULT: "Qwen/Qwen2-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2233
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-7B-Instruct-AWQ",
chenych's avatar
chenych committed
2234
        },
luopl's avatar
luopl committed
2235
        "Qwen2-72B-Instruct-GPTQ-Int8": {
chenych's avatar
chenych committed
2236
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2237
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct-GPTQ-Int8",
chenych's avatar
chenych committed
2238
        },
luopl's avatar
luopl committed
2239
2240
        "Qwen2-72B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2241
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2242
2243
        },
        "Qwen2-72B-Instruct-AWQ": {
chenych's avatar
chenych committed
2244
            DownloadSource.DEFAULT: "Qwen/Qwen2-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2245
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-72B-Instruct-AWQ",
chenych's avatar
chenych committed
2246
        },
luopl's avatar
luopl committed
2247
        "Qwen2-57B-A14B-Instruct-GPTQ-Int4": {
chenych's avatar
chenych committed
2248
            DownloadSource.DEFAULT: "Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2249
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4",
chenych's avatar
chenych committed
2250
        },
luopl's avatar
luopl committed
2251
2252
        "Qwen2-Math-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-1.5B",
luopl's avatar
luopl committed
2253
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-1.5B",
luopl's avatar
luopl committed
2254
2255
2256
        },
        "Qwen2-Math-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-7B",
luopl's avatar
luopl committed
2257
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-7B",
luopl's avatar
luopl committed
2258
2259
2260
        },
        "Qwen2-Math-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-72B",
luopl's avatar
luopl committed
2261
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-72B",
luopl's avatar
luopl committed
2262
2263
2264
        },
        "Qwen2-Math-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-1.5B-Instruct",
luopl's avatar
luopl committed
2265
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-1.5B-Instruct",
luopl's avatar
luopl committed
2266
2267
2268
        },
        "Qwen2-Math-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-7B-Instruct",
luopl's avatar
luopl committed
2269
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-7B-Instruct",
luopl's avatar
luopl committed
2270
2271
2272
        },
        "Qwen2-Math-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-Math-72B-Instruct",
luopl's avatar
luopl committed
2273
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-Math-72B-Instruct",
luopl's avatar
luopl committed
2274
        },
chenych's avatar
chenych committed
2275
2276
2277
2278
2279
    },
    template="qwen",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2280
2281
register_model_group(
    models={
luopl's avatar
luopl committed
2282
2283
        "Qwen2.5-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B",
luopl's avatar
luopl committed
2284
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B",
luopl's avatar
luopl committed
2285
2286
2287
        },
        "Qwen2.5-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B",
luopl's avatar
luopl committed
2288
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B",
luopl's avatar
luopl committed
2289
2290
2291
        },
        "Qwen2.5-3B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B",
luopl's avatar
luopl committed
2292
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B",
luopl's avatar
luopl committed
2293
2294
2295
        },
        "Qwen2.5-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B",
luopl's avatar
luopl committed
2296
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B",
luopl's avatar
luopl committed
2297
2298
2299
        },
        "Qwen2.5-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B",
luopl's avatar
luopl committed
2300
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B",
luopl's avatar
luopl committed
2301
2302
2303
        },
        "Qwen2.5-32B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B",
luopl's avatar
luopl committed
2304
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B",
luopl's avatar
luopl committed
2305
2306
2307
        },
        "Qwen2.5-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B",
luopl's avatar
luopl committed
2308
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B",
luopl's avatar
luopl committed
2309
2310
2311
        },
        "Qwen2.5-0.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct",
luopl's avatar
luopl committed
2312
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct",
luopl's avatar
luopl committed
2313
2314
2315
        },
        "Qwen2.5-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct",
luopl's avatar
luopl committed
2316
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct",
luopl's avatar
luopl committed
2317
2318
2319
        },
        "Qwen2.5-3B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct",
luopl's avatar
luopl committed
2320
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct",
luopl's avatar
luopl committed
2321
2322
2323
        },
        "Qwen2.5-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct",
luopl's avatar
luopl committed
2324
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct",
luopl's avatar
luopl committed
2325
2326
2327
        },
        "Qwen2.5-14B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct",
luopl's avatar
luopl committed
2328
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct",
luopl's avatar
luopl committed
2329
2330
2331
        },
        "Qwen2.5-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct",
luopl's avatar
luopl committed
2332
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct",
luopl's avatar
luopl committed
2333
2334
2335
        },
        "Qwen2.5-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct",
luopl's avatar
luopl committed
2336
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct",
luopl's avatar
luopl committed
2337
        },
chenych's avatar
chenych committed
2338
2339
2340
2341
2342
2343
2344
2345
        "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
2346
2347
        "Qwen2.5-0.5B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2348
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2349
2350
2351
        },
        "Qwen2.5-0.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2352
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2353
2354
2355
        },
        "Qwen2.5-0.5B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-0.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2356
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-0.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2357
2358
2359
        },
        "Qwen2.5-1.5B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2360
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2361
2362
2363
        },
        "Qwen2.5-1.5B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2364
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2365
2366
2367
        },
        "Qwen2.5-1.5B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-1.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2368
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-1.5B-Instruct-AWQ",
luopl's avatar
luopl committed
2369
2370
2371
        },
        "Qwen2.5-3B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2372
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2373
2374
2375
        },
        "Qwen2.5-3B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2376
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2377
2378
2379
        },
        "Qwen2.5-3B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-3B-Instruct-AWQ",
luopl's avatar
luopl committed
2380
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-3B-Instruct-AWQ",
luopl's avatar
luopl committed
2381
2382
2383
        },
        "Qwen2.5-7B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2384
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2385
2386
2387
        },
        "Qwen2.5-7B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2388
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2389
2390
2391
        },
        "Qwen2.5-7B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2392
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2393
2394
2395
        },
        "Qwen2.5-14B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2396
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2397
2398
2399
        },
        "Qwen2.5-14B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2400
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2401
2402
2403
        },
        "Qwen2.5-14B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-14B-Instruct-AWQ",
luopl's avatar
luopl committed
2404
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-14B-Instruct-AWQ",
luopl's avatar
luopl committed
2405
2406
2407
        },
        "Qwen2.5-32B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2408
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2409
2410
2411
        },
        "Qwen2.5-32B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2412
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2413
2414
2415
        },
        "Qwen2.5-32B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-32B-Instruct-AWQ",
luopl's avatar
luopl committed
2416
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-32B-Instruct-AWQ",
luopl's avatar
luopl committed
2417
2418
2419
        },
        "Qwen2.5-72B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2420
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2421
2422
2423
        },
        "Qwen2.5-72B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2424
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2425
2426
2427
        },
        "Qwen2.5-72B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2428
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2429
        },
luopl's avatar
luopl committed
2430
2431
        "Qwen2.5-Coder-0.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-0.5B",
luopl's avatar
luopl committed
2432
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-0.5B",
luopl's avatar
luopl committed
2433
        },
luopl's avatar
luopl committed
2434
2435
        "Qwen2.5-Coder-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-1.5B",
luopl's avatar
luopl committed
2436
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-1.5B",
luopl's avatar
luopl committed
2437
        },
luopl's avatar
luopl committed
2438
2439
        "Qwen2.5-Coder-3B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-3B",
luopl's avatar
luopl committed
2440
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-3B",
luopl's avatar
luopl committed
2441
        },
luopl's avatar
luopl committed
2442
2443
        "Qwen2.5-Coder-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-7B",
luopl's avatar
luopl committed
2444
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-7B",
luopl's avatar
luopl committed
2445
        },
luopl's avatar
luopl committed
2446
2447
        "Qwen2.5-Coder-14B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-14B",
luopl's avatar
luopl committed
2448
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-14B",
luopl's avatar
luopl committed
2449
2450
2451
        },
        "Qwen2.5-Coder-32B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-32B",
luopl's avatar
luopl committed
2452
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-32B",
luopl's avatar
luopl committed
2453
2454
2455
        },
        "Qwen2.5-Coder-0.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-0.5B-Instruct",
luopl's avatar
luopl committed
2456
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-0.5B-Instruct",
luopl's avatar
luopl committed
2457
        },
luopl's avatar
luopl committed
2458
2459
        "Qwen2.5-Coder-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-1.5B-Instruct",
luopl's avatar
luopl committed
2460
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-1.5B-Instruct",
luopl's avatar
luopl committed
2461
        },
luopl's avatar
luopl committed
2462
2463
        "Qwen2.5-Coder-3B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-3B-Instruct",
luopl's avatar
luopl committed
2464
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-3B-Instruct",
luopl's avatar
luopl committed
2465
        },
luopl's avatar
luopl committed
2466
2467
        "Qwen2.5-Coder-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-7B-Instruct",
luopl's avatar
luopl committed
2468
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-7B-Instruct",
luopl's avatar
luopl committed
2469
        },
luopl's avatar
luopl committed
2470
2471
        "Qwen2.5-Coder-14B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-14B-Instruct",
luopl's avatar
luopl committed
2472
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-14B-Instruct",
luopl's avatar
luopl committed
2473
2474
2475
        },
        "Qwen2.5-Coder-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Coder-32B-Instruct",
luopl's avatar
luopl committed
2476
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-32B-Instruct",
luopl's avatar
luopl committed
2477
        },
luopl's avatar
luopl committed
2478
2479
        "Qwen2.5-Math-1.5B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-1.5B",
luopl's avatar
luopl committed
2480
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Math-1.5B",
luopl's avatar
luopl committed
2481
2482
2483
        },
        "Qwen2.5-Math-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-7B",
luopl's avatar
luopl committed
2484
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Math-7B",
luopl's avatar
luopl committed
2485
2486
2487
        },
        "Qwen2.5-Math-72B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-72B",
luopl's avatar
luopl committed
2488
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Math-72B",
luopl's avatar
luopl committed
2489
2490
2491
        },
        "Qwen2.5-Math-1.5B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-1.5B-Instruct",
luopl's avatar
luopl committed
2492
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-1.5B-Instruct",
luopl's avatar
luopl committed
2493
2494
2495
        },
        "Qwen2.5-Math-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-7B-Instruct",
luopl's avatar
luopl committed
2496
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Coder-7B-Instruct",
luopl's avatar
luopl committed
2497
2498
2499
        },
        "Qwen2.5-Math-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Math-72B-Instruct",
luopl's avatar
luopl committed
2500
2501
2502
2503
2504
            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
2505
        },
chenych's avatar
chenych committed
2506
2507
2508
2509
        "QwQ-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/QwQ-32B",
            DownloadSource.MODELSCOPE: "Qwen/QwQ-32B",
        },
luopl's avatar
luopl committed
2510
2511
2512
2513
2514
    },
    template="qwen",
)


chenych's avatar
chenych committed
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
register_model_group(
    models={
        "Qwen3-0.6B-Base": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-0.6B-Base",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-0.6B-Base",
        },
        "Qwen3-1.7B-Base": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-1.7B-Base",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-1.7B-Base",
        },
        "Qwen3-4B-Base": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-4B-Base",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Base",
        },
        "Qwen3-8B-Base": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-8B-Base",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-8B-Base",
        },
        "Qwen3-14B-Base": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-14B-Base",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-14B-Base",
        },
        "Qwen3-30B-A3B-Base": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-30B-A3B-Base",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-30B-A3B-Base",
        },
        "Qwen3-0.6B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-0.6B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-0.6B",
        },
        "Qwen3-1.7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-1.7B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-1.7B",
        },
        "Qwen3-4B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-4B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B",
        },
        "Qwen3-8B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-8B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-8B",
        },
        "Qwen3-14B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-14B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-14B",
        },
        "Qwen3-32B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-32B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-32B",
        },
        "Qwen3-30B-A3B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-30B-A3B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-30B-A3B",
        },
        "Qwen3-235B-A22B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-235B-A22B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-235B-A22B",
        },
chenych's avatar
chenych committed
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
        "Qwen3-0.6B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-0.6B-GPTQ-Int8",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-0.6B-GPTQ-Int8",
        },
        "Qwen3-1.7B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-1.7B-GPTQ-Int8",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-1.7B-GPTQ-Int8",
        },
        "Qwen3-4B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-4B-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-AWQ",
        },
        "Qwen3-8B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-8B-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-8B-AWQ",
        },
        "Qwen3-14B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-14B-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-14B-AWQ",
        },
        "Qwen3-32B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-32B-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-32B-AWQ",
        },
        "Qwen3-30B-A3B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-30B-A3B-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-30B-A3B-GPTQ-Int4",
        },
        "Qwen3-235B-A22B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen3-235B-A22B-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "Qwen/Qwen3-235B-A22B-GPTQ-Int4",
        },
chenych's avatar
chenych committed
2605
2606
2607
2608
2609
    },
    template="qwen3",
)


luopl's avatar
luopl committed
2610
2611
register_model_group(
    models={
chenych's avatar
chenych committed
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
        "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
2626
2627
register_model_group(
    models={
chenych's avatar
chenych committed
2628
2629
2630
2631
        "Qwen2.5-Omni-3B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Omni-3B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Omni-3B",
        },
chenych's avatar
chenych committed
2632
2633
2634
        "Qwen2.5-Omni-7B": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Omni-7B",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Omni-7B",
chenych's avatar
chenych committed
2635
2636
2637
2638
2639
2640
2641
2642
2643
        },
        "Qwen2.5-Omni-7B-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Omni-7B-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Omni-7B-GPTQ-Int4",
        },
        "Qwen2.5-Omni-7B-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2.5-Omni-7B-AWQ",
            DownloadSource.MODELSCOPE: "Qwen/Qwen2.5-Omni-7B-AWQ",
        },
chenych's avatar
chenych committed
2644
2645
2646
2647
2648
2649
    },
    template="qwen2_omni",
    multimodal=True,
)


chenych's avatar
chenych committed
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
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
2664
2665
        "Qwen2-VL-2B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct",
luopl's avatar
luopl committed
2666
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct",
luopl's avatar
luopl committed
2667
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-VL-2B-Instruct",
luopl's avatar
luopl committed
2668
2669
2670
        },
        "Qwen2-VL-7B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct",
luopl's avatar
luopl committed
2671
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct",
luopl's avatar
luopl committed
2672
            DownloadSource.OPENMIND: "LlamaFactory/Qwen2-VL-7B-Instruct",
luopl's avatar
luopl committed
2673
2674
2675
        },
        "Qwen2-VL-72B-Instruct": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct",
luopl's avatar
luopl committed
2676
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct",
luopl's avatar
luopl committed
2677
2678
2679
        },
        "Qwen2-VL-2B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2680
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2681
2682
2683
        },
        "Qwen2-VL-2B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2684
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2685
2686
2687
        },
        "Qwen2-VL-2B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-2B-Instruct-AWQ",
luopl's avatar
luopl committed
2688
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-2B-Instruct-AWQ",
luopl's avatar
luopl committed
2689
2690
2691
        },
        "Qwen2-VL-7B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2692
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2693
2694
2695
        },
        "Qwen2-VL-7B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2696
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2697
2698
2699
        },
        "Qwen2-VL-7B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2700
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-7B-Instruct-AWQ",
luopl's avatar
luopl committed
2701
2702
2703
        },
        "Qwen2-VL-72B-Instruct-GPTQ-Int8": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2704
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int8",
luopl's avatar
luopl committed
2705
2706
2707
        },
        "Qwen2-VL-72B-Instruct-GPTQ-Int4": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2708
            DownloadSource.MODELSCOPE: "Qwen/Qwen2-VL-72B-Instruct-GPTQ-Int4",
luopl's avatar
luopl committed
2709
2710
2711
        },
        "Qwen2-VL-72B-Instruct-AWQ": {
            DownloadSource.DEFAULT: "Qwen/Qwen2-VL-72B-Instruct-AWQ",
luopl's avatar
luopl committed
2712
2713
2714
2715
2716
            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
2717
        },
chenych's avatar
chenych committed
2718
2719
2720
2721
2722
2723
2724
2725
        "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
2726
2727
2728
2729
        "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
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
        "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
2746
2747
    },
    template="qwen2_vl",
chenych's avatar
chenych committed
2748
    multimodal=True,
luopl's avatar
luopl committed
2749
2750
2751
2752
2753
)


register_model_group(
    models={
chenych's avatar
chenych committed
2754
2755
        "Seed-Coder-8B-Base": {
            DownloadSource.DEFAULT: "ByteDance-Seed/Seed-Coder-8B-Base",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2756
        },
chenych's avatar
chenych committed
2757
2758
2759
2760
2761
        "Seed-Coder-8B-Instruct": {
            DownloadSource.DEFAULT: "ByteDance-Seed/Seed-Coder-8B-Instruct",
        },
        "Seed-Coder-8B-Instruct-Reasoning": {
            DownloadSource.DEFAULT: "ByteDance-Seed/Seed-Coder-8B-Reasoning-bf16",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2762
2763
        },
    },
chenych's avatar
chenych committed
2764
    template="seed_coder",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
)


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


luopl's avatar
luopl committed
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
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",
)


chenych's avatar
chenych committed
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
register_model_group(
    models={
        "SmolLM-135M": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM-135M",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM-135M",
        },
        "SmolLM-360M": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM-360M",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM-360M",
        },
        "SmolLM-1.7B": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM-1.7B",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM-1.7B",
        },
        "SmolLM-135M-Instruct": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM-135M-Instruct",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM-135M-Instruct",
        },
        "SmolLM-360M-Instruct": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM-360M-Instruct",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM-360M-Instruct",
        },
        "SmolLM-1.7B-Instruct": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM-1.7B-Instruct",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM-1.7B-Instruct",
        },
    },
    template="smollm",
)


register_model_group(
    models={
        "SmolLM2-135M": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM2-135M",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM2-135M",
        },
        "SmolLM2-360M": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM2-360M",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM2-360M",
        },
        "SmolLM2-1.7B": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM2-1.7B",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM2-1.7B",
        },
        "SmolLM2-135M-Instruct": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM2-135M-Instruct",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM2-135M-Instruct",
        },
        "SmolLM2-360M-Instruct": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM2-360M-Instruct",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM2-360M-Instruct",
        },
        "SmolLM2-1.7B-Instruct": {
            DownloadSource.DEFAULT: "HuggingFaceTB/SmolLM2-1.7B-Instruct",
            DownloadSource.MODELSCOPE: "HuggingFaceTB/SmolLM2-1.7B-Instruct",
        },
    },
    template="smollm2",
)


register_model_group(
    models={
        "SOLAR-10.7B-v1.0": {
            DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-v1.0",
        },
        "SOLAR-10.7B-Instruct-v1.0": {
            DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-Instruct-v1.0",
            DownloadSource.MODELSCOPE: "AI-ModelScope/SOLAR-10.7B-Instruct-v1.0",
        },
    },
    template="solar",
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2865
2866
2867
2868
register_model_group(
    models={
        "StarCoder2-3B": {
            DownloadSource.DEFAULT: "bigcode/starcoder2-3b",
chenych's avatar
chenych committed
2869
            DownloadSource.MODELSCOPE: "AI-ModelScope/starcoder2-3b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2870
2871
2872
        },
        "StarCoder2-7B": {
            DownloadSource.DEFAULT: "bigcode/starcoder2-7b",
chenych's avatar
chenych committed
2873
            DownloadSource.MODELSCOPE: "AI-ModelScope/starcoder2-7b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2874
2875
2876
        },
        "StarCoder2-15B": {
            DownloadSource.DEFAULT: "bigcode/starcoder2-15b",
chenych's avatar
chenych committed
2877
            DownloadSource.MODELSCOPE: "AI-ModelScope/starcoder2-15b",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2878
2879
2880
2881
2882
        },
    }
)


chenych's avatar
chenych committed
2883
2884
2885
2886
2887
2888
2889
2890
2891
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
2892
            DownloadSource.OPENMIND: "TeleAI/TeleChat-7B-pt",
chenych's avatar
chenych committed
2893
2894
2895
2896
        },
        "TeleChat-12B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat-12B-v2",
            DownloadSource.MODELSCOPE: "TeleAI/TeleChat-12B-v2",
luopl's avatar
luopl committed
2897
2898
2899
2900
            DownloadSource.OPENMIND: "TeleAI/TeleChat-12B-pt",
        },
        "TeleChat-52B-Chat": {
            DownloadSource.DEFAULT: "Tele-AI/TeleChat-52B",
chenych's avatar
chenych committed
2901
2902
2903
2904
2905
2906
        },
    },
    template="telechat",
)


luopl's avatar
luopl committed
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
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
2929
2930
register_model_group(
    models={
luopl's avatar
luopl committed
2931
        "Vicuna-v1.5-7B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2932
2933
2934
            DownloadSource.DEFAULT: "lmsys/vicuna-7b-v1.5",
            DownloadSource.MODELSCOPE: "Xorbits/vicuna-7b-v1.5",
        },
luopl's avatar
luopl committed
2935
        "Vicuna-v1.5-13B-Chat": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2936
2937
2938
2939
2940
2941
2942
2943
            DownloadSource.DEFAULT: "lmsys/vicuna-13b-v1.5",
            DownloadSource.MODELSCOPE: "Xorbits/vicuna-13b-v1.5",
        },
    },
    template="vicuna",
)


luopl's avatar
luopl committed
2944
2945
2946
2947
2948
2949
2950
register_model_group(
    models={
        "Video-LLaVA-7B-Chat": {
            DownloadSource.DEFAULT: "LanguageBind/Video-LLaVA-7B-hf",
        },
    },
    template="video_llava",
chenych's avatar
chenych committed
2951
    multimodal=True,
luopl's avatar
luopl committed
2952
2953
2954
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2955
2956
register_model_group(
    models={
chenych's avatar
chenych committed
2957
2958
2959
2960
        "XuanYuan-6B": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2961
2962
        "XuanYuan-70B": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B",
chenych's avatar
chenych committed
2963
2964
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B",
        },
luopl's avatar
luopl committed
2965
        "XuanYuan2-70B": {
chenych's avatar
chenych committed
2966
2967
2968
2969
2970
2971
            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
2972
2973
2974
        },
        "XuanYuan-70B-Chat": {
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B-Chat",
chenych's avatar
chenych committed
2975
2976
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B-Chat",
        },
luopl's avatar
luopl committed
2977
        "XuanYuan2-70B-Chat": {
chenych's avatar
chenych committed
2978
2979
2980
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B-Chat",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B-Chat",
        },
luopl's avatar
luopl committed
2981
        "XuanYuan-6B-Chat-8bit": {
chenych's avatar
chenych committed
2982
2983
2984
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B-Chat-8bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B-Chat-8bit",
        },
luopl's avatar
luopl committed
2985
        "XuanYuan-6B-Chat-4bit": {
chenych's avatar
chenych committed
2986
2987
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-6B-Chat-4bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-6B-Chat-4bit",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2988
        },
luopl's avatar
luopl committed
2989
        "XuanYuan-70B-Chat-8bit": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2990
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B-Chat-8bit",
chenych's avatar
chenych committed
2991
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B-Chat-8bit",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2992
        },
luopl's avatar
luopl committed
2993
        "XuanYuan-70B-Chat-4bit": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
2994
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan-70B-Chat-4bit",
chenych's avatar
chenych committed
2995
2996
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan-70B-Chat-4bit",
        },
luopl's avatar
luopl committed
2997
        "XuanYuan2-70B-Chat-8bit": {
chenych's avatar
chenych committed
2998
2999
3000
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B-Chat-8bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B-Chat-8bit",
        },
luopl's avatar
luopl committed
3001
        "XuanYuan2-70B-Chat-4bit": {
chenych's avatar
chenych committed
3002
3003
            DownloadSource.DEFAULT: "Duxiaoman-DI/XuanYuan2-70B-Chat-4bit",
            DownloadSource.MODELSCOPE: "Duxiaoman-DI/XuanYuan2-70B-Chat-4bit",
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
        },
    },
    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
3040
3041
3042
3043
        "XVERSE-MoE-A4.2B": {
            DownloadSource.DEFAULT: "xverse/XVERSE-MoE-A4.2B",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-MoE-A4.2B",
        },
luopl's avatar
luopl committed
3044
        "XVERSE-7B-Chat-GPTQ-Int8": {
chenych's avatar
chenych committed
3045
3046
3047
            DownloadSource.DEFAULT: "xverse/XVERSE-7B-Chat-GPTQ-Int8",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-7B-Chat-GPTQ-Int8",
        },
luopl's avatar
luopl committed
3048
        "XVERSE-7B-Chat-GPTQ-Int4": {
chenych's avatar
chenych committed
3049
3050
3051
            DownloadSource.DEFAULT: "xverse/XVERSE-7B-Chat-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-7B-Chat-GPTQ-Int4",
        },
luopl's avatar
luopl committed
3052
        "XVERSE-13B-Chat-GPTQ-Int8": {
chenych's avatar
chenych committed
3053
3054
3055
            DownloadSource.DEFAULT: "xverse/XVERSE-13B-Chat-GPTQ-Int8",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-13B-Chat-GPTQ-Int8",
        },
luopl's avatar
luopl committed
3056
        "XVERSE-13B-Chat-GPTQ-Int4": {
chenych's avatar
chenych committed
3057
3058
3059
            DownloadSource.DEFAULT: "xverse/XVERSE-13B-Chat-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-13B-Chat-GPTQ-Int4",
        },
luopl's avatar
luopl committed
3060
        "XVERSE-65B-Chat-GPTQ-Int4": {
chenych's avatar
chenych committed
3061
3062
3063
            DownloadSource.DEFAULT: "xverse/XVERSE-65B-Chat-GPTQ-Int4",
            DownloadSource.MODELSCOPE: "xverse/XVERSE-65B-Chat-GPTQ-Int4",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
    },
    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
3106
        "Yi-6B-Chat-8bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3107
3108
3109
            DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat-8bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat-8bits",
        },
luopl's avatar
luopl committed
3110
        "Yi-6B-Chat-4bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3111
3112
3113
            DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat-4bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat-4bits",
        },
luopl's avatar
luopl committed
3114
        "Yi-34B-Chat-8bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3115
3116
3117
            DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat-8bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat-8bits",
        },
luopl's avatar
luopl committed
3118
        "Yi-34B-Chat-4bits": {
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3119
3120
3121
            DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat-4bits",
            DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat-4bits",
        },
chenych's avatar
chenych committed
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
        "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
3137
            DownloadSource.OPENMIND: "LlamaFactory/Yi-1.5-6B-Chat",
chenych's avatar
chenych committed
3138
3139
3140
3141
3142
3143
3144
3145
3146
        },
        "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
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
        "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
3163
3164
3165
3166
3167
    },
    template="yi",
)


chenych's avatar
chenych committed
3168
3169
register_model_group(
    models={
luopl's avatar
luopl committed
3170
        "Yi-VL-6B-Chat": {
chenych's avatar
chenych committed
3171
3172
            DownloadSource.DEFAULT: "BUAADreamer/Yi-VL-6B-hf",
        },
luopl's avatar
luopl committed
3173
        "Yi-VL-34B-Chat": {
chenych's avatar
chenych committed
3174
3175
3176
3177
            DownloadSource.DEFAULT: "BUAADreamer/Yi-VL-34B-hf",
        },
    },
    template="yi_vl",
chenych's avatar
chenych committed
3178
    multimodal=True,
chenych's avatar
chenych committed
3179
3180
3181
)


Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
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
3211
3212
3213
        "Zephyr-141B-ORPO-Chat": {
            DownloadSource.DEFAULT: "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
        },
Rayyyyy's avatar
V0.6.3  
Rayyyyy committed
3214
3215
3216
    },
    template="zephyr",
)