forked from espnet/espnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request espnet#4132 from pyf98/mt
IWSLT'14 Results using ESPnet2-MT
- Loading branch information
Showing
8 changed files
with
119 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Results | ||
|
||
## mt_train_mt_transformer_lr3e-3_warmup10k_share_enc_dec_input_dropout0.3_raw_bpe_tc10000 | ||
- mt_config: conf/tuning/train_mt_transformer_lr3e-3_warmup10k_share_enc_dec_input_dropout0.3.yaml | ||
- inference_config: conf/decode_mt.yaml | ||
|
||
### BLEU | ||
|
||
Metric: BLEU-4, detokenized case-sensitive BLEU result (single-reference) | ||
|
||
|dataset|bleu_score|verbose_score| | ||
|---|---|---| | ||
|beam5_maxlenratio1.6_penalty0.2/valid|33.3|68.4/42.9/28.9/19.8 (BP = 0.924 ratio = 0.927 hyp_len = 134328 ref_len = 144976)| | ||
|beam5_maxlenratio1.6_penalty0.2/test|32.2|67.2/41.4/27.4/18.5 (BP = 0.933 ratio = 0.935 hyp_len = 119813 ref_len = 128122)| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
batch_size: 1 | ||
beam_size: 10 | ||
nbest: 1 | ||
beam_size: 5 | ||
lm_weight: 0.0 | ||
|
||
maxlenratio: 1.6 | ||
minlenratio: 0.0 | ||
penalty: 0.2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tuning/train_mt_transformer_lr3e-3_warmup10k_share_enc_dec_input_dropout0.3.yaml |
59 changes: 59 additions & 0 deletions
59
...mt1/conf/tuning/train_mt_transformer_lr3e-3_warmup10k_share_enc_dec_input_dropout0.3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
frontend: embed # embedding + positional encoding | ||
frontend_conf: | ||
embed_dim: 512 | ||
positional_dropout_rate: 0.3 | ||
|
||
encoder: transformer | ||
encoder_conf: | ||
output_size: 512 | ||
attention_heads: 4 | ||
linear_units: 1024 | ||
num_blocks: 6 | ||
dropout_rate: 0.3 | ||
positional_dropout_rate: 0.3 | ||
attention_dropout_rate: 0.3 | ||
input_layer: null | ||
normalize_before: true | ||
|
||
decoder: transformer | ||
decoder_conf: | ||
attention_heads: 4 | ||
linear_units: 1024 | ||
num_blocks: 6 | ||
dropout_rate: 0.3 | ||
positional_dropout_rate: 0.3 | ||
self_attention_dropout_rate: 0.3 | ||
src_attention_dropout_rate: 0.3 | ||
|
||
model_conf: | ||
lsm_weight: 0.1 | ||
length_normalized_loss: false | ||
share_decoder_input_output_embed: false | ||
share_encoder_decoder_input_embed: true | ||
|
||
num_att_plot: 1 | ||
log_interval: 100 | ||
num_workers: 2 | ||
batch_type: numel | ||
batch_bins: 400000000 | ||
accum_grad: 1 | ||
max_epoch: 200 | ||
patience: none | ||
init: none | ||
best_model_criterion: | ||
- - valid | ||
- acc | ||
- max | ||
keep_nbest_models: 10 | ||
|
||
optim: adam | ||
optim_conf: | ||
lr: 0.003 | ||
betas: | ||
- 0.9 | ||
- 0.98 | ||
eps: 0.000000001 | ||
weight_decay: 0.0001 | ||
scheduler: warmuplr | ||
scheduler_conf: | ||
warmup_steps: 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters