Skip to content

Commit

Permalink
add dipper variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lowkeyrd committed Aug 15, 2024
1 parent 87d952e commit 5c3451f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Type: Project
Name: start-modelscope-v3
Provider:
- 阿里云
Version: 0.1.6
Version: dev
Description: ModelScope应用(fc3.0)
HomePage: https://github.com/devsapp/start-modelscope-v3
Tags:
Expand Down
32 changes: 32 additions & 0 deletions src/variable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
shared: #共享变量
modelId:
title: 模型ID
type: string
default: 'damo/nlp_structbert_sentiment-classification_chinese-ecommerce-base'
description: ModelScope的模型ID, 可以从 https://modelscope.cn/models 模型页获取
modelRevision:
title: 模型版本
type: string
default: 'v1.0.0'
description: ModelScope的模型版本,可以从 https://modelscope.cn/models 模型页获取
modelTask:
title: 模型任务类型
type: string
default: 'text-classification'
description: ModelScope的模型任务类型,可以从 https://modelscope.cn/models 模型页获取
accessToken:
title: Access Token
type: string
sensitive: true
description: ModelScope的访问令牌(SDK令牌),从https://modelscope.cn/my/myaccesstoken获取

services: #服务变量
tgpu_basic_func:
gpuInstanceType:
title: GPU实例类型
type: string
default: "fc.gpu.tesla.1"
description: GPU实例类型
enum:
- "fc.gpu.tesla.1"
- "fc.gpu.ampere.1"

0 comments on commit 5c3451f

Please sign in to comment.