Skip to content

Commit 5c3451f

Browse files
committed
add dipper variable
1 parent 87d952e commit 5c3451f

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Type: Project
1212
Name: start-modelscope-v3
1313
Provider:
1414
- 阿里云
15-
Version: 0.1.6
15+
Version: dev
1616
Description: ModelScope应用(fc3.0)
1717
HomePage: https://github.com/devsapp/start-modelscope-v3
1818
Tags:

src/variable.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
shared: #共享变量
2+
modelId:
3+
title: 模型ID
4+
type: string
5+
default: 'damo/nlp_structbert_sentiment-classification_chinese-ecommerce-base'
6+
description: ModelScope的模型ID, 可以从 https://modelscope.cn/models 模型页获取
7+
modelRevision:
8+
title: 模型版本
9+
type: string
10+
default: 'v1.0.0'
11+
description: ModelScope的模型版本,可以从 https://modelscope.cn/models 模型页获取
12+
modelTask:
13+
title: 模型任务类型
14+
type: string
15+
default: 'text-classification'
16+
description: ModelScope的模型任务类型,可以从 https://modelscope.cn/models 模型页获取
17+
accessToken:
18+
title: Access Token
19+
type: string
20+
sensitive: true
21+
description: ModelScope的访问令牌(SDK令牌),从https://modelscope.cn/my/myaccesstoken获取
22+
23+
services: #服务变量
24+
tgpu_basic_func:
25+
gpuInstanceType:
26+
title: GPU实例类型
27+
type: string
28+
default: "fc.gpu.tesla.1"
29+
description: GPU实例类型
30+
enum:
31+
- "fc.gpu.tesla.1"
32+
- "fc.gpu.ampere.1"

0 commit comments

Comments
 (0)