-
Notifications
You must be signed in to change notification settings - Fork 0
/
veld_train.yaml
97 lines (92 loc) · 2.52 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: "This code repo encapsulates the original code from
https://github.com/stanfordnlp/GloVe/tree/master"
topics:
- "NLP"
- "Machine learning"
- "word embeddings"
inputs:
- volume: /veld/input/
environment: in_corpus_file
description: "In the txt file, each line must be one sentence"
file_type: "txt"
contents: "natural text"
outputs:
- volume: /veld/output/
environment: out_vocab_file
file_type: "bin"
contents:
- "GloVe global word cooccurrence matrix"
- "GloVe vectors"
- volume: /veld/output/
environment: out_cooccurrence_file
file_type: "bin"
contents:
- "GloVe global word cooccurrence matrix"
- "GloVe vectors"
- volume: /veld/output/
environment: out_cooccurrence_shuf_file
file_type: "bin"
contents:
- "GloVe global word cooccurrence matrix"
- "GloVe vectors"
- volume: /veld/output/
environment: out_vector_file
file_type: "bin"
contents:
- "GloVe global word cooccurrence matrix"
- "GloVe vectors"
settings:
- environment: verbose
env_type: "int"
default: 2
- environment: memory
env_type: "float"
default: 4.0
- environment: vocab_min_count
env_type: "int"
default: 5
- environment: vector_size
env_type: "int"
default: 50
- environment: max_iter
env_type: "int"
default: 15
- environment: window_size
env_type: "int"
default: 15
- environment: binary
env_type: "int"
default: 2
- environment: num_threads
env_type: "int"
default: 8
- environment: x_max
env_type: "int"
default: 10
services:
veld_train:
build: .
volumes:
- ./src/main/train/:/veld/code/:z
- ./data/training_data/:/veld/input/:z
- ./data/models/:/veld/output/:z
command: /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