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 branch 'espnet:master' into master
- Loading branch information
Showing
45 changed files
with
872 additions
and
68 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# RESULTS | ||
## Dataset | ||
- Speech Sentiment Annotations (Switchboard Sentiment) | ||
- Data: https://catalog.ldc.upenn.edu/LDC2020T14 | ||
- Paper: https://catalog.ldc.upenn.edu/docs/LDC2020T14/LREC_2020_Switchboard_Senti.pdf | ||
|
||
## Environments | ||
- date: `Thu Mar 3 21:34:18 EST 2022` | ||
- python version: `3.7.11 (default, Jul 27 2021, 14:32:16) [GCC 7.5.0]` | ||
- espnet version: `espnet 0.10.7a1` | ||
- pytorch version: `pytorch 1.9.0+cu102` | ||
- Git hash: `3b53aedc654fd30a828689c2139a1e130adac077` | ||
- Commit date: `Fri Feb 25 00:13:16 2022 -0500` | ||
|
||
## Using Conformer based encoder and Transformer based decoder with spectral augmentation and predicting transcript along with sentiment | ||
- ASR config: [conf/tuning/train_asr_conformer.yaml](conf/tuning/train_asr_conformer.yaml) | ||
- token_type: word | ||
- labels: Positive, Neutral, Negative | ||
- Pre-trained Model: https://huggingface.co/espnet/YushiUeda_swbd_sentiment_asr_train_asr_conformer | ||
|
||
|dataset|Snt|Intent Classification Macro F1 (%)| Weighted F1 (%)| Micro F1 (%)| | ||
|---|---|---|---|---| | ||
|decode_asr_asr_model_valid.acc.ave_10best/valid|2415|61.0|65.0|65.6| | ||
|decode_asr_asr_model_valid.acc.ave_10best/test|2438|61.4|64.4|64.6| | ||
|
||
## Using Conformer based encoder, Transformer based decoder and self-supervised learning features (Wav2vec2.0) with spectral augmentation and predicting transcript along with sentiment | ||
- ASR config: [conf/tuning/train_asr_conformer_wav2vec2.yaml](conf/tuning/train_asr_conformer_wav2vec2.yaml) | ||
- token_type: word | ||
- labels: Positive, Neutral, Negative | ||
- Pre-trained Model: https://huggingface.co/espnet/YushiUeda_swbd_sentiment_asr_train_asr_conformer_wav2vec2 | ||
|
||
|dataset|Snt|Intent Classification Macro F1 (%)| Weighted F1 (%)| Micro F1 (%)| | ||
|---|---|---|---|---| | ||
|decode_asr_asr_model_valid.acc.ave_10best/valid|2415|64.5|67.5|67.4| | ||
|decode_asr_asr_model_valid.acc.ave_10best/test|2438|64.1|66.5|66.3| |
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 @@ | ||
../../TEMPLATE/asr1/asr.sh |
Oops, something went wrong.