-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathencdec.cfg
42 lines (38 loc) · 1.18 KB
/
encdec.cfg
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
######################################################################
######################################################################
# Copyright Tsung-Hsien Wen, Cambridge Dialogue Systems Group, 2016 #
######################################################################
######################################################################
[learn] // parameters for training
lr = 0.1
lr_decay = 0.5
lr_divide = 3
beta = 0.0000001
random_seed = 5
min_impr = 1.003
debug = True
llogp = -100000000
[train_mode]
mode = all
obj = ml
gamma = 5.0
batch = 1
[generator] // structure for generator
type = encdec
hidden = 80
[data] // data and model file
domain = restaurant
train = data/original/restaurant/train.json
valid = data/original/restaurant/valid.json
test = data/original/restaurant/test.json
vocab = resource/vocab
percentage = 100
wvec = vec/vectors-80.txt
model = model/encdec-rest.model
[gen] // generation parameters, decode='beam' or 'sample'
topk = 5
overgen = 20
beamwidth = 10
detectpairs = resource/detect.pair
verbose = 1
decode = beam