-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvariable.yaml
More file actions
32 lines (31 loc) · 1.03 KB
/
variable.yaml
File metadata and controls
32 lines (31 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"