Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 style: Update the sorting of each provider model #3689

Merged
merged 11 commits into from
Aug 30, 2024
2 changes: 1 addition & 1 deletion src/config/modelProviders/baichuan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Baichuan: ModelProviderCard = {
tokens: 192_000,
},
],
checkModel: 'Baichuan4',
checkModel: 'Baichuan3-Turbo',
id: 'baichuan',
modelList: { showModelFetcher: true },
name: 'Baichuan',
Expand Down
2 changes: 1 addition & 1 deletion src/config/modelProviders/minimax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Minimax: ModelProviderCard = {
tokens: 8192,
},
],
checkModel: 'abab5.5s-chat',
checkModel: 'abab6.5s-chat',
id: 'minimax',
name: 'Minimax',
};
Expand Down
75 changes: 40 additions & 35 deletions src/config/modelProviders/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ import { ModelProviderCard } from '@/types/llm';
// ref https://help.aliyun.com/zh/dashscope/developer-reference/api-details
const Qwen: ModelProviderCard = {
chatModels: [
{
description: '通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
displayName: 'Qwen Long',
enabled: true,
functionCall: true,
id: 'qwen-long',
tokens: 1_000_000,
},
{
description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入',
displayName: 'Qwen Turbo',
Expand All @@ -17,7 +25,7 @@ const Qwen: ModelProviderCard = {
enabled: true,
functionCall: true,
id: 'qwen-plus',
tokens: 32_768,
tokens: 130_000,
},
{
description:
Expand All @@ -34,7 +42,34 @@ const Qwen: ModelProviderCard = {
displayName: 'Qwen Max LongContext',
functionCall: true,
id: 'qwen-max-longcontext',
tokens: 30_720,
},
{
description:
'通义千问大规模视觉语言模型增强版。大幅提升细节识别能力和文字识别能力,支持超百万像素分辨率和任意长宽比规格的图像。',
displayName: 'Qwen VL Plus',
enabled: true,
id: 'qwen-vl-plus',
tokens: 8192,
vision: true,
},
{
description:
'通义千问超大规模视觉语言模型。相比增强版,再次提升视觉推理能力和指令遵循能力,提供更高的视觉感知和认知水平。',
displayName: 'Qwen VL Max',
enabled: true,
id: 'qwen-vl-max',
tokens: 8192,
vision: true,
},
{
description:
'抢先体验即将升级的 qwen-vl-max 大模型。',
displayName: 'Qwen VL Max 0809',
enabled: true,
id: 'qwen-vl-max-0809',
tokens: 32_768,
vision: true,
},
{
description: '通义千问2对外开源的7B规模的模型',
Expand All @@ -55,28 +90,15 @@ const Qwen: ModelProviderCard = {
tokens: 128_000,
},
{
description:
'通义千问大规模视觉语言模型增强版。大幅提升细节识别能力和文字识别能力,支持超百万像素分辨率和任意长宽比规格的图像。',
displayName: 'Qwen VL Plus',
enabled: true,
id: 'qwen-vl-plus',
tokens: 8192,
vision: true,
},
{
description:
'通义千问超大规模视觉语言模型。相比增强版,再次提升视觉推理能力和指令遵循能力,提供更高的视觉感知和认知水平。',
displayName: 'Qwen VL Max',
enabled: true,
id: 'qwen-vl-max',
tokens: 8192,
vision: true,
description: 'Qwen2-Math 模型具有强大的数学解题能力',
displayName: 'Qwen2 Math 72B',
id: 'qwen2-math-72b-instruct',
tokens: 128_000,
},
{
description:
'以 Qwen-7B 语言模型初始化,添加图像模型,图像输入分辨率为448的预训练模型。',
displayName: 'Qwen VL',
enabled: true,
id: 'qwen-vl-v1',
tokens: 8192,
vision: true,
Expand All @@ -85,27 +107,10 @@ const Qwen: ModelProviderCard = {
description:
'通义千问VL支持灵活的交互方式,包括多图、多轮问答、创作等能力的模型。',
displayName: 'Qwen VL Chat',
enabled: true,
id: 'qwen-vl-chat-v1',
tokens: 8192,
vision: true,
},
{
description: 'Qwen2-Math 模型具有强大的数学解题能力',
displayName: 'Qwen2 Math 72B',
enabled: true,
id: 'qwen2-math-72b-instruct',
tokens: 4096,
},
{
description:
'抢先体验即将升级的 qwen-vl-max 大模型。',
displayName: 'Qwen VL Max 0809',
enabled: true,
id: 'qwen-vl-max-0809',
tokens: 32_768,
vision: true,
},
],
checkModel: 'qwen-turbo',
disableBrowserRequest: true,
Expand Down
Loading