Skip to content

Commit

Permalink
💄 style: Add Qwen2 models (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjeru committed Jun 12, 2024
1 parent 3c96d46 commit fb97be9
Showing 1 changed file with 30 additions and 7 deletions.
37 changes: 30 additions & 7 deletions src/config/modelProviders/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,49 @@ import { ModelProviderCard } from '@/types/llm';
const Qwen: ModelProviderCard = {
chatModels: [
{
description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入',
description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入',
displayName: 'Qwen Turbo',
enabled: true,
id: 'qwen-turbo',
tokens: 8192,
tokens: 8000,
},
{
description: '通义千问超大规模语言模型增强版,支持中文、英文等不同语言输入',
description: '通义千问超大规模语言模型增强版,支持中文、英文等不同语言输入',
displayName: 'Qwen Plus',
enabled: true,
id: 'qwen-plus',
tokens: 30_720,
tokens: 32_000,
},
{
description:
'通义千问千亿级别超大规模语言模型,支持中文、英文等不同语言输入,当前通义千问2.5产品版本背后的API模型。',
description: '通义千问千亿级别超大规模语言模型,支持中文、英文等不同语言输入,当前通义千问2.5产品版本背后的API模型',
displayName: 'Qwen Max',
enabled: true,
id: 'qwen-max',
tokens: 8192,
tokens: 8000,
},
{
description: '通义千问千亿级别超大规模语言模型,支持中文、英文等不同语言输入,扩展了上下文窗口',
displayName: 'Qwen Max LongContext',
id: 'qwen-max-longcontext',
tokens: 30_000,
},
{
description: '通义千问2对外开源的7B规模的模型',
displayName: 'Qwen2 7B',
id: 'qwen2-7b-instruct',
tokens: 131_072,
},
{
description: '通义千问2对外开源的57B规模14B激活参数的MOE模型',
displayName: 'Qwen2 57B-A14B MoE',
id: 'qwen2-57b-a14b-instruct',
tokens: 32_768,
},
{
description: '通义千问2对外开源的72B规模的模型',
displayName: 'Qwen2 72B',
id: 'qwen2-72b-instruct',
tokens: 131_072,
},
],
checkModel: 'qwen-turbo',
Expand Down

0 comments on commit fb97be9

Please sign in to comment.