File tree Expand file tree Collapse file tree 3 files changed +28
-8
lines changed Expand file tree Collapse file tree 3 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 1
1
#ODTP COMPONENT VARIABLES
2
- HF_DATASET=
2
+ HF_DATASET=rooten_tomatoes
3
+
3
4
# ODTP ENV VARIABLES TO CONNECT
4
- ODTP_MONGO_URL =
5
+ ODTP_MONGO_SERVER =
5
6
ODTP_S3_SERVER=
6
7
ODTP_BUCKET_NAME=
7
8
ODTP_ACCESS_KEY=
8
9
ODTP_SECRET_KEY=
10
+
9
11
# ODTP ENV VARIABLES DB REFERENCES
10
12
ODTP_USER_ID=
11
13
ODTP_DIGITAL_TWIN=
12
14
ODTP_EXCUTION=
13
15
ODTP_STEP=
14
16
ODTP_COMPONENT=
15
- ODTP_COMPONENT_VERSION=
17
+ ODTP_COMPONENT_VERSION=
18
+ ODTP_RESULT=
19
+
20
+ # OTHER ENV VARIABLES (FALSE/TRUE)
21
+ TRANSFER_INPUT_TO_OUTPUT=FALSE
22
+ ODTP_SAVE_SNAPSHOT=FALSE
23
+ ODTP_SAVE_IN_RESULT=TRUE
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ This component can be tested in isolation with the following instructions.
25
25
2 . Create your ` .env ` file with the parameters.
26
26
27
27
```
28
- HF_DATASET=A
28
+ HF_DATASET=rooten_tomatoes
29
29
```
30
30
31
31
3 . Build the dockerfile.
@@ -56,6 +56,7 @@ docker run -it --rm \
56
56
57
57
## Changelog
58
58
59
+ <<<<<<< HEAD
59
60
- v0.1.5
60
61
- Updated ODTP Client
61
62
- Including workflows
@@ -65,6 +66,9 @@ docker run -it --rm \
65
66
- v0.1.3
66
67
67
68
- v0.1.2
69
+ =======
70
+ - v0.1.2: Update ` odtp-component-client ` to v0.1.0
71
+ >>>>>>> c7b9fb84ee5230dcdf35b6762a877dffc530b801
68
72
69
73
- v0.1.1: Change Dockerfile setup: use fixed versions for python and ubuntu
70
74
Original file line number Diff line number Diff line change @@ -34,21 +34,29 @@ ports: null
34
34
# Datatype can be str, int, float, or bool.
35
35
parameters :
36
36
- name : HF_DATASET
37
- default-value : rooten_tomatoes
37
+ default-value : rotten_tomatoes
38
38
datatype : string
39
39
description : Hugging face dataset key
40
40
options :
41
- - rooten_tomatoes
41
+ - rotten_tomatoes
42
42
allow-custom-value : true
43
43
44
44
# If applicable, data-input list required by the component
45
45
data-inputs : null
46
46
47
47
# If applicable, data-output list produced by the component
48
48
data-output :
49
- - name : dataset
49
+ - name : test.csv
50
50
type : csv
51
- path : .
51
+ path : {{HF_DATASET}}/test.csv
52
+ description : Output from dataset
53
+ - name : train.csv
54
+ type : csv
55
+ path : {{HF_DATASET}}/train.csv
56
+ description : Output from dataset
57
+ - name : validation.csv
58
+ type : csv
59
+ path : {{HF_DATASET}}/validation.csv
52
60
description : Output from dataset
53
61
54
62
You can’t perform that action at this time.
0 commit comments