-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathveld_train.yaml
97 lines (92 loc) · 2.46 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
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
x-veld:
code:
description: "A GloVe training setup."
topic:
- "NLP"
- "Machine Learning"
- "Word Embeddings"
input:
- volume: /veld/input/
environment_var: in_corpus_file
description: "In the txt file, each line must be one sentence"
file_type: "txt"
content: "natural text"
output:
- volume: /veld/output/
environment_var: out_vocab_file
file_type: "GloVe model"
content:
- "NLP model"
- "Word Embeddings model"
- volume: /veld/output/
environment_var: out_cooccurrence_file
file_type: "GloVe model"
content:
- "NLP model"
- "Word Embeddings model"
- volume: /veld/output/
environment_var: out_cooccurrence_shuf_file
file_type: "GloVe model"
content:
- "NLP model"
- "Word Embeddings model"
- volume: /veld/output/
environment_var: out_vector_file
file_type: "GloVe model"
content:
- "NLP model"
- "Word Embeddings model"
config:
- environment_var: verbose
var_type: "int"
default: 2
- environment_var: memory
var_type: "float"
default: 4.0
- environment_var: vocab_min_count
var_type: "int"
default: 5
- environment_var: vector_size
var_type: "int"
default: 50
- environment_var: max_iter
var_type: "int"
default: 15
- environment_var: window_size
var_type: "int"
default: 15
- environment_var: binary
var_type: "int"
default: 2
- environment_var: num_threads
var_type: "int"
default: 8
- environment_var: x_max
var_type: "int"
default: 10
services:
veld_train:
build: .
platform: linux/amd64
volumes:
- ./src/main/train/:/veld/code/:z
- ./data/training_data/:/veld/input/:z
- ./data/models/:/veld/output/:z
command: sh /veld/code/train.sh
environment:
in_corpus_file: null
out_vocab_file: null
out_cooccurrence_file: null
out_cooccurrence_shuf_file: null
out_vector_file: null
model_id: null
model_description: null
verbose: 2
memory: 4.0
vocab_min_count: 5
vector_size: 50
max_iter: 15
window_size: 15
binary: 2
num_threads: 8
x_max: 10