forked from nouhadziri/THRED
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaware_xlarge.yml
46 lines (37 loc) · 860 Bytes
/
taware_xlarge.yml
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
type: 'topic_aware'
learning_rate: 0.0002
max_gradient_norm: 5.0
vocab_size: 50000
num_layers: 4
embedding_type: 'glove840B'
cell_type: 'gru'
encoder_type: 'bi'
hidden_units: 1024
attention_type: 'bahdanau'
optimizer: 'adam'
batch_size: 128
num_buckets: 5
topic_words_per_utterance: 100
src_max_len: 30
tgt_max_len: 30
num_train_epochs: 15
steps_per_stats: 30
steps_per_eval: 3000
# Early Stopping parameters, inspired from VHRED impl
patience: 50
degrade_threshold: 1.003
encoder_dropout_rate: 0.2
decoder_dropout_rate: 0.2
decoding_length_factor: 2.0
learning_rate_decay_scheme: luong234
#start_decay_step: 0
#decay_steps: 10000
#decay_factor: 0.5
scheduled_sampling_prob: 0.0
scheduled_sampling_decay_scheme: none
beam_width: 5
length_penalty_weight: 1.0
sampling_temperature: 0.0
infer_batch_size: 128
log_device: False
boost_topic_gen_prob: True