icefall-asr-librispeech-pruned-transducer-stateless7-2023-03-10 / decoding-results /fast_beam_search /log-decode-epoch-30-avg-11-beam-20.0-max-contexts-8-max-states-64-use-averaged-model-2023-03-10-12-44-34
marcoyang's picture
initial commit
e29f068
raw
history blame
No virus
7.9 kB
2023-03-10 12:44:34,060 INFO [decode.py:827] Decoding started
2023-03-10 12:44:34,060 INFO [decode.py:833] Device: cuda:0
2023-03-10 12:44:34,065 INFO [decode.py:848] {'frame_shift_ms': 10.0, 'allowed_excess_duration_ratio': 0.1, 'best_train_loss': inf, 'best_valid_loss': inf, 'best_train_epoch': -1, 'best_valid_epoch': -1, 'batch_idx_train': 0, 'log_interval': 50, 'reset_interval': 200, 'valid_interval': 3000, 'feature_dim': 80, 'subsampling_factor': 4, 'warm_step': 2000, 'env_info': {'k2-version': '1.22', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': '96c9a2aece2a3a7633da07740e24fa3d96f5498c', 'k2-git-date': 'Thu Nov 10 08:14:02 2022', 'lhotse-version': '1.13.0.dev+git.527d964.clean', 'torch-version': '1.12.1', 'torch-cuda-available': True, 'torch-cuda-version': '11.6', 'python-version': '3.8', 'icefall-git-branch': 'random_padding', 'icefall-git-sha1': '202ce08-clean', 'icefall-git-date': 'Thu Mar 9 15:05:03 2023', 'icefall-path': '/ceph-data4/yangxiaoyu/softwares/icefall_development/icefall_random_padding', 'k2-path': '/ceph-data4/yangxiaoyu/softwares/anaconda3/envs/k2_latest/lib/python3.8/site-packages/k2/__init__.py', 'lhotse-path': '/ceph-data4/yangxiaoyu/softwares/lhotse_development/lhotse_random_padding_left/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-6-1219221738-65dd59bbf8-2ghmr', 'IP address': '10.177.28.85'}, 'epoch': 30, 'iter': 0, 'avg': 11, 'use_averaged_model': True, 'exp_dir': PosixPath('pruned_transducer_stateless7/exp_960h_no_paddingidx_ngpu4'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'lang_dir': PosixPath('data/lang_bpe_500'), 'decoding_method': 'fast_beam_search', 'beam_size': 4, 'beam': 20.0, 'ngram_lm_scale': 0.01, 'max_contexts': 8, 'max_states': 64, 'context_size': 2, 'max_sym_per_frame': 1, 'num_paths': 200, 'nbest_scale': 0.5, 'simulate_streaming': False, 'decode_chunk_size': 16, 'left_context': 64, 'use_shallow_fusion': False, 'lm_type': 'rnn', 'lm_scale': 0.3, 'tokens_ngram': 3, 'backoff_id': 500, 'num_encoder_layers': '2,4,3,2,4', 'feedforward_dims': '1024,1024,2048,2048,1024', 'nhead': '8,8,8,8,8', 'encoder_dims': '384,384,384,384,384', 'attention_dims': '192,192,192,192,192', 'encoder_unmasked_dims': '256,256,256,256,256', 'zipformer_downsampling_factors': '1,2,4,8,2', 'cnn_module_kernels': '31,31,31,31,31', 'decoder_dim': 512, 'joiner_dim': 512, 'full_libri': True, 'manifest_dir': PosixPath('data/fbank_ali'), 'max_duration': 500, 'bucketing_sampler': True, 'num_buckets': 30, 'concatenate_cuts': False, 'random_left_padding': False, 'num_left_padding': 8, 'duration_factor': 1.0, 'gap': 1.0, 'on_the_fly_feats': False, 'shuffle': True, 'drop_last': True, 'return_cuts': True, 'num_workers': 2, 'enable_spec_aug': True, 'spec_aug_time_warp_factor': 80, 'enable_musan': True, 'input_strategy': 'PrecomputedFeatures', 'vocab_size': 500, 'lm_epoch': 7, 'lm_avg': 1, 'lm_exp_dir': None, 'rnn_lm_embedding_dim': 2048, 'rnn_lm_hidden_dim': 2048, 'rnn_lm_num_layers': 3, 'rnn_lm_tie_weights': True, 'transformer_lm_exp_dir': None, 'transformer_lm_dim_feedforward': 2048, 'transformer_lm_encoder_dim': 768, 'transformer_lm_embedding_dim': 768, 'transformer_lm_nhead': 8, 'transformer_lm_num_layers': 16, 'transformer_lm_tie_weights': True, 'res_dir': PosixPath('pruned_transducer_stateless7/exp_960h_no_paddingidx_ngpu4/fast_beam_search'), 'suffix': 'epoch-30-avg-11-beam-20.0-max-contexts-8-max-states-64-use-averaged-model', 'blank_id': 0, 'unk_id': 2}
2023-03-10 12:44:34,066 INFO [decode.py:850] About to create model
2023-03-10 12:44:34,880 INFO [zipformer.py:178] At encoder stack 4, which has downsampling_factor=2, we will combine the outputs of layers 1 and 3, with downsampling_factors=2 and 8.
2023-03-10 12:44:34,899 INFO [decode.py:917] Calculating the averaged model over epoch range from 19 (excluded) to 30
2023-03-10 12:44:40,068 INFO [decode.py:979] Number of model parameters: 70369391
2023-03-10 12:44:40,068 INFO [asr_datamodule.py:463] About to get test-clean cuts
2023-03-10 12:44:40,071 INFO [asr_datamodule.py:470] About to get test-other cuts
2023-03-10 12:44:46,177 INFO [decode.py:714] batch 0/?, cuts processed until now is 36
2023-03-10 12:45:18,051 INFO [zipformer.py:1455] attn_weights_entropy = tensor([4.3213, 4.3277, 4.3396, 3.9948, 4.1950, 4.0469, 4.3681, 4.4062],
device='cuda:0'), covar=tensor([0.0066, 0.0055, 0.0055, 0.0120, 0.0062, 0.0164, 0.0068, 0.0075],
device='cuda:0'), in_proj_covar=tensor([0.0095, 0.0069, 0.0075, 0.0094, 0.0075, 0.0104, 0.0087, 0.0086],
device='cuda:0'), out_proj_covar=tensor([0.0004, 0.0003, 0.0003, 0.0003, 0.0003, 0.0004, 0.0004, 0.0003],
device='cuda:0')
2023-03-10 12:45:27,222 INFO [zipformer.py:1455] attn_weights_entropy = tensor([4.6283, 4.2627, 4.9657, 4.3743, 4.0874, 5.4122, 4.7073, 4.1277],
device='cuda:0'), covar=tensor([0.0337, 0.0873, 0.0255, 0.0372, 0.0992, 0.0127, 0.0326, 0.0570],
device='cuda:0'), in_proj_covar=tensor([0.0205, 0.0234, 0.0213, 0.0158, 0.0218, 0.0205, 0.0243, 0.0190],
device='cuda:0'), out_proj_covar=tensor([0.0002, 0.0002, 0.0002, 0.0001, 0.0002, 0.0002, 0.0002, 0.0002],
device='cuda:0')
2023-03-10 12:45:32,951 INFO [decode.py:714] batch 20/?, cuts processed until now is 1037
2023-03-10 12:46:15,809 INFO [decode.py:714] batch 40/?, cuts processed until now is 2298
2023-03-10 12:46:41,781 INFO [decode.py:730] The transcripts are stored in pruned_transducer_stateless7/exp_960h_no_paddingidx_ngpu4/fast_beam_search/recogs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-30-avg-11-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
2023-03-10 12:46:41,930 INFO [utils.py:558] [test-clean-beam_20.0_max_contexts_8_max_states_64] %WER 2.27% [1191 / 52576, 128 ins, 109 del, 954 sub ]
2023-03-10 12:46:42,269 INFO [decode.py:743] Wrote detailed error stats to pruned_transducer_stateless7/exp_960h_no_paddingidx_ngpu4/fast_beam_search/errs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-30-avg-11-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
2023-03-10 12:46:42,270 INFO [decode.py:759]
For test-clean, WER of different settings are:
beam_20.0_max_contexts_8_max_states_64 2.27 best for test-clean
2023-03-10 12:46:45,382 INFO [decode.py:714] batch 0/?, cuts processed until now is 43
2023-03-10 12:47:27,589 INFO [decode.py:714] batch 20/?, cuts processed until now is 1195
2023-03-10 12:48:04,666 INFO [zipformer.py:1455] attn_weights_entropy = tensor([3.8600, 4.4991, 4.0330, 3.9786, 3.9262, 4.4186, 4.2580, 3.9649],
device='cuda:0'), covar=tensor([0.1237, 0.0650, 0.1262, 0.0959, 0.1304, 0.1194, 0.0689, 0.1985],
device='cuda:0'), in_proj_covar=tensor([0.0358, 0.0286, 0.0314, 0.0315, 0.0327, 0.0426, 0.0283, 0.0420],
device='cuda:0'), out_proj_covar=tensor([0.0003, 0.0003, 0.0003, 0.0003, 0.0003, 0.0004, 0.0002, 0.0004],
device='cuda:0')
2023-03-10 12:48:05,557 INFO [decode.py:714] batch 40/?, cuts processed until now is 2640
2023-03-10 12:48:21,202 INFO [decode.py:730] The transcripts are stored in pruned_transducer_stateless7/exp_960h_no_paddingidx_ngpu4/fast_beam_search/recogs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-30-avg-11-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
2023-03-10 12:48:21,355 INFO [utils.py:558] [test-other-beam_20.0_max_contexts_8_max_states_64] %WER 5.19% [2714 / 52343, 267 ins, 229 del, 2218 sub ]
2023-03-10 12:48:21,706 INFO [decode.py:743] Wrote detailed error stats to pruned_transducer_stateless7/exp_960h_no_paddingidx_ngpu4/fast_beam_search/errs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-30-avg-11-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
2023-03-10 12:48:21,707 INFO [decode.py:759]
For test-other, WER of different settings are:
beam_20.0_max_contexts_8_max_states_64 5.19 best for test-other
2023-03-10 12:48:21,707 INFO [decode.py:1012] Done!