-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc_deep.yaml
67 lines (62 loc) · 2.24 KB
/
dvc_deep.yaml
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
stages:
prepare_data:
cmd: python experiment/prepare_data.py
deps:
- experiment/prepare_data.py
outs:
- assets/data/df_raw.csv
- assets/data/splits/train/raw.csv
- assets/data/splits/val/raw.csv
- assets/data/splits/test/raw.csv
text_normalization: # text_normalization
cmd: python experiment/text_normalization.py
deps:
- experiment/text_normalization.py
- assets/data/splits/train/raw.csv
- assets/data/splits/val/raw.csv
- assets/data/splits/test/raw.csv
outs:
- assets/data/splits/train/preprocessed.csv
- assets/data/splits/val/preprocessed.csv
- assets/data/splits/test/preprocessed.csv
feat_extract_deep:
cmd: python experiment/supervised_deep_models/feat_extract_deep.py
deps:
- experiment/supervised_deep_models/feat_extract_deep.py
- assets/data/splits/train/preprocessed.csv
- assets/data/splits/val/preprocessed.csv
outs:
- assets/deep_assets/word2vec.model
- assets/data/splits/train/padded.csv
- assets/data/splits/val/padded.csv
tuning_models:
cmd: python experiment/supervised_deep_models/tuning_models.py
deps:
- experiment/supervised_deep_models/tuning_models.py
- assets/data/splits/train/padded.csv
- assets/data/splits/val/padded.csv
- assets/deep_assets/word2vec.model
- assets/deep_assets/tokenizer.json
outs:
- assets/deep_assets/lstm_model
- assets/deep_assets/bilstm_model
evaluate_models:
cmd: python experiment/supervised_deep_models/evaluate_models.py
deps:
- experiment/supervised_deep_models/evaluate_models.py
- assets/data/splits/test/preprocessed.csv
- assets/deep_assets/word2vec.model
- assets/deep_assets/tokenizer.json
- assets/deep_assets/lstm_model
- assets/deep_assets/bilstm_model
outs:
- assets/deep_assets/deep_results.csv # or graph similar to the one in the paper
# apply_model:
# cmd: python experiment/supervised_deep_models/apply_model.py
# deps:
# - assets/data/splits/test/raw.csv
# - assets/deep_assets/word2vec.model
# - assets/deep_assets/tokenizer.json
# - assets/deep_assets/lstm_model
# outs:
# - assets/deep_assets/predictions.csv