-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
137 lines (123 loc) · 3.63 KB
/
dvc.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
stages:
add-chessmoves-to-model-vocab:
cmd: python src/entrypoint.py add-chessmoves-to-model-vocab
deps:
- src/model/add_chessmoves_to_vocabulary.py
outs:
- outputs/untrained-model-w-vocab/
params:
- stages.add-chessmoves-to-model-vocab
generate-causal-dataset:
cmd: python src/entrypoint.py generate-causal-dataset
deps:
- src/data_processing/generate_causal_dataset.py
outs:
- outputs/causal-dataset/
params:
- stages.generate-causal-dataset
train-model-on-new-vocab:
cmd: python src/entrypoint.py train-model-on-new-vocab
deps:
- outputs/causal-dataset/
- outputs/untrained-model-w-vocab/
outs:
- outputs/causal/
params:
- stages.train-model-on-new-vocab
merge-causal-adapter-to-model:
cmd: python src/entrypoint.py merge-causal-adapter-to-model
deps:
- outputs/causal/
outs:
- outputs/causal-merged/
params:
- merge-causal-adapter-to-model
create-task-find-last-move:
cmd: python src/entrypoint.py create-task-find-last-move
deps:
- src/tasks/create_task_find_last_move.py
outs:
- outputs/tasks/findLastMove.parquet
params:
- stages.create-task-find-last-move
create-task-find-score:
cmd: python src/entrypoint.py create-task-find-score
deps:
- src/tasks/create_task_find_score.py
outs:
- outputs/tasks/findScore.parquet
params:
- stages.create-task-find-score
create-task-MLM-on-moves:
cmd: python src/entrypoint.py create-task-MLM-on-moves
deps:
- src/tasks/create_task_MLM_on_moves.py
outs:
- outputs/tasks/MLM.parquet
params:
- stages.create-task-MLM-on-moves
create-task-find-who-is-winning:
cmd: python src/entrypoint.py create-task-find-who-is-winning
deps:
- src/tasks/create_task_find_who_is_winning.py
outs:
- outputs/tasks/whoIsWinning.parquet
params:
- stages.create-task-find-who-is-winning
create-task-sort-FENs:
cmd: python src/entrypoint.py create-task-sort-FENs
deps:
- src/tasks/create_task_sort_FENs.py
outs:
- outputs/tasks/sortFENs.parquet
params:
- stages.create-task-sort-FENs
create-task-find-next-best-move:
cmd: python src/entrypoint.py create-task-find-next-best-move
deps:
- src/tasks/create_task_find_next_best_move.py
outs:
- outputs/tasks/bestMove.parquet
params:
- stages.create-task-find-next-best-move
merge-tasks-into-dataset:
cmd: python src/entrypoint.py merge-tasks-into-dataset
deps:
- src/data_processing/merge_tasks_into_dataset.py
- outputs/tasks/findLastMove.parquet
- outputs/tasks/findScore.parquet
- outputs/tasks/sortFENs.parquet
- outputs/tasks/whoIsWinning.parquet
# - outputs/tasks/bestAndWorstPositions.parquet
- outputs/tasks/bestMove.parquet
- outputs/tasks/MLM.parquet
outs:
- outputs/raw/
params:
- stages.merge-tasks-into-dataset
generate-instruct-dataset:
cmd: python src/entrypoint.py generate-instruct-dataset
deps:
- src/data_processing/generate_ready_to_use_dataset.py # TODO: rename module
- outputs/raw/
outs:
- outputs/instruct-dataset/
params:
- stages.generate-instruct-dataset
train-instruct-model:
cmd: python src/entrypoint.py train-instruct-model
outs:
- outputs/instruct/
deps:
- outputs/instruct-dataset/
- outputs/causal-merged/
params:
- stages.train-instruct-model
merge-instruct-adapter-to-model:
cmd: python src/entrypoint.py merge-instruct-adapter-to-model
deps:
- outputs/instruct/
outs:
- outputs/instruct-merged/
params:
- merge-instruct-adapter-to-model