Просмотр исходного кода

Fixed Novita AI color and added DeepSeek R1 model (#13074)

Jason 2 месяцев назад
Родитель
Сommit
560c5de1b7
34 измененных файлов с 105 добавлено и 63 удалено
  1. 2 2
      api/core/model_runtime/model_providers/novita/llm/L3-8B-Stheno-v3.2.yaml
  2. 1 0
      api/core/model_runtime/model_providers/novita/llm/_position.yaml
  3. 2 2
      api/core/model_runtime/model_providers/novita/llm/airoboros-l2-70b.yaml
  4. 41 0
      api/core/model_runtime/model_providers/novita/llm/deepseek-r1.yaml
  5. 2 2
      api/core/model_runtime/model_providers/novita/llm/deepseek_v3.yaml
  6. 2 2
      api/core/model_runtime/model_providers/novita/llm/dolphin-mixtral-8x22b.yaml
  7. 2 2
      api/core/model_runtime/model_providers/novita/llm/gemma-2-9b-it.yaml
  8. 2 2
      api/core/model_runtime/model_providers/novita/llm/hermes-2-pro-llama-3-8b.yaml
  9. 2 2
      api/core/model_runtime/model_providers/novita/llm/l3-70b-euryale-v2.1.yaml
  10. 2 2
      api/core/model_runtime/model_providers/novita/llm/l3-8b-lunaris.yaml
  11. 2 2
      api/core/model_runtime/model_providers/novita/llm/l31-70b-euryale-v2.2.yaml
  12. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3-70b-instruct.yaml
  13. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3-8b-instruct.yaml
  14. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.1-70b-instruct.yaml
  15. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.1-8b-instruct-bf16.yaml
  16. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.1-8b-instruct-max.yaml
  17. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.1-8b-instruct.yaml
  18. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.2-11b-vision-instruct.yaml
  19. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.2-1b-instruct.yaml
  20. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.2-3b-instruct.yaml
  21. 2 2
      api/core/model_runtime/model_providers/novita/llm/llama-3.3-70b-instruct.yaml
  22. 2 2
      api/core/model_runtime/model_providers/novita/llm/midnight-rose-70b.yaml
  23. 2 2
      api/core/model_runtime/model_providers/novita/llm/mistral-7b-instruct.yaml
  24. 2 2
      api/core/model_runtime/model_providers/novita/llm/mistral-nemo.yaml
  25. 2 2
      api/core/model_runtime/model_providers/novita/llm/mythomax-l2-13b.yaml
  26. 2 2
      api/core/model_runtime/model_providers/novita/llm/nous-hermes-llama2-13b.yaml
  27. 2 2
      api/core/model_runtime/model_providers/novita/llm/openchat-7b.yaml
  28. 2 2
      api/core/model_runtime/model_providers/novita/llm/openhermes-2.5-mistral-7b.yaml
  29. 2 2
      api/core/model_runtime/model_providers/novita/llm/qwen-2-72b-instruct.yaml
  30. 2 2
      api/core/model_runtime/model_providers/novita/llm/qwen-2-7b-instruct.yaml
  31. 2 2
      api/core/model_runtime/model_providers/novita/llm/qwen-2-vl-72b-instruct.yaml
  32. 2 2
      api/core/model_runtime/model_providers/novita/llm/qwen-2.5-72b-instruct.yaml
  33. 2 2
      api/core/model_runtime/model_providers/novita/llm/wizardlm-2-8x22b.yaml
  34. 1 1
      api/core/model_runtime/model_providers/novita/novita.yaml

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/L3-8B-Stheno-v3.2.yaml

@@ -1,7 +1,7 @@
 model: Sao10K/L3-8B-Stheno-v3.2
 label:
-  zh_Hans: Sao10K/L3-8B-Stheno-v3.2
-  en_US: Sao10K/L3-8B-Stheno-v3.2
+  zh_Hans: L3 8B Stheno V3.2
+  en_US: L3 8B Stheno V3.2
 model_type: llm
 features:
   - agent-thought

+ 1 - 0
api/core/model_runtime/model_providers/novita/llm/_position.yaml

@@ -1,4 +1,5 @@
 # Deepseek Models
+- deepseek/deepseek-r1
 - deepseek/deepseek_v3
 
 # LLaMA Models

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/airoboros-l2-70b.yaml

@@ -1,7 +1,7 @@
 model: jondurbin/airoboros-l2-70b
 label:
-  zh_Hans: jondurbin/airoboros-l2-70b
-  en_US: jondurbin/airoboros-l2-70b
+  zh_Hans: Airoboros L2 70B
+  en_US: Airoboros L2 70B
 model_type: llm
 features:
   - agent-thought

+ 41 - 0
api/core/model_runtime/model_providers/novita/llm/deepseek-r1.yaml

@@ -0,0 +1,41 @@
+model: deepseek/deepseek-r1
+label:
+  zh_Hans: DeepSeek R1
+  en_US: DeepSeek R1
+model_type: llm
+features:
+  - agent-thought
+model_properties:
+  mode: chat
+  context_size: 64000
+parameter_rules:
+  - name: temperature
+    use_template: temperature
+    min: 0
+    max: 2
+    default: 1
+  - name: top_p
+    use_template: top_p
+    min: 0
+    max: 1
+    default: 1
+  - name: max_tokens
+    use_template: max_tokens
+    min: 1
+    max: 2048
+    default: 512
+  - name: frequency_penalty
+    use_template: frequency_penalty
+    min: -2
+    max: 2
+    default: 0
+  - name: presence_penalty
+    use_template: presence_penalty
+    min: -2
+    max: 2
+    default: 0
+pricing:
+  input: '0.04'
+  output: '0.04'
+  unit: '0.0001'
+  currency: USD

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/deepseek_v3.yaml

@@ -1,7 +1,7 @@
 model: deepseek/deepseek_v3
 label:
-  zh_Hans: deepseek/deepseek_v3
-  en_US: deepseek/deepseek_v3
+  zh_Hans: DeepSeek V3
+  en_US: DeepSeek V3
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/dolphin-mixtral-8x22b.yaml

@@ -1,7 +1,7 @@
 model: cognitivecomputations/dolphin-mixtral-8x22b
 label:
-  zh_Hans: cognitivecomputations/dolphin-mixtral-8x22b
-  en_US: cognitivecomputations/dolphin-mixtral-8x22b
+  zh_Hans: Dolphin Mixtral 8x22B
+  en_US: Dolphin Mixtral 8x22B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/gemma-2-9b-it.yaml

@@ -1,7 +1,7 @@
 model: google/gemma-2-9b-it
 label:
-  zh_Hans: google/gemma-2-9b-it
-  en_US: google/gemma-2-9b-it
+  zh_Hans: Gemma 2 9B
+  en_US: Gemma 2 9B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/hermes-2-pro-llama-3-8b.yaml

@@ -1,7 +1,7 @@
 model: nousresearch/hermes-2-pro-llama-3-8b
 label:
-  zh_Hans: nousresearch/hermes-2-pro-llama-3-8b
-  en_US: nousresearch/hermes-2-pro-llama-3-8b
+  zh_Hans: Hermes 2 Pro Llama 3 8B
+  en_US: Hermes 2 Pro Llama 3 8B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/l3-70b-euryale-v2.1.yaml

@@ -1,7 +1,7 @@
 model: sao10k/l3-70b-euryale-v2.1
 label:
-  zh_Hans: sao10k/l3-70b-euryale-v2.1
-  en_US: sao10k/l3-70b-euryale-v2.1
+  zh_Hans: "L3 70B Euryale V2.1\t"
+  en_US: "L3 70B Euryale V2.1\t"
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/l3-8b-lunaris.yaml

@@ -1,7 +1,7 @@
 model: sao10k/l3-8b-lunaris
 label:
-  zh_Hans: sao10k/l3-8b-lunaris
-  en_US: sao10k/l3-8b-lunaris
+  zh_Hans: "Sao10k L3 8B Lunaris"
+  en_US: "Sao10k L3 8B Lunaris"
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/l31-70b-euryale-v2.2.yaml

@@ -1,7 +1,7 @@
 model: sao10k/l31-70b-euryale-v2.2
 label:
-  zh_Hans: sao10k/l31-70b-euryale-v2.2
-  en_US: sao10k/l31-70b-euryale-v2.2
+  zh_Hans: L31 70B Euryale V2.2
+  en_US: L31 70B Euryale V2.2
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3-70b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3-70b-instruct
 label:
-  zh_Hans: meta-llama/llama-3-70b-instruct
-  en_US: meta-llama/llama-3-70b-instruct
+  zh_Hans: Llama3 70b Instruct
+  en_US: Llama3 70b Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3-8b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3-8b-instruct
 label:
-  zh_Hans: meta-llama/llama-3-8b-instruct
-  en_US: meta-llama/llama-3-8b-instruct
+  zh_Hans: Llama 3 8B Instruct
+  en_US: Llama 3 8B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.1-70b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.1-70b-instruct
 label:
-  zh_Hans: meta-llama/llama-3.1-70b-instruct
-  en_US: meta-llama/llama-3.1-70b-instruct
+  zh_Hans: Llama 3.1 70B Instruct
+  en_US: Llama 3.1 70B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.1-8b-instruct-bf16.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.1-8b-instruct-bf16
 label:
-  zh_Hans: meta-llama/llama-3.1-8b-instruct-bf16
-  en_US: meta-llama/llama-3.1-8b-instruct-bf16
+  zh_Hans: Llama 3.1 8B Instruct BF16
+  en_US: Llama 3.1 8B Instruct BF16
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.1-8b-instruct-max.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.1-8b-instruct-max
 label:
-  zh_Hans: meta-llama/llama-3.1-8b-instruct-max
-  en_US: meta-llama/llama-3.1-8b-instruct-max
+  zh_Hans: "Llama3.1 8B Instruct Max\t"
+  en_US: "Llama3.1 8B Instruct Max\t"
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.1-8b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.1-8b-instruct
 label:
-  zh_Hans: meta-llama/llama-3.1-8b-instruct
-  en_US: meta-llama/llama-3.1-8b-instruct
+  zh_Hans: Llama 3.1 8B Instruct
+  en_US: Llama 3.1 8B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.2-11b-vision-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.2-11b-vision-instruct
 label:
-  zh_Hans: meta-llama/llama-3.2-11b-vision-instruct
-  en_US: meta-llama/llama-3.2-11b-vision-instruct
+  zh_Hans: "Llama 3.2 11B Vision Instruct\t"
+  en_US: "Llama 3.2 11B Vision Instruct\t"
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.2-1b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.2-1b-instruct
 label:
-  zh_Hans: meta-llama/llama-3.2-1b-instruct
-  en_US: meta-llama/llama-3.2-1b-instruct
+  zh_Hans: "Llama 3.2 1B Instruct\t"
+  en_US: "Llama 3.2 1B Instruct\t"
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.2-3b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.2-3b-instruct
 label:
-  zh_Hans: meta-llama/llama-3.2-3b-instruct
-  en_US: meta-llama/llama-3.2-3b-instruct
+  zh_Hans: Llama 3.2 3B Instruct
+  en_US: Llama 3.2 3B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/llama-3.3-70b-instruct.yaml

@@ -1,7 +1,7 @@
 model: meta-llama/llama-3.3-70b-instruct
 label:
-  zh_Hans: meta-llama/llama-3.3-70b-instruct
-  en_US: meta-llama/llama-3.3-70b-instruct
+  zh_Hans: Llama 3.3 70B Instruct
+  en_US: Llama 3.3 70B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/midnight-rose-70b.yaml

@@ -1,7 +1,7 @@
 model: sophosympatheia/midnight-rose-70b
 label:
-  zh_Hans: sophosympatheia/midnight-rose-70b
-  en_US: sophosympatheia/midnight-rose-70b
+  zh_Hans: Midnight Rose 70B
+  en_US: Midnight Rose 70B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/mistral-7b-instruct.yaml

@@ -1,7 +1,7 @@
 model: mistralai/mistral-7b-instruct
 label:
-  zh_Hans: mistralai/mistral-7b-instruct
-  en_US: mistralai/mistral-7b-instruct
+  zh_Hans: Mistral 7B Instruct
+  en_US: Mistral 7B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/mistral-nemo.yaml

@@ -1,7 +1,7 @@
 model: mistralai/mistral-nemo
 label:
-  zh_Hans: mistralai/mistral-nemo
-  en_US: mistralai/mistral-nemo
+  zh_Hans: Mistral Nemo
+  en_US: Mistral Nemo
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/mythomax-l2-13b.yaml

@@ -1,7 +1,7 @@
 model: gryphe/mythomax-l2-13b
 label:
-  zh_Hans: gryphe/mythomax-l2-13b
-  en_US: gryphe/mythomax-l2-13b
+  zh_Hans: Mythomax L2 13B
+  en_US: Mythomax L2 13B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/nous-hermes-llama2-13b.yaml

@@ -1,7 +1,7 @@
 model: nousresearch/nous-hermes-llama2-13b
 label:
-  zh_Hans: nousresearch/nous-hermes-llama2-13b
-  en_US: nousresearch/nous-hermes-llama2-13b
+  zh_Hans: Nous Hermes Llama2 13B
+  en_US: Nous Hermes Llama2 13B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/openchat-7b.yaml

@@ -1,7 +1,7 @@
 model: openchat/openchat-7b
 label:
-  zh_Hans: openchat/openchat-7b
-  en_US: openchat/openchat-7b
+  zh_Hans: OpenChat 7B
+  en_US: OpenChat 7B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/openhermes-2.5-mistral-7b.yaml

@@ -1,7 +1,7 @@
 model: teknium/openhermes-2.5-mistral-7b
 label:
-  zh_Hans: teknium/openhermes-2.5-mistral-7b
-  en_US: teknium/openhermes-2.5-mistral-7b
+  zh_Hans: Openhermes2.5 Mistral 7B
+  en_US: Openhermes2.5 Mistral 7B
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/qwen-2-72b-instruct.yaml

@@ -1,7 +1,7 @@
 model: qwen/qwen-2-72b-instruct
 label:
-  zh_Hans: qwen/qwen-2-72b-instruct
-  en_US: qwen/qwen-2-72b-instruct
+  zh_Hans: Qwen2 72B Instruct
+  en_US: Qwen2 72B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/qwen-2-7b-instruct.yaml

@@ -1,7 +1,7 @@
 model: qwen/qwen-2-7b-instruct
 label:
-  zh_Hans: qwen/qwen-2-7b-instruct
-  en_US: qwen/qwen-2-7b-instruct
+  zh_Hans: Qwen 2 7B Instruct
+  en_US: Qwen 2 7B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/qwen-2-vl-72b-instruct.yaml

@@ -1,7 +1,7 @@
 model: qwen/qwen-2-vl-72b-instruct
 label:
-  zh_Hans: qwen/qwen-2-vl-72b-instruct
-  en_US: qwen/qwen-2-vl-72b-instruct
+  zh_Hans: Qwen 2 VL 72B Instruct
+  en_US: Qwen 2 VL 72B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/qwen-2.5-72b-instruct.yaml

@@ -1,7 +1,7 @@
 model: qwen/qwen-2.5-72b-instruct
 label:
-  zh_Hans: qwen/qwen-2.5-72b-instruct
-  en_US: qwen/qwen-2.5-72b-instruct
+  zh_Hans: Qwen 2.5 72B Instruct
+  en_US: Qwen 2.5 72B Instruct
 model_type: llm
 features:
   - agent-thought

+ 2 - 2
api/core/model_runtime/model_providers/novita/llm/wizardlm-2-8x22b.yaml

@@ -1,7 +1,7 @@
 model: microsoft/wizardlm-2-8x22b
 label:
-  zh_Hans: microsoft/wizardlm-2-8x22b
-  en_US: microsoft/wizardlm-2-8x22b
+  zh_Hans: Wizardlm 2 8x22B
+  en_US: Wizardlm 2 8x22B
 model_type: llm
 features:
   - agent-thought

+ 1 - 1
api/core/model_runtime/model_providers/novita/novita.yaml

@@ -8,7 +8,7 @@ icon_small:
   en_US: icon_s_en.svg
 icon_large:
   en_US: icon_l_en.svg
-background: "#eadeff"
+background: "#c7fce2"
 help:
   title:
     en_US: Get your API key from Novita AI