Skip to content

Commit

Permalink
💄 style: Update model display name & Remove Qwen preview model (lobeh…
Browse files Browse the repository at this point in the history
…ub#3757)

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update siliconcloud.ts

* Update stepfun.ts

* Update deepseek.ts

* Update zhipu.ts

* Update ollama.ts

* Update siliconcloud.ts

* Update groq.ts

* Update ollama.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update novita.ts

* Update perplexity.ts

* Update siliconcloud.ts

* Update groq.ts

* Update novita.ts

* Update ollama.ts

* Update qwen.ts

* Update zhipu.ts

* Update deepseek.ts

* Update ollama.ts

* Update qwen.ts

* Update siliconcloud.ts

* Update zhipu.ts

* Update siliconcloud.ts
  • Loading branch information
LovelyGuYiMeng authored Sep 8, 2024
1 parent a7cc9a2 commit dd439ba
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 63 deletions.
10 changes: 1 addition & 9 deletions src/config/modelProviders/deepseek.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,12 @@ const DeepSeek: ModelProviderCard = {
chatModels: [
{
description: '擅长通用对话任务',
displayName: 'DeepSeek-V2',
displayName: 'DeepSeek V2.5',
enabled: true,
functionCall: true,
id: 'deepseek-chat',
tokens: 128_000,
},
{
description: '擅长处理编程和数学任务',
displayName: 'DeepSeek-Coder-V2',
enabled: true,
functionCall: true,
id: 'deepseek-coder',
tokens: 128_000,
},
],
checkModel: 'deepseek-chat',
id: 'deepseek',
Expand Down
10 changes: 5 additions & 5 deletions src/config/modelProviders/novita.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ import { ModelProviderCard } from '@/types/llm';
const Novita: ModelProviderCard = {
chatModels: [
{
displayName: 'Llama3.1 8B Instruct',
displayName: 'Llama 3.1 8B Instruct',
enabled: true,
id: 'meta-llama/llama-3.1-8b-instruct',
tokens: 8192,
},
{
displayName: 'Llama3.1 70B Instruct',
displayName: 'Llama 3.1 70B Instruct',
enabled: true,
id: 'meta-llama/llama-3.1-70b-instruct',
tokens: 131_072,
},
{
displayName: 'Llama3.1 405B Instruct',
displayName: 'Llama 3.1 405B Instruct',
enabled: true,
id: 'meta-llama/llama-3.1-405b-instruct',
tokens: 32_768,
},
{
displayName: 'Llama3 8B Instruct',
displayName: 'Llama 3 8B Instruct',
id: 'meta-llama/llama-3-8b-instruct',
tokens: 8192,
},
{
displayName: 'Llama3 70B Instruct',
displayName: 'Llama 3 70B Instruct',
id: 'meta-llama/llama-3-70b-instruct',
tokens: 8192,
},
Expand Down
12 changes: 6 additions & 6 deletions src/config/modelProviders/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ import { ModelProviderCard } from '@/types/llm';
const Ollama: ModelProviderCard = {
chatModels: [
{
displayName: 'Llama3.1 8B',
displayName: 'Llama 3.1 8B',
enabled: true,
id: 'llama3.1',
tokens: 128_000,
},
{
displayName: 'Llama3.1 70B',
displayName: 'Llama 3.1 70B',
id: 'llama3.1:70b',
tokens: 128_000,
},
{
displayName: 'Llama3.1 405B',
displayName: 'Llama 3.1 405B',
id: 'llama3.1:405b',
tokens: 128_000,
},
Expand All @@ -41,18 +41,18 @@ const Ollama: ModelProviderCard = {
tokens: 16_384,
},
{
displayName: 'Gemma2 2B',
displayName: 'Gemma 2 2B',
id: 'gemma2:2b',
tokens: 8192,
},
{
displayName: 'Gemma2 9B',
displayName: 'Gemma 2 9B',
enabled: true,
id: 'gemma2',
tokens: 8192,
},
{
displayName: 'Gemma2 27B',
displayName: 'Gemma 2 27B',
id: 'gemma2:27b',
tokens: 8192,
},
Expand Down
12 changes: 6 additions & 6 deletions src/config/modelProviders/perplexity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,36 @@ import { ModelProviderCard } from '@/types/llm';
const Perplexity: ModelProviderCard = {
chatModels: [
{
displayName: 'Llama3.1 Sonar Small Chat',
displayName: 'Llama 3.1 Sonar Small Chat',
enabled: true,
id: 'llama-3.1-sonar-small-128k-chat',
tokens: 128_000,
},
{
displayName: 'Llama3.1 Sonar Large Chat',
displayName: 'Llama 3.1 Sonar Large Chat',
enabled: true,
id: 'llama-3.1-sonar-large-128k-chat',
tokens: 128_000,
},
{
displayName: 'Llama3.1 Sonar Small Online',
displayName: 'Llama 3.1 Sonar Small Online',
enabled: true,
id: 'llama-3.1-sonar-small-128k-online',
tokens: 128_000,
},
{
displayName: 'Llama3.1 Sonar Large Online',
displayName: 'Llama 3.1 Sonar Large Online',
enabled: true,
id: 'llama-3.1-sonar-large-128k-online',
tokens: 128_000,
},
{
displayName: 'Llama3.1 8B Instruct',
displayName: 'Llama 3.1 8B Instruct',
id: 'llama-3.1-8b-instruct',
tokens: 128_000,
},
{
displayName: 'Llama3.1 70B Instruct',
displayName: 'Llama 3.1 70B Instruct',
id: 'llama-3.1-70b-instruct',
tokens: 128_000,
},
Expand Down
11 changes: 1 addition & 10 deletions src/config/modelProviders/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,6 @@ const Qwen: ModelProviderCard = {
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,
},
Expand All @@ -79,7 +70,7 @@ const Qwen: ModelProviderCard = {
},
{
description: '通义千问2对外开源的57B规模14B激活参数的MOE模型',
displayName: 'Qwen2 57B-A14B MoE',
displayName: 'Qwen2 57B A14B MoE',
id: 'qwen2-57b-a14b-instruct',
tokens: 65_536, // https://huggingface.co/Qwen/Qwen2-57B-A14B-Instruct
},
Expand Down
88 changes: 61 additions & 27 deletions src/config/modelProviders/siliconcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,116 +4,150 @@ import { ModelProviderCard } from '@/types/llm';
const SiliconCloud: ModelProviderCard = {
chatModels: [
{
enabled: true,
id: 'Qwen/Qwen2-72B-Instruct',
displayName: 'Qwen2 1.5B',
id: 'Qwen/Qwen2-1.5B-Instruct',
tokens: 32_768,
},
{
enabled: true,
id: 'Qwen/Qwen2-Math-72B-Instruct',
displayName: 'Qwen2 7B',
id: 'Qwen/Qwen2-7B-Instruct',
tokens: 32_768,
},
{
enabled: true,
displayName: 'Qwen2 57B A14B',
id: 'Qwen/Qwen2-57B-A14B-Instruct',
tokens: 32_768,
},
{
id: 'Qwen/Qwen2-7B-Instruct',
enabled: true,
displayName: 'Qwen2 72B',
id: 'Qwen/Qwen2-72B-Instruct',
tokens: 32_768,
},
{
id: 'Qwen/Qwen2-1.5B-Instruct',
enabled: true,
displayName: 'Qwen2 Math 72B',
id: 'Qwen/Qwen2-Math-72B-Instruct',
tokens: 32_768,
},
{
id: 'Qwen/Qwen1.5-110B-Chat',
displayName: 'Qwen1.5 7B',
id: 'Qwen/Qwen1.5-7B-Chat',
tokens: 32_768,
},
{
id: 'Qwen/Qwen1.5-32B-Chat',
displayName: 'Qwen1.5 14B',
id: 'Qwen/Qwen1.5-14B-Chat',
tokens: 32_768,
},
{
id: 'Qwen/Qwen1.5-14B-Chat',
displayName: 'Qwen1.5 32B',
id: 'Qwen/Qwen1.5-32B-Chat',
tokens: 32_768,
},
{
id: 'Qwen/Qwen1.5-7B-Chat',
displayName: 'Qwen1.5 110B',
id: 'Qwen/Qwen1.5-110B-Chat',
tokens: 32_768,
},
{
id: 'deepseek-ai/DeepSeek-Coder-V2-Instruct',
tokens: 32_768,
displayName: 'Yi-1.5 6B',
id: '01-ai/Yi-1.5-6B-Chat',
tokens: 4096,
},
{
enabled: true,
id: 'deepseek-ai/DeepSeek-V2-Chat',
tokens: 32_768,
displayName: 'Yi-1.5 9B',
id: '01-ai/Yi-1.5-9B-Chat-16K',
tokens: 16_384,
},
{
id: 'deepseek-ai/deepseek-llm-67b-chat',
enabled: true,
displayName: 'Yi-1.5 34B',
id: '01-ai/Yi-1.5-34B-Chat-16K',
tokens: 16_384,
},
{
displayName: 'GLM-3 6B',
id: 'THUDM/chatglm3-6b',
tokens: 32_768,
},
{
enabled: true,
displayName: 'GLM-4 9B',
id: 'THUDM/glm-4-9b-chat',
tokens: 32_768,
},
{
id: 'THUDM/chatglm3-6b',
enabled: true,
displayName: 'Internlm 2.5 7B',
id: 'internlm/internlm2_5-7b-chat',
tokens: 32_768,
},
{
enabled: true,
id: '01-ai/Yi-1.5-34B-Chat-16K',
tokens: 16_384,
displayName: 'Internlm 2.5 20B',
id: 'internlm/internlm2_5-20b-chat',
tokens: 32_768,
},
{
id: '01-ai/Yi-1.5-9B-Chat-16K',
tokens: 16_384,
displayName: 'DeepSeek V2 Chat',
id: 'deepseek-ai/DeepSeek-V2-Chat',
tokens: 32_768,
},
{
id: '01-ai/Yi-1.5-6B-Chat',
tokens: 4096,
displayName: 'DeepSeek V2 Coder',
id: 'deepseek-ai/DeepSeek-Coder-V2-Instruct',
tokens: 32_768,
},
{
id: 'internlm/internlm2_5-7b-chat',
displayName: 'DeepSeek LLM 67B',
id: 'deepseek-ai/deepseek-llm-67b-chat',
tokens: 32_768,
},
{
enabled: true,
displayName: 'Gemma 2 9B',
id: 'google/gemma-2-9b-it',
tokens: 8192,
},
{
enabled: true,
displayName: 'Gemma 2 27B',
id: 'google/gemma-2-27b-it',
tokens: 8192,
},
{
id: 'internlm/internlm2_5-20b-chat',
tokens: 32_768,
},
{
enabled: true,
displayName: 'Llama 3.1 8B',
id: 'meta-llama/Meta-Llama-3.1-8B-Instruct',
tokens: 32_768,
},
{
enabled: true,
displayName: 'Llama 3.1 70B',
id: 'meta-llama/Meta-Llama-3.1-70B-Instruct',
tokens: 32_768,
},
{
enabled: true,
displayName: 'Llama 3.1 405B',
id: 'meta-llama/Meta-Llama-3.1-405B-Instruct',
tokens: 32_768,
},
{
displayName: 'Llama 3 70B',
id: 'meta-llama/Meta-Llama-3-70B-Instruct',
tokens: 8192,
},
{
displayName: 'Mistral 7B',
id: 'mistralai/Mistral-7B-Instruct-v0.2',
tokens: 32_768,
},
{
displayName: 'Mistral 8x7B',
id: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
tokens: 32_768,
},
Expand Down
8 changes: 8 additions & 0 deletions src/config/modelProviders/stepfun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,49 @@ const Stepfun: ModelProviderCard = {
chatModels: [
{
enabled: true,
displayName: 'Step 2 16K',
id: 'step-2-16k',
tokens: 16_000,
},
{
displayName: 'Step 1 256K',
id: 'step-1-256k',
tokens: 256_000,
},
{
enabled: true,
displayName: 'Step 1 128K',
id: 'step-1-128k',
tokens: 128_000,
},
{
enabled: true,
displayName: 'Step 1 32K',
id: 'step-1-32k',
tokens: 32_000,
},
{
enabled: true,
displayName: 'Step 1 8K',
id: 'step-1-8k',
tokens: 8000,
},
{
enabled: true,
displayName: 'Step 1 Flash',
id: 'step-1-flash',
tokens: 8000,
},
{
enabled: true,
displayName: 'Step 1V 32K',
id: 'step-1v-32k',
tokens: 32_000,
vision: true,
},
{
enabled: true,
displayName: 'Step 1V 8K',
id: 'step-1v-8k',
tokens: 8000,
vision: true,
Expand Down

0 comments on commit dd439ba

Please sign in to comment.