generated from odtp-org/odtp-component-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathodtp.yml
83 lines (72 loc) · 2.2 KB
/
odtp.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Schema version for tracking updates to the schema format
schema-version: "v0.5.0"
# Component Information
component-name: odtp-component-example
component-version: "v0.1.7"
component-license: AGPL-3.0
component-type: ephemeral
component-description: ODTP component to download a HF_DATASET
component-authors:
- name: Carlos Vivar Rios
orcid: "https://orcid.org/0000-0002-8076-2034"
component-repository:
url: "https://github.com/odtp-org/odtp-component-example"
doi: null
component-docker-image: "caviri/odtp-component-example:v0.1.7"
tags:
- huggingface
- testing
- example
# Tool Information
tools:
- tool-name: tool-example
tool-authors:
- name: Carlos Vivar Rios
orcid: "https://orcid.org/0000-0002-8076-2034"
tool-version: v0.1.0
tool-repository:
url: "https://github.com/odtp-org/tool-example"
doi: null
tool-license: AGPL-3.0
# If your tool require some secrets token to be passed as ENV to the component
# This won't be traced in MongoDB
secrets: null
# If the tool requires some building arguments such as Matlab license
build-args: null
# If applicable, ports exposed by the component
# Include Name, Description, and Port Value for each port
ports: null
# If applicable, parameters exposed by the component
# Datatype can be str, int, float, or bool.
parameters:
- name: HF_DATASET
default-value: "rotten_tomatoes"
datatype: string
description: "Hugging face dataset ID"
options:
- "rotten_tomatoes"
allow-custom-value: true
# If applicable, data-input list required by the component
data-inputs: null
# If applicable, data-output list produced by the component
data-output:
- name: test.csv
type: csv
path: "{{HF_DATASET}}/test.csv"
description: Output from dataset
- name: train.csv
type: csv
path: "{{HF_DATASET}}/train.csv"
description: Output from dataset
- name: validation.csv
type: csv
path: "{{HF_DATASET}}/validation.csv"
description: Output from dataset
# If applicable, path to schemas to perform semantic validation.
# Still under development. Ignore.
schema-input: null
schema-output: null
# If applicable, define devices needed such as GPU.
devices:
- type: gpu
required: false