Skip to content

Commit

Permalink
💄 style: add Llama 3.1 Nemotron 70B model & reorder some provider mod…
Browse files Browse the repository at this point in the history
…el list (lobehub#4424)

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update moonshot.ts

* Update stepfun.ts

* Update zeroone.ts

* Update zhipu.ts

* Update zhipu.ts

* Update zhipu.ts
  • Loading branch information
LovelyGuYiMeng authored Oct 20, 2024
1 parent 5d284d5 commit 9355a3d
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 132 deletions.
16 changes: 8 additions & 8 deletions src/config/modelProviders/moonshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ const Moonshot: ModelProviderCard = {
chatModels: [
{
description:
'Moonshot V1 128K 是一款拥有超长上下文处理能力的模型,适用于生成超长文本,满足复杂的生成任务需求,能够处理多达128,000个tokens的内容,非常适合科研、学术和大型文档生成等应用场景。',
displayName: 'Moonshot V1 128K',
'Moonshot V1 8K 专为生成短文本任务设计,具有高效的处理性能,能够处理8,192个tokens,非常适合简短对话、速记和快速内容生成。',
displayName: 'Moonshot V1 8K',
enabled: true,
functionCall: true,
id: 'moonshot-v1-128k',
tokens: 128_000,
id: 'moonshot-v1-8k',
tokens: 8192,
},
{
description:
Expand All @@ -23,12 +23,12 @@ const Moonshot: ModelProviderCard = {
},
{
description:
'Moonshot V1 8K 专为生成短文本任务设计,具有高效的处理性能,能够处理8,192个tokens,非常适合简短对话、速记和快速内容生成。',
displayName: 'Moonshot V1 8K',
'Moonshot V1 128K 是一款拥有超长上下文处理能力的模型,适用于生成超长文本,满足复杂的生成任务需求,能够处理多达128,000个tokens的内容,非常适合科研、学术和大型文档生成等应用场景。',
displayName: 'Moonshot V1 128K',
enabled: true,
functionCall: true,
id: 'moonshot-v1-8k',
tokens: 8192,
id: 'moonshot-v1-128k',
tokens: 128_000,
},
],
checkModel: 'moonshot-v1-8k',
Expand Down
14 changes: 12 additions & 2 deletions src/config/modelProviders/siliconcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ const SiliconCloud: ModelProviderCard = {
{
description: 'Qwen2.5-Math 专注于数学领域的问题求解,为高难度题提供专业解答。',
displayName: 'Qwen2.5 Math 72B',
enabled: true,
id: 'Qwen/Qwen2.5-Math-72B-Instruct',
pricing: {
currency: 'CNY',
Expand All @@ -107,7 +106,6 @@ const SiliconCloud: ModelProviderCard = {
{
description: 'Qwen2.5-Coder 专注于代码编写。',
displayName: 'Qwen2.5 Coder 7B',
enabled: true,
id: 'Qwen/Qwen2.5-Coder-7B-Instruct',
pricing: {
currency: 'CNY',
Expand Down Expand Up @@ -270,6 +268,18 @@ const SiliconCloud: ModelProviderCard = {
},
tokens: 32_768,
},
{
description: 'Llama 3.1 Nemotron 70B 是由 NVIDIA 定制的大型语言模型,旨在提高 LLM 生成的响应对用户查询的帮助程度。',
displayName: 'Llama 3.1 Nemotron 70B',
enabled: true,
id: 'nvidia/Llama-3.1-Nemotron-70B-Instruct',
pricing: {
currency: 'CNY',
input: 4.13,
output: 4.13,
},
tokens: 32_768,
},
],
checkModel: 'Qwen/Qwen2.5-7B-Instruct',
description: 'SiliconCloud,基于优秀开源基础模型的高性价比 GenAI 云服务',
Expand Down
58 changes: 29 additions & 29 deletions src/config/modelProviders/stepfun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,20 @@ import { ModelProviderCard } from '@/types/llm';
const Stepfun: ModelProviderCard = {
chatModels: [
{
description: '支持大规模上下文交互,适合复杂对话场景。',
displayName: 'Step 2 16K',
description: '高速模型,适合实时对话。',
displayName: 'Step 1 Flash',
enabled: true,
functionCall: true,
id: 'step-2-16k',
tokens: 16_000,
},
{
description: '具备超长上下文处理能力,尤其适合长文档分析。',
displayName: 'Step 1 256K',
functionCall: true,
id: 'step-1-256k',
tokens: 256_000,
id: 'step-1-flash',
tokens: 8000,
},
{
description: '平衡性能与成本,适合一般场景。',
displayName: 'Step 1 128K',
description: '小型模型,适合轻量级任务。',
displayName: 'Step 1 8K',
enabled: true,
functionCall: true,
id: 'step-1-128k',
tokens: 128_000,
id: 'step-1-8k',
tokens: 8000,
},
{
description: '支持中等长度的对话,适用于多种应用场景。',
Expand All @@ -36,29 +29,27 @@ const Stepfun: ModelProviderCard = {
tokens: 32_000,
},
{
description: '小型模型,适合轻量级任务。',
displayName: 'Step 1 8K',
description: '平衡性能与成本,适合一般场景。',
displayName: 'Step 1 128K',
enabled: true,
functionCall: true,
id: 'step-1-8k',
tokens: 8000,
id: 'step-1-128k',
tokens: 128_000,
},
{
description: '高速模型,适合实时对话。',
displayName: 'Step 1 Flash',
enabled: true,
description: '具备超长上下文处理能力,尤其适合长文档分析。',
displayName: 'Step 1 256K',
functionCall: true,
id: 'step-1-flash',
tokens: 8000,
id: 'step-1-256k',
tokens: 256_000,
},
{
description: '支持视觉输入,增强多模态交互体验。',
displayName: 'Step 1V 32K',
description: '支持大规模上下文交互,适合复杂对话场景。',
displayName: 'Step 2 16K',
enabled: true,
functionCall: true,
id: 'step-1v-32k',
tokens: 32_000,
vision: true,
id: 'step-2-16k',
tokens: 16_000,
},
{
description: '小型视觉模型,适合基本的图文任务。',
Expand All @@ -69,6 +60,15 @@ const Stepfun: ModelProviderCard = {
tokens: 8000,
vision: true,
},
{
description: '支持视觉输入,增强多模态交互体验。',
displayName: 'Step 1V 32K',
enabled: true,
functionCall: true,
id: 'step-1v-32k',
tokens: 32_000,
vision: true,
},
],
checkModel: 'step-1-flash',
description:
Expand Down
77 changes: 38 additions & 39 deletions src/config/modelProviders/zeroone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,40 @@ const ZeroOne: ModelProviderCard = {
tokens: 16_384,
},
{
description: '全新千亿参数模型,提供超强问答及文本生成能力。',
displayName: 'Yi Large',
description: '小而精悍,轻量极速模型。提供强化数学运算和代码编写能力。',
displayName: 'Yi Spark',
enabled: true,
id: 'yi-large',
id: 'yi-spark',
pricing: {
currency: 'CNY',
input: 20,
output: 20,
input: 1,
output: 1,
},
tokens: 32_768,
tokens: 16_384,
},
{
description:
'在 yi-large 模型的基础上支持并强化了工具调用的能力,适用于各种需要搭建 agent 或 workflow 的业务场景。',
displayName: 'Yi Large FC',
description: '中型尺寸模型升级微调,能力均衡,性价比高。深度优化指令遵循能力。',
displayName: 'Yi Medium',
enabled: true,
functionCall: true,
id: 'yi-large-fc',
id: 'yi-medium',
pricing: {
currency: 'CNY',
input: 20,
output: 20,
input: 2.5,
output: 2.5,
},
tokens: 32_768,
tokens: 16_384,
},
{
description:
'基于 yi-large 超强模型的高阶服务,结合检索与生成技术提供精准答案,实时全网检索信息服务。',
displayName: 'Yi Large RAG',
description: '200K 超长上下文窗口,提供长文本深度理解和生成能力。',
displayName: 'Yi Medium 200K',
enabled: true,
id: 'yi-large-rag',
id: 'yi-medium-200k',
pricing: {
currency: 'CNY',
input: 25,
output: 25,
input: 12,
output: 12,
},
tokens: 16_384,
tokens: 200_000,
},
{
description: '超高性价比、卓越性能。根据性能和推理速度、成本,进行平衡性高精度调优。',
Expand All @@ -67,40 +64,42 @@ const ZeroOne: ModelProviderCard = {
tokens: 16_384,
},
{
description: '中型尺寸模型升级微调,能力均衡,性价比高。深度优化指令遵循能力。',
displayName: 'Yi Medium',
description:
'基于 yi-large 超强模型的高阶服务,结合检索与生成技术提供精准答案,实时全网检索信息服务。',
displayName: 'Yi Large RAG',
enabled: true,
id: 'yi-medium',
id: 'yi-large-rag',
pricing: {
currency: 'CNY',
input: 2.5,
output: 2.5,
input: 25,
output: 25,
},
tokens: 16_384,
},
{
description: '200K 超长上下文窗口,提供长文本深度理解和生成能力。',
displayName: 'Yi Medium 200K',
description:
'在 yi-large 模型的基础上支持并强化了工具调用的能力,适用于各种需要搭建 agent 或 workflow 的业务场景。',
displayName: 'Yi Large FC',
enabled: true,
id: 'yi-medium-200k',
functionCall: true,
id: 'yi-large-fc',
pricing: {
currency: 'CNY',
input: 12,
output: 12,
input: 20,
output: 20,
},
tokens: 200_000,
tokens: 32_768,
},
{
description: '小而精悍,轻量极速模型。提供强化数学运算和代码编写能力。',
displayName: 'Yi Spark',
enabled: true,
id: 'yi-spark',
description: '全新千亿参数模型,提供超强问答及文本生成能力。',
displayName: 'Yi Large',
id: 'yi-large',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
input: 20,
output: 20,
},
tokens: 16_384,
tokens: 32_768,
},
{
description: '复杂视觉任务模型,提供高性能图片理解、分析能力。',
Expand Down
Loading

0 comments on commit 9355a3d

Please sign in to comment.