Browse Source

feat: add vlm models from siliconflow (#10704)

SiliconFlow, Inc 6 months ago
parent
commit
e61242a337
19 changed files with 612 additions and 10 deletions
  1. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/Internvl2-26b.yaml
  2. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/Internvl2-8b.yaml
  3. 8 9
      api/core/model_runtime/model_providers/siliconflow/llm/_position.yaml
  4. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/deepdeek-coder-v2-instruct.yaml
  5. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/deepseek-v2-chat.yaml
  6. 2 0
      api/core/model_runtime/model_providers/siliconflow/llm/deepseek-v2.5.yaml
  7. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/hunyuan-a52b-instruct.yaml
  8. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/internvl2-llama3-76b.yaml
  9. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3-70b-instruct.yaml
  10. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3-8b-instruct.yaml
  11. 1 1
      api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3.1-70b-instruct.yaml
  12. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/qwen2-57b-a14b-instruct.yaml
  13. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/qwen2-72b-instruct.yaml
  14. 1 0
      api/core/model_runtime/model_providers/siliconflow/llm/qwen2-7b-instruct.yaml
  15. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/qwen2-vl-72b-instruct.yaml
  16. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/qwen2-vl-7b-Instruct.yaml
  17. 84 0
      api/core/model_runtime/model_providers/siliconflow/llm/qwen2.5-coder-32b-instruct.yaml
  18. 5 0
      api/core/model_runtime/model_providers/siliconflow/speech2text/funaudio-sense-voice-small.yaml
  19. 1 0
      api/core/model_runtime/model_providers/siliconflow/speech2text/sense-voice-small.yaml

File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/Internvl2-26b.yaml


File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/Internvl2-8b.yaml


+ 8 - 9
api/core/model_runtime/model_providers/siliconflow/llm/_position.yaml

@@ -1,16 +1,18 @@
+- Tencent/Hunyuan-A52B-Instruct
 - Qwen/Qwen2.5-72B-Instruct
 - Qwen/Qwen2.5-32B-Instruct
 - Qwen/Qwen2.5-14B-Instruct
 - Qwen/Qwen2.5-7B-Instruct
+- Qwen/Qwen2.5-Coder-32B-Instruct
 - Qwen/Qwen2.5-Coder-7B-Instruct
 - Qwen/Qwen2.5-Math-72B-Instruct
-- Qwen/Qwen2-72B-Instruct
-- Qwen/Qwen2-57B-A14B-Instruct
-- Qwen/Qwen2-7B-Instruct
+- Qwen/Qwen2-VL-72B-Instruct
 - Qwen/Qwen2-1.5B-Instruct
+- Pro/Qwen/Qwen2-VL-7B-Instruct
+- OpenGVLab/InternVL2-Llama3-76B
+- OpenGVLab/InternVL2-26B
+- Pro/OpenGVLab/InternVL2-8B
 - deepseek-ai/DeepSeek-V2.5
-- deepseek-ai/DeepSeek-V2-Chat
-- deepseek-ai/DeepSeek-Coder-V2-Instruct
 - THUDM/glm-4-9b-chat
 - 01-ai/Yi-1.5-34B-Chat-16K
 - 01-ai/Yi-1.5-9B-Chat-16K
@@ -20,9 +22,6 @@
 - meta-llama/Meta-Llama-3.1-405B-Instruct
 - meta-llama/Meta-Llama-3.1-70B-Instruct
 - meta-llama/Meta-Llama-3.1-8B-Instruct
-- meta-llama/Meta-Llama-3-70B-Instruct
-- meta-llama/Meta-Llama-3-8B-Instruct
 - google/gemma-2-27b-it
 - google/gemma-2-9b-it
-- mistralai/Mistral-7B-Instruct-v0.2
-- mistralai/Mixtral-8x7B-Instruct-v0.1
+- deepseek-ai/DeepSeek-V2-Chat

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/deepdeek-coder-v2-instruct.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '1.33'
   unit: '0.000001'
   currency: RMB
+deprecated: true

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/deepseek-v2-chat.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '1.33'
   unit: '0.000001'
   currency: RMB
+deprecated: true

+ 2 - 0
api/core/model_runtime/model_providers/siliconflow/llm/deepseek-v2.5.yaml

@@ -4,6 +4,8 @@ label:
 model_type: llm
 features:
   - agent-thought
+  - tool-call
+  - stream-tool-call
 model_properties:
   mode: chat
   context_size: 32768

File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/hunyuan-a52b-instruct.yaml


File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/internvl2-llama3-76b.yaml


+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3-70b-instruct.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '4.13'
   unit: '0.000001'
   currency: RMB
+deprecated: true

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3-8b-instruct.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '0'
   unit: '0.000001'
   currency: RMB
+deprecated: true

+ 1 - 1
api/core/model_runtime/model_providers/siliconflow/llm/meta-mlama-3.1-70b-instruct.yaml

@@ -6,7 +6,7 @@ features:
   - agent-thought
 model_properties:
   mode: chat
-  context_size: 32768
+  context_size: 8192
 parameter_rules:
   - name: temperature
     use_template: temperature

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/qwen2-57b-a14b-instruct.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '1.26'
   unit: '0.000001'
   currency: RMB
+deprecated: true

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/qwen2-72b-instruct.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '4.13'
   unit: '0.000001'
   currency: RMB
+deprecated: true

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/llm/qwen2-7b-instruct.yaml

@@ -37,3 +37,4 @@ pricing:
   output: '0'
   unit: '0.000001'
   currency: RMB
+deprecated: true

File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/qwen2-vl-72b-instruct.yaml


File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/qwen2-vl-7b-Instruct.yaml


File diff suppressed because it is too large
+ 84 - 0
api/core/model_runtime/model_providers/siliconflow/llm/qwen2.5-coder-32b-instruct.yaml


+ 5 - 0
api/core/model_runtime/model_providers/siliconflow/speech2text/funaudio-sense-voice-small.yaml

@@ -0,0 +1,5 @@
+model: FunAudioLLM/SenseVoiceSmall
+model_type: speech2text
+model_properties:
+  file_upload_limit: 1
+  supported_file_extensions: mp3,wav

+ 1 - 0
api/core/model_runtime/model_providers/siliconflow/speech2text/sense-voice-small.yaml

@@ -3,3 +3,4 @@ model_type: speech2text
 model_properties:
   file_upload_limit: 1
   supported_file_extensions: mp3,wav
+deprecated: true