Team Ai
Apppublic

Underground-Digital/Workflow-Engine

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
sagemaker.yaml194 linesDownload Raw Back to sagemaker
1provider: sagemaker2label:3  zh_Hans: Sagemaker4  en_US: Sagemaker5icon_small:6  en_US: icon_s_en.png7icon_large:8  en_US: icon_l_en.png9description:10  en_US: Customized model on Sagemaker11  zh_Hans: Sagemaker上的私有化部署的模型12background: "#ECE9E3"13help:14  title:15    en_US: How to deploy customized model on Sagemaker16    zh_Hans: 如何在Sagemaker上的私有化部署的模型17  url:18    en_US: https://github.com/aws-samples/dify-aws-tool/blob/main/README.md#how-to-deploy-sagemaker-endpoint19    zh_Hans: https://github.com/aws-samples/dify-aws-tool/blob/main/README_ZH.md#%E5%A6%82%E4%BD%95%E9%83%A8%E7%BD%B2sagemaker%E6%8E%A8%E7%90%86%E7%AB%AF%E7%82%B920supported_model_types:21  - llm22  - text-embedding23  - rerank24  - speech2text25  - tts26configurate_methods:27  - customizable-model28model_credential_schema:29  model:30    label:31      en_US: Model Name32      zh_Hans: 模型名称33    placeholder:34      en_US: Enter your model name35      zh_Hans: 输入模型名称36  credential_form_schemas:37    - variable: mode38      show_on:39        - variable: __model_type40          value: llm41      label:42        en_US: Completion mode43      type: select44      required: false45      default: chat46      placeholder:47        zh_Hans: 选择对话类型48        en_US: Select completion mode49      options:50        - value: chat51          label:52            en_US: Chat53            zh_Hans: Chat54    - variable: sagemaker_endpoint55      label:56        en_US: sagemaker endpoint57      type: text-input58      required: true59      placeholder:60        zh_Hans: 请输出你的Sagemaker推理端点61        en_US: Enter your Sagemaker Inference endpoint62    - variable: audio_s3_cache_bucket63      show_on:64        - variable: __model_type65          value: speech2text66      label:67        zh_Hans: 音频缓存桶(s3 bucket)68        en_US: audio cache bucket(s3 bucket)69      type: text-input70      required: true71      placeholder:72        zh_Hans: sagemaker-us-east-1-******20783873        en_US: sagemaker-us-east-1-*******783874    - variable: audio_model_type75      show_on:76        - variable: __model_type77          value: tts78      label:79        en_US: Audio model type80      type: select81      required: true82      placeholder:83        zh_Hans: 语音模型类型84        en_US: Audio model type85      options:86        - value: PresetVoice87          label:88            en_US: preset voice89            zh_Hans: 内置音色90        - value: CloneVoice91          label:92            en_US: clone voice93            zh_Hans: 克隆音色94        - value: CloneVoice_CrossLingual95          label:96            en_US: crosslingual clone voice97            zh_Hans: 跨语种克隆音色98        - value: InstructVoice99          label:100            en_US: Instruct voice101            zh_Hans: 文字指令音色102    - variable: prompt_audio103      show_on:104        - variable: __model_type105          value: tts106      label:107        en_US: Mock Audio Source108      type: text-input109      required: false110      placeholder:111        zh_Hans: 被模仿的音色音频112        en_US: source audio to be mocked113    - variable: prompt_text114      show_on:115        - variable: __model_type116          value: tts117      label:118        en_US: Prompt Audio Text119      type: text-input120      required: false121      placeholder:122        zh_Hans: 模仿音色的对应文本123        en_US: text for the mocked source audio124    - variable: instruct_text125      show_on:126        - variable: __model_type127          value: tts128      label:129        en_US: instruct text for speaker130      type: text-input131      required: false132    - variable: aws_access_key_id133      required: false134      label:135        en_US: Access Key (If not provided, credentials are obtained from the running environment.)136        zh_Hans: Access Key (如果未提供,凭证将从运行环境中获取。)137      type: secret-input138      placeholder:139        en_US: Enter your Access Key140        zh_Hans: 在此输入您的 Access Key141    - variable: aws_secret_access_key142      required: false143      label:144        en_US: Secret Access Key145        zh_Hans: Secret Access Key146      type: secret-input147      placeholder:148        en_US: Enter your Secret Access Key149        zh_Hans: 在此输入您的 Secret Access Key150    - variable: aws_region151      required: false152      label:153        en_US: AWS Region154        zh_Hans: AWS 地区155      type: select156      default: us-east-1157      options:158        - value: us-east-1159          label:160            en_US: US East (N. Virginia)161            zh_Hans: 美国东部 (弗吉尼亚北部)162        - value: us-west-2163          label:164            en_US: US West (Oregon)165            zh_Hans: 美国西部 (俄勒冈州)166        - value: ap-southeast-1167          label:168            en_US: Asia Pacific (Singapore)169            zh_Hans: 亚太地区 (新加坡)170        - value: ap-northeast-1171          label:172            en_US: Asia Pacific (Tokyo)173            zh_Hans: 亚太地区 (东京)174        - value: eu-central-1175          label:176            en_US: Europe (Frankfurt)177            zh_Hans: 欧洲 (法兰克福)178        - value: us-gov-west-1179          label:180            en_US: AWS GovCloud (US-West)181            zh_Hans: AWS GovCloud (US-West)182        - value: ap-southeast-2183          label:184            en_US: Asia Pacific (Sydney)185            zh_Hans: 亚太地区 (悉尼)186        - value: cn-north-1187          label:188            en_US: AWS Beijing (cn-north-1)189            zh_Hans: 中国北京 (cn-north-1)190        - value: cn-northwest-1191          label:192            en_US: AWS Ningxia (cn-northwest-1)193            zh_Hans: 中国宁夏 (cn-northwest-1)194