Skip to content

Commit

Permalink
💄 style: add siliconflow qwen2.5 model (lobehub#4024)
Browse files Browse the repository at this point in the history
* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts
  • Loading branch information
LovelyGuYiMeng authored Sep 19, 2024
1 parent a73ef61 commit 06ffd99
Show file tree
Hide file tree
Showing 2 changed files with 195 additions and 122 deletions.
104 changes: 71 additions & 33 deletions src/config/modelProviders/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,33 @@ const Qwen: ModelProviderCard = {
},
tokens: 32_768,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Turbo',
id: 'qwen-math-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 4096,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Plus',
id: 'qwen-math-plus-latest',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
tokens: 4096,
},
{
description: '通义千问代码模型。',
displayName: 'Qwen Coder',
displayName: 'Qwen Coder Turbo',
id: 'qwen-coder-turbo-latest',
pricing: {
currency: 'CNY',
Expand Down Expand Up @@ -94,65 +118,54 @@ const Qwen: ModelProviderCard = {
tokens: 32_000,
vision: true,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Turbo',
id: 'qwen-math-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 4096,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Plus',
id: 'qwen-math-plus-latest',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
tokens: 4096,
},
{
description: '通义千问2.5对外开源的7B规模的模型。',
displayName: 'Qwen2.5 7B',
functionCall: true,
id: 'qwen2.5-7b-instruct',
pricing: {
currency: 'CNY',
input: 1,
output: 2,
},
tokens: 131_072,
},
{
description: '通义千问2.5对外开源的14B规模的模型。',
displayName: 'Qwen2.5 14B',
functionCall: true,
id: 'qwen2.5-14b-instruct',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 131_072,
},
{
description: '通义千问2.5对外开源的32B规模的模型。',
displayName: 'Qwen2.5 32B',
functionCall: true,
id: 'qwen2.5-32b-instruct',
pricing: {
currency: 'CNY',
input: 3.5,
output: 7,
},
tokens: 131_072,
},
{
description: '通义千问2.5对外开源的72B规模的模型。',
displayName: 'Qwen2.5 72B',
functionCall: true,
id: 'qwen2.5-72b-instruct',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
tokens: 131_072,
},
{
description: '通义千问2对外开源的57B规模14B激活参数的MOE模型。',
displayName: 'Qwen2 57B A14B MoE',
functionCall: true,
id: 'qwen2-57b-a14b-instruct',
tokens: 65_536,
},
{
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 1.5B',
Expand All @@ -168,12 +181,22 @@ const Qwen: ModelProviderCard = {
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 7B',
id: 'qwen2.5-math-7b-instruct',
pricing: {
currency: 'CNY',
input: 1,
output: 2,
},
tokens: 4096,
},
{
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 72B',
id: 'qwen2.5-math-72b-instruct',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
tokens: 4096,
},
{
Expand All @@ -191,24 +214,39 @@ const Qwen: ModelProviderCard = {
description: '通义千问代码模型开源版。',
displayName: 'Qwen2.5 Coder 7B',
id: 'qwen2.5-coder-7b-instruct',
pricing: {
currency: 'CNY',
input: 1,
output: 2,
},
tokens: 131_072,
},
{
description: '以 Qwen-7B 语言模型初始化,添加图像模型,图像输入分辨率为448的预训练模型。',
displayName: 'Qwen VL',
id: 'qwen-vl-v1',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
tokens: 8000,
vision: true,
},
{
description: '通义千问VL支持灵活的交互方式,包括多图、多轮问答、创作等能力的模型。',
displayName: 'Qwen VL Chat',
id: 'qwen-vl-chat-v1',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
tokens: 8000,
vision: true,
},
],
checkModel: 'qwen-turbo',
checkModel: 'qwen-turbo-latest',
description:
'通义千问是阿里云自主研发的超大规模语言模型,具有强大的自然语言理解和生成能力。它可以回答各种问题、创作文字内容、表达观点看法、撰写代码等,在多个领域发挥作用。',
disableBrowserRequest: true,
Expand Down
Loading

0 comments on commit 06ffd99

Please sign in to comment.