icefall-asr-librispeech-zipformer-small-cr-ctc-20241018 / decoding_results /ctc-greedy-search /log-decode-epoch-50_avg-25_use-averaged-model-2024-09-27-11-07-43
Zengwei's picture
upload files
d9e9576
2024-09-27 11:07:43,665 INFO [ctc_decode_dev.py:769] Decoding started
2024-09-27 11:07:43,665 INFO [ctc_decode_dev.py:775] Device: cuda:0
2024-09-27 11:07:43,665 INFO [ctc_decode_dev.py:776] {'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, 'ignore_id': -1, 'label_smoothing': 0.1, 'warm_step': 2000, 'env_info': {'k2-version': '1.24.4', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': '44a9d5682af9fd3ef77074777e15278ec6d390eb', 'k2-git-date': 'Wed Sep 27 11:22:55 2023', 'lhotse-version': '1.17.0.dev+git.ccfc5b2c.dirty', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'cr-ctc', 'icefall-git-sha1': 'a6eead6c-clean', 'icefall-git-date': 'Mon Sep 9 10:10:08 2024', 'icefall-path': '/star-zw/workspace/zipformer/icefall_cr_ctc', 'k2-path': '/star-zw/workspace/k2/k2/k2/python/k2/__init__.py', 'lhotse-path': '/star-zw/workspace/lhotse/lhotse/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-6-0905175136-74fb5b4b6f-p65lp', 'IP address': '10.30.18.160'}, 'frame_shift_ms': 10, 'search_beam': 20, 'output_beam': 8, 'min_active_states': 30, 'max_active_states': 10000, 'use_double_scores': True, 'epoch': 50, 'iter': 0, 'avg': 25, 'use_averaged_model': True, 'exp_dir': PosixPath('zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'lang_dir': PosixPath('data/lang_bpe_500'), 'context_size': 2, 'decoding_method': 'ctc-greedy-search', 'num_paths': 100, 'nbest_scale': 1.0, 'hlg_scale': 0.6, 'lm_dir': PosixPath('data/lm'), 'skip_scoring': False, 'num_encoder_layers': '2,2,2,2,2,2', 'downsampling_factor': '1,2,4,8,4,2', 'feedforward_dim': '512,768,768,768,768,768', 'num_heads': '4,4,4,8,4,4', 'encoder_dim': '192,256,256,256,256,256', 'query_head_dim': '32', 'value_head_dim': '12', 'pos_head_dim': '4', 'pos_dim': 48, 'encoder_unmasked_dim': '192,192,192,192,192,192', 'cnn_module_kernel': '31,31,15,15,15,31', 'decoder_dim': 512, 'joiner_dim': 512, 'attention_decoder_dim': 512, 'attention_decoder_num_layers': 6, 'attention_decoder_attention_dim': 512, 'attention_decoder_num_heads': 8, 'attention_decoder_feedforward_dim': 2048, 'causal': False, 'chunk_size': '16,32,64,-1', 'left_context_frames': '64,128,256,-1', 'use_transducer': False, 'use_ctc': True, 'use_attention_decoder': False, 'use_cr_ctc': True, 'full_libri': True, 'mini_libri': False, 'manifest_dir': PosixPath('data/fbank'), 'max_duration': 300, 'bucketing_sampler': True, 'num_buckets': 30, 'concatenate_cuts': False, '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', 'res_dir': PosixPath('zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search'), 'suffix': 'epoch-50_avg-25_use-averaged-model'}
2024-09-27 11:07:43,944 INFO [lexicon.py:168] Loading pre-compiled data/lang_bpe_500/Linv.pt
2024-09-27 11:07:48,740 INFO [ctc_decode_dev.py:861] About to create model
2024-09-27 11:07:49,159 INFO [ctc_decode_dev.py:928] Calculating the averaged model over epoch range from 25 (excluded) to 50
2024-09-27 11:07:54,299 INFO [ctc_decode_dev.py:945] Number of model parameters: 22118279
2024-09-27 11:07:54,300 INFO [asr_datamodule.py:467] About to get test-clean cuts
2024-09-27 11:07:54,436 INFO [asr_datamodule.py:474] About to get test-other cuts
2024-09-27 11:07:54,437 INFO [asr_datamodule.py:453] About to get dev-clean cuts
2024-09-27 11:07:54,438 INFO [asr_datamodule.py:460] About to get dev-other cuts
2024-09-27 11:07:55,348 INFO [ctc_decode_dev.py:653] batch 0/?, cuts processed until now is 21
2024-09-27 11:07:58,378 INFO [zipformer.py:1858] name=None, attn_weights_entropy = tensor([2.8719, 3.5296, 4.1522, 4.1638, 3.5188, 4.0806, 2.9707, 2.9733],
device='cuda:0')
2024-09-27 11:08:04,540 INFO [ctc_decode_dev.py:674] The transcripts are stored in zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/recogs-test-clean-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:04,634 INFO [utils.py:657] [test-clean_ctc-greedy-search] %WER 2.57% [1352 / 52576, 131 ins, 100 del, 1121 sub ]
2024-09-27 11:08:04,970 INFO [ctc_decode_dev.py:701] Wrote detailed error stats to zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/errs-test-clean-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:04,975 INFO [ctc_decode_dev.py:717]
For test-clean, WER of different settings are:
ctc-greedy-search 2.57 best for test-clean
2024-09-27 11:08:05,410 INFO [ctc_decode_dev.py:653] batch 0/?, cuts processed until now is 26
2024-09-27 11:08:13,163 INFO [zipformer.py:1858] name=None, attn_weights_entropy = tensor([2.3268, 3.1528, 3.6248, 3.6498, 3.1525, 3.5557, 2.4936, 2.4442],
device='cuda:0')
2024-09-27 11:08:14,784 INFO [ctc_decode_dev.py:674] The transcripts are stored in zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/recogs-test-other-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:14,911 INFO [utils.py:657] [test-other_ctc-greedy-search] %WER 5.95% [3114 / 52343, 272 ins, 258 del, 2584 sub ]
2024-09-27 11:08:15,124 INFO [ctc_decode_dev.py:701] Wrote detailed error stats to zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/errs-test-other-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:15,128 INFO [ctc_decode_dev.py:717]
For test-other, WER of different settings are:
ctc-greedy-search 5.95 best for test-other
2024-09-27 11:08:15,689 INFO [ctc_decode_dev.py:653] batch 0/?, cuts processed until now is 25
2024-09-27 11:08:24,950 INFO [ctc_decode_dev.py:674] The transcripts are stored in zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/recogs-dev-clean-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:25,046 INFO [utils.py:657] [dev-clean_ctc-greedy-search] %WER 2.37% [1289 / 54402, 112 ins, 104 del, 1073 sub ]
2024-09-27 11:08:25,259 INFO [ctc_decode_dev.py:701] Wrote detailed error stats to zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/errs-dev-clean-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:25,266 INFO [ctc_decode_dev.py:717]
For dev-clean, WER of different settings are:
ctc-greedy-search 2.37 best for dev-clean
2024-09-27 11:08:25,717 INFO [ctc_decode_dev.py:653] batch 0/?, cuts processed until now is 27
2024-09-27 11:08:34,583 INFO [ctc_decode_dev.py:674] The transcripts are stored in zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/recogs-dev-other-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:34,678 INFO [utils.py:657] [dev-other_ctc-greedy-search] %WER 6.03% [3070 / 50948, 274 ins, 269 del, 2527 sub ]
2024-09-27 11:08:35,016 INFO [ctc_decode_dev.py:701] Wrote detailed error stats to zipformer/exp-small-cr-loss-scale-0.2-time-mask-ratio-2.5-scaled-masked-1/ctc-greedy-search/errs-dev-other-epoch-50_avg-25_use-averaged-model.txt
2024-09-27 11:08:35,020 INFO [ctc_decode_dev.py:717]
For dev-other, WER of different settings are:
ctc-greedy-search 6.03 best for dev-other
2024-09-27 11:08:35,020 INFO [ctc_decode_dev.py:989] Done!