-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathveld_train.yaml
52 lines (46 loc) · 1.35 KB
/
veld_train.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
x-veld:
code:
description: "A fasttext training setup."
topic:
- "NLP"
- "Machine Learning"
- "Word Embeddings"
input:
- volume: /veld/input/
file_type: "txt"
environment_var: in_train_data_file
description: "training data must be expressed as one sentence per line."
content: "raw text"
output:
- volume: /veld/output/
file_type: "fastText model"
environment_var: out_model_file
content: "Word Embeddings"
config:
- environment_var: vector_size
description: "hyperparameter: the dimension of the vectors to be trained."
var_type: "int"
default: 200
- environment_var: epochs
description: "hyperparameter: the number of epochs of the training."
var_type: "int"
default: 50
- environment_var: window_size
description: "hyperparameter: the size of the context window of each token."
var_type: "int"
default: 5
services:
veld_train:
build: .
command: sh /veld/code/train.sh
volumes:
- ./src/train/:/veld/code/:z
- ./data/training_data/:/veld/input/:z
- ./data/models/:/veld/output/:z
environment:
in_train_data_file: null
out_model_file: null
model_description: null
vector_size: 200
epochs: 50
window_size: 5