-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMLproject
55 lines (53 loc) · 1.74 KB
/
MLproject
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
name: data-programming
conda_env: conda.yaml
entry_points:
example:
parameters:
train_data: path
task: {type: string, default: multiclass}
dev_data: {type: int, default: 0}
n_epochs: {type: int, default: 1000}
optimizer: {type: string, default: sgd}
prec_init: {type: float, default: 0.7}
seed: {type: int, default: 0}
parallel: {type: int, default: 0}
device: {type: string, default: cpu}
verbose: {type: int, default: 1}
command: "python ./label/example.py
--task {task}
--dev_data {dev_data}
--n_epochs {n_epochs}
--optimizer {optimizer}
--prec_init {prec_init}
--seed {seed}
--parallel {parallel}
--device {device}
--verbose {verbose}
{train_data}
"
framing:
parameters:
train_data: path
task: {type: string, default: multiclass}
dev_data: {type: int, default: 0}
n_epochs: {type: int, default: 1000}
optimizer: {type: string, default: sgd}
prec_init: {type: float, default: 0.7}
seed: {type: int, default: 0}
parallel: {type: int, default: 0}
device: {type: string, default: cpu}
trld: {type: float, default: 0.5}
encoder: {type: str, default: roberta}
command: "python ./label/example.py
--task {task}
--dev_data {dev_data}
--n_epochs {n_epochs}
--optimizer {optimizer}
--prec_init {prec_init}
--seed {seed}
--parallel {parallel}
--device {device}
--trld {trld}
--encoder {encoder}
{train_data}
"