chore: update maas model provider description (#5056)

This commit is contained in:
sino 2024-06-11 11:22:22 +08:00 committed by GitHub
parent 415816cf35
commit 5f870ac950
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 2 deletions

View File

@ -69,4 +69,24 @@ ModelConfigs = {
'mode': 'chat', 'mode': 'chat',
} }
}, },
'Llama3-8B': {
'req_params': {
'max_prompt_tokens': 8192,
'max_new_tokens': 8192,
},
'model_properties': {
'context_size': 8192,
'mode': 'chat',
}
},
'Llama3-70B': {
'req_params': {
'max_prompt_tokens': 8192,
'max_new_tokens': 8192,
},
'model_properties': {
'context_size': 8192,
'mode': 'chat',
}
}
} }

View File

@ -2,7 +2,8 @@ provider: volcengine_maas
label: label:
en_US: Volcengine en_US: Volcengine
description: description:
en_US: Volcengine MaaS models. en_US: Volcengine Ark models.
zh_Hans: 火山方舟提供的模型,例如 Doubao-pro-4k、Doubao-pro-32k 和 Doubao-pro-128k。
icon_small: icon_small:
en_US: icon_s_en.svg en_US: icon_s_en.svg
icon_large: icon_large:
@ -12,6 +13,7 @@ background: "#F9FAFB"
help: help:
title: title:
en_US: Get your Access Key and Secret Access Key from Volcengine Console en_US: Get your Access Key and Secret Access Key from Volcengine Console
zh_Hans: 从火山引擎控制台获取您的 Access Key 和 Secret Access Key
url: url:
en_US: https://console.volcengine.com/iam/keymanage/ en_US: https://console.volcengine.com/iam/keymanage/
supported_model_types: supported_model_types:
@ -50,7 +52,7 @@ model_credential_schema:
required: true required: true
label: label:
en_US: Volcengine Region en_US: Volcengine Region
zh_Hans: 火山引擎地 zh_Hans: 火山引擎地
type: text-input type: text-input
default: cn-beijing default: cn-beijing
placeholder: placeholder:
@ -124,6 +126,18 @@ model_credential_schema:
show_on: show_on:
- variable: __model_type - variable: __model_type
value: llm value: llm
- label:
en_US: Llama3-8B
value: Llama3-8B
show_on:
- variable: __model_type
value: llm
- label:
en_US: Llama3-70B
value: Llama3-70B
show_on:
- variable: __model_type
value: llm
- label: - label:
en_US: Doubao-embedding en_US: Doubao-embedding
value: Doubao-embedding value: Doubao-embedding