-
Notifications
You must be signed in to change notification settings - Fork 117
/
config_toy_copy.py
41 lines (37 loc) · 996 Bytes
/
config_toy_copy.py
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
num_epochs = 4
display = 50
source_vocab_file = './data/toy_copy/train/vocab.sources.txt'
target_vocab_file = './data/toy_copy/train/vocab.targets.txt'
train = {
'batch_size': 32,
'source_dataset': {
"files": './data/toy_copy/train/sources.txt',
'vocab_file': source_vocab_file
},
'target_dataset': {
'files': './data/toy_copy/train/targets.txt',
'vocab_file': target_vocab_file
}
}
val = {
'batch_size': 32,
'source_dataset': {
"files": './data/toy_copy/dev/sources.txt',
'vocab_file': source_vocab_file
},
'target_dataset': {
"files": './data/toy_copy/dev/targets.txt',
'vocab_file': target_vocab_file
}
}
test = {
'batch_size': 32,
'source_dataset': {
"files": './data/toy_copy/test/sources.txt',
'vocab_file': source_vocab_file
},
'target_dataset': {
"files": './data/toy_copy/test/targets.txt',
'vocab_file': target_vocab_file
}
}