Skip to content

Commit

Permalink
💄 style: update ollama models (#4853)
Browse files Browse the repository at this point in the history
* 💄 style: update ollama models

* style: improve i18n
  • Loading branch information
arvinxx authored Dec 1, 2024
1 parent ab30cba commit 18f0a3c
Show file tree
Hide file tree
Showing 19 changed files with 1,803 additions and 188 deletions.
101 changes: 94 additions & 7 deletions locales/ar/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/bg-BG/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/de-DE/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/en-US/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/es-ES/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/fa-IR/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/fr-FR/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/it-IT/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/ja-JP/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/ko-KR/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/nl-NL/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/pl-PL/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/pt-BR/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/ru-RU/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/tr-TR/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/vi-VN/models.json

Large diffs are not rendered by default.

155 changes: 121 additions & 34 deletions locales/zh-CN/models.json

Large diffs are not rendered by default.

101 changes: 94 additions & 7 deletions locales/zh-TW/models.json

Large diffs are not rendered by default.

119 changes: 84 additions & 35 deletions src/config/modelProviders/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,84 @@ const Ollama: ModelProviderCard = {
id: 'codellama:70b',
tokens: 16_384,
},
{
description: 'QwQ 是一个实验研究模型,专注于提高 AI 推理能力。',
displayName: 'QwQ 32B',
enabled: true,
functionCall: true,
id: 'qwq',
releasedAt: '2024-11-28',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 0.5B',
id: 'qwen2.5:0.5b',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 1.5B',
id: 'qwen2.5:1.5b',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 7B',
enabled: true,
functionCall: true,
id: 'qwen2.5',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 72B',
id: 'qwen2.5:72b',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 7B',
enabled: true,
functionCall: true,
id: 'qwen2.5',
tokens: 128_000,
},
{
description: 'CodeQwen1.5 是基于大量代码数据训练的大型语言模型,专为解决复杂编程任务。',
displayName: 'CodeQwen1.5 7B',
functionCall: true,
id: 'codeqwen',
tokens: 65_536,
},
{
description: 'Qwen2 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2 0.5B',
functionCall: true,
id: 'qwen2:0.5b',
tokens: 128_000,
},
{
description: 'Qwen2 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2 1.5B',
functionCall: true,
id: 'qwen2:1.5b',
tokens: 128_000,
},
{
description: 'Qwen2 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2 7B',
functionCall: true,
id: 'qwen2',
tokens: 128_000,
},
{
description: 'Qwen2 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2 72B',
functionCall: true,
id: 'qwen2:72b',
tokens: 128_000,
},
{
description: 'Gemma 2 是 Google 推出的高效模型,涵盖从小型应用到复杂数据处理的多种应用场景。',
displayName: 'Gemma 2 2B',
Expand All @@ -63,7 +141,6 @@ const Ollama: ModelProviderCard = {
{
description: 'Gemma 2 是 Google 推出的高效模型,涵盖从小型应用到复杂数据处理的多种应用场景。',
displayName: 'Gemma 2 9B',
enabled: true,
id: 'gemma2',
tokens: 8192,
},
Expand All @@ -82,7 +159,6 @@ const Ollama: ModelProviderCard = {
{
description: 'CodeGemma 专用于不同编程任务的轻量级语言模型,支持快速迭代和集成。',
displayName: 'CodeGemma 7B',
enabled: true,
id: 'codegemma',
tokens: 8192,
},
Expand Down Expand Up @@ -125,6 +201,7 @@ const Ollama: ModelProviderCard = {
description: 'Mistral 是 Mistral AI 发布的 7B 模型,适合多变的语言处理需求。',
displayName: 'Mistral 7B',
enabled: true,
functionCall: true,
id: 'mistral',
tokens: 32_768,
},
Expand All @@ -133,13 +210,15 @@ const Ollama: ModelProviderCard = {
'Mixtral 是 Mistral AI 的专家模型,具有开源权重,并在代码生成和语言理解方面提供支持。',
displayName: 'Mixtral 8x7B',
enabled: true,
functionCall: true,
id: 'mixtral',
tokens: 32_768,
},
{
description:
'Mixtral 是 Mistral AI 的专家模型,具有开源权重,并在代码生成和语言理解方面提供支持。',
displayName: 'Mixtral 8x22B',
functionCall: true,
id: 'mixtral:8x22b',
tokens: 65_536,
},
Expand All @@ -155,6 +234,7 @@ const Ollama: ModelProviderCard = {
description: 'Mistral Nemo 由 Mistral AI 和 NVIDIA 合作推出,是高效性能的 12B 模型。',
displayName: 'Mixtral Nemo 12B',
enabled: true,
functionCall: true,
id: 'mistral-nemo',
tokens: 128_000,
},
Expand Down Expand Up @@ -182,13 +262,15 @@ const Ollama: ModelProviderCard = {
description: 'Command R 是优化用于对话和长上下文任务的LLM,特别适合动态交互与知识管理。',
displayName: 'Command R 35B',
enabled: true,
functionCall: true,
id: 'command-r',
tokens: 131_072,
},
{
description: 'Command R+ 是一款高性能的大型语言模型,专为真实企业场景和复杂应用而设计。',
displayName: 'Command R+ 104B',
enabled: true,
functionCall: true,
id: 'command-r-plus',
tokens: 131_072,
},
Expand Down Expand Up @@ -220,39 +302,6 @@ const Ollama: ModelProviderCard = {
id: 'deepseek-coder-v2:236b',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 0.5B',
id: 'qwen2.5:0.5b',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 1.5B',
id: 'qwen2.5:1.5b',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 7B',
enabled: true,
functionCall: true,
id: 'qwen2.5',
tokens: 128_000,
},
{
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。',
displayName: 'Qwen2.5 72B',
id: 'qwen2.5:72b',
tokens: 128_000,
},
{
description: 'CodeQwen1.5 是基于大量代码数据训练的大型语言模型,专为解决复杂编程任务。',
displayName: 'CodeQwen1.5 7B',
enabled: true,
id: 'codeqwen',
tokens: 65_536,
},
{
description: 'LLaVA 是结合视觉编码器和 Vicuna 的多模态模型,用于强大的视觉和语言理解。',
displayName: 'LLaVA 7B',
Expand Down

0 comments on commit 18f0a3c

Please sign in to comment.