update files
Browse files- decoding_result/fast_beam_search/errs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt +0 -0
- decoding_result/fast_beam_search/errs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt +0 -0
- decoding_result/fast_beam_search/log-decode-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model-2023-10-08-18-58-59 +30 -0
- decoding_result/fast_beam_search/recogs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt +0 -0
- decoding_result/fast_beam_search/recogs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt +0 -0
- decoding_result/fast_beam_search/wer-summary-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt +2 -0
- decoding_result/fast_beam_search/wer-summary-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt +2 -0
- decoding_result/greedy_search/errs-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt +0 -0
- decoding_result/greedy_search/errs-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt +0 -0
- decoding_result/greedy_search/log-decode-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model-2023-10-08-18-50-17 +26 -0
- decoding_result/greedy_search/recogs-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt +0 -0
- decoding_result/greedy_search/recogs-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt +0 -0
- decoding_result/greedy_search/wer-summary-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt +2 -0
- decoding_result/greedy_search/wer-summary-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt +2 -0
- decoding_result/modified_beam_search/errs-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt +0 -0
- decoding_result/modified_beam_search/errs-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt +0 -0
- decoding_result/modified_beam_search/log-decode-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model-2023-09-11-21-42-14 +29 -0
- decoding_result/modified_beam_search/recogs-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt +0 -0
- decoding_result/modified_beam_search/recogs-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt +0 -0
- decoding_result/modified_beam_search/wer-summary-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt +2 -0
- decoding_result/modified_beam_search/wer-summary-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt +2 -0
- exp/decode.sh +2 -2
- exp/epoch-50.pt +3 -0
- exp/export.sh +2 -2
- exp/jit_script.pt +2 -2
- exp/pretrained.pt +1 -1
- exp/tensorboard/events.out.tfevents.1694395298.de-74279-k2-train-3-0423201227-84b4557756-8lx4n.2815899.0 +3 -0
- exp/train.sh +1 -1
decoding_result/fast_beam_search/errs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/fast_beam_search/errs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/fast_beam_search/log-decode-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model-2023-10-08-18-58-59
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2023-10-08 18:58:59,577 INFO [decode.py:670] Decoding started
|
2 |
+
2023-10-08 18:58:59,578 INFO [decode.py:676] Device: cuda:0
|
3 |
+
2023-10-08 18:58:59,583 INFO [decode.py:686] {'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.24.1', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'c51a0b9684442a88ee37f3ce0af686a04b66855b', 'k2-git-date': 'Mon May 1 21:38:03 2023', 'lhotse-version': '1.12.0.dev+git.891bad1.clean', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'new-zipformer-onnx-decode', 'icefall-git-sha1': 'a53d7102-dirty', 'icefall-git-date': 'Fri Jun 30 11:38:26 2023', 'icefall-path': '/ceph-zw/workspace/zipformer/icefall_zipformer', 'k2-path': '/ceph-zw/workspace/k2/k2/k2/python/k2/__init__.py', 'lhotse-path': '/ceph-zw/workspace/share/lhotse/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-9-0208143539-7dbf569d4f-r7nrb', 'IP address': '10.177.13.150'}, 'epoch': 50, 'iter': 0, 'avg': 25, 'use_averaged_model': True, 'exp_dir': PosixPath('zipformer/exp'), '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, 'num_encoder_layers': '2,2,3,4,3,2', 'downsampling_factor': '1,2,4,8,4,2', 'feedforward_dim': '512,768,1024,1536,1024,768', 'num_heads': '4,4,4,8,4,4', 'encoder_dim': '192,256,384,512,384,256', 'query_head_dim': '32', 'value_head_dim': '12', 'pos_head_dim': '4', 'pos_dim': 48, 'encoder_unmasked_dim': '192,192,256,256,256,192', 'cnn_module_kernel': '31,31,15,15,15,31', 'decoder_dim': 512, 'joiner_dim': 512, 'causal': False, 'chunk_size': '16,32,64,-1', 'left_context_frames': '64,128,256,-1', 'use_transducer': True, 'use_ctc': False, 'full_libri': True, 'mini_libri': False, 'manifest_dir': PosixPath('data/fbank'), 'max_duration': 600, '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/fast_beam_search'), 'suffix': 'epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
|
4 |
+
2023-10-08 18:58:59,584 INFO [decode.py:688] About to create model
|
5 |
+
2023-10-08 18:59:00,536 INFO [decode.py:755] Calculating the averaged model over epoch range from 25 (excluded) to 50
|
6 |
+
2023-10-08 18:59:11,877 INFO [decode.py:791] Number of model parameters: 65549011
|
7 |
+
2023-10-08 18:59:11,878 INFO [asr_datamodule.py:465] About to get test-clean cuts
|
8 |
+
2023-10-08 18:59:11,884 INFO [asr_datamodule.py:472] About to get test-other cuts
|
9 |
+
2023-10-08 18:59:15,110 INFO [decode.py:562] batch 0/?, cuts processed until now is 43
|
10 |
+
2023-10-08 18:59:52,622 INFO [decode.py:562] batch 20/?, cuts processed until now is 1430
|
11 |
+
2023-10-08 19:00:10,479 INFO [zipformer.py:1728] name=None, attn_weights_entropy = tensor([3.2918, 3.3261, 4.0328, 5.8494], device='cuda:0')
|
12 |
+
2023-10-08 19:00:32,724 INFO [decode.py:562] batch 40/?, cuts processed until now is 2561
|
13 |
+
2023-10-08 19:00:33,939 INFO [decode.py:580] The transcripts are stored in zipformer/exp/fast_beam_search/recogs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
|
14 |
+
2023-10-08 19:00:34,053 INFO [utils.py:562] [test-clean-beam_20.0_max_contexts_8_max_states_64] %WER 2.21% [1160 / 52576, 125 ins, 92 del, 943 sub ]
|
15 |
+
2023-10-08 19:00:34,355 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp/fast_beam_search/errs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
|
16 |
+
2023-10-08 19:00:34,358 INFO [decode.py:610]
|
17 |
+
For test-clean, WER of different settings are:
|
18 |
+
beam_20.0_max_contexts_8_max_states_64 2.21 best for test-clean
|
19 |
+
|
20 |
+
2023-10-08 19:00:37,030 INFO [decode.py:562] batch 0/?, cuts processed until now is 52
|
21 |
+
2023-10-08 19:01:11,751 INFO [decode.py:562] batch 20/?, cuts processed until now is 1647
|
22 |
+
2023-10-08 19:01:50,594 INFO [decode.py:562] batch 40/?, cuts processed until now is 2870
|
23 |
+
2023-10-08 19:01:51,784 INFO [decode.py:580] The transcripts are stored in zipformer/exp/fast_beam_search/recogs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
|
24 |
+
2023-10-08 19:01:51,903 INFO [utils.py:562] [test-other-beam_20.0_max_contexts_8_max_states_64] %WER 4.82% [2523 / 52343, 235 ins, 230 del, 2058 sub ]
|
25 |
+
2023-10-08 19:01:52,214 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp/fast_beam_search/errs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
|
26 |
+
2023-10-08 19:01:52,218 INFO [decode.py:610]
|
27 |
+
For test-other, WER of different settings are:
|
28 |
+
beam_20.0_max_contexts_8_max_states_64 4.82 best for test-other
|
29 |
+
|
30 |
+
2023-10-08 19:01:52,218 INFO [decode.py:822] Done!
|
decoding_result/fast_beam_search/recogs-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/fast_beam_search/recogs-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/fast_beam_search/wer-summary-test-clean-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
settings WER
|
2 |
+
beam_20.0_max_contexts_8_max_states_64 2.21
|
decoding_result/fast_beam_search/wer-summary-test-other-beam_20.0_max_contexts_8_max_states_64-epoch-50-avg-25-beam-20.0-max-contexts-8-max-states-64-use-averaged-model.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
settings WER
|
2 |
+
beam_20.0_max_contexts_8_max_states_64 4.82
|
decoding_result/greedy_search/errs-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/greedy_search/errs-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/greedy_search/log-decode-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model-2023-10-08-18-50-17
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2023-10-08 18:50:17,089 INFO [decode.py:670] Decoding started
|
2 |
+
2023-10-08 18:50:17,089 INFO [decode.py:676] Device: cuda:0
|
3 |
+
2023-10-08 18:50:17,115 INFO [decode.py:686] {'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.24.1', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'c51a0b9684442a88ee37f3ce0af686a04b66855b', 'k2-git-date': 'Mon May 1 21:38:03 2023', 'lhotse-version': '1.12.0.dev+git.891bad1.clean', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'new-zipformer-onnx-decode', 'icefall-git-sha1': 'a53d7102-clean', 'icefall-git-date': 'Fri Jun 30 11:38:26 2023', 'icefall-path': '/ceph-zw/workspace/zipformer/icefall_zipformer', 'k2-path': '/ceph-zw/workspace/k2/k2/k2/python/k2/__init__.py', 'lhotse-path': '/ceph-zw/workspace/share/lhotse/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-9-0208143539-7dbf569d4f-r7nrb', 'IP address': '10.177.13.150'}, 'epoch': 50, 'iter': 0, 'avg': 25, 'use_averaged_model': True, 'exp_dir': PosixPath('zipformer/exp'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'lang_dir': PosixPath('data/lang_bpe_500'), 'decoding_method': 'greedy_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, 'num_encoder_layers': '2,2,3,4,3,2', 'downsampling_factor': '1,2,4,8,4,2', 'feedforward_dim': '512,768,1024,1536,1024,768', 'num_heads': '4,4,4,8,4,4', 'encoder_dim': '192,256,384,512,384,256', 'query_head_dim': '32', 'value_head_dim': '12', 'pos_head_dim': '4', 'pos_dim': 48, 'encoder_unmasked_dim': '192,192,256,256,256,192', 'cnn_module_kernel': '31,31,15,15,15,31', 'decoder_dim': 512, 'joiner_dim': 512, 'causal': False, 'chunk_size': '16,32,64,-1', 'left_context_frames': '64,128,256,-1', 'use_transducer': True, 'use_ctc': False, 'full_libri': True, 'mini_libri': False, 'manifest_dir': PosixPath('data/fbank'), 'max_duration': 600, '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/greedy_search'), 'suffix': 'epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
|
4 |
+
2023-10-08 18:50:17,116 INFO [decode.py:688] About to create model
|
5 |
+
2023-10-08 18:50:17,994 INFO [decode.py:755] Calculating the averaged model over epoch range from 25 (excluded) to 50
|
6 |
+
2023-10-08 18:50:35,157 INFO [decode.py:791] Number of model parameters: 65549011
|
7 |
+
2023-10-08 18:50:35,157 INFO [asr_datamodule.py:465] About to get test-clean cuts
|
8 |
+
2023-10-08 18:50:35,166 INFO [asr_datamodule.py:472] About to get test-other cuts
|
9 |
+
2023-10-08 18:50:37,898 INFO [decode.py:562] batch 0/?, cuts processed until now is 43
|
10 |
+
2023-10-08 18:50:52,082 INFO [zipformer.py:1728] name=None, attn_weights_entropy = tensor([2.8475, 3.8946, 3.7811, 3.7687], device='cuda:0')
|
11 |
+
2023-10-08 18:51:20,061 INFO [decode.py:580] The transcripts are stored in zipformer/exp/greedy_search/recogs-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
|
12 |
+
2023-10-08 18:51:20,180 INFO [utils.py:562] [test-clean-greedy_search] %WER 2.22% [1166 / 52576, 122 ins, 90 del, 954 sub ]
|
13 |
+
2023-10-08 18:51:20,490 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp/greedy_search/errs-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
|
14 |
+
2023-10-08 18:51:20,493 INFO [decode.py:610]
|
15 |
+
For test-clean, WER of different settings are:
|
16 |
+
greedy_search 2.22 best for test-clean
|
17 |
+
|
18 |
+
2023-10-08 18:51:22,470 INFO [decode.py:562] batch 0/?, cuts processed until now is 52
|
19 |
+
2023-10-08 18:52:02,480 INFO [decode.py:580] The transcripts are stored in zipformer/exp/greedy_search/recogs-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
|
20 |
+
2023-10-08 18:52:02,599 INFO [utils.py:562] [test-other-greedy_search] %WER 4.87% [2547 / 52343, 233 ins, 245 del, 2069 sub ]
|
21 |
+
2023-10-08 18:52:02,907 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp/greedy_search/errs-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
|
22 |
+
2023-10-08 18:52:02,910 INFO [decode.py:610]
|
23 |
+
For test-other, WER of different settings are:
|
24 |
+
greedy_search 4.87 best for test-other
|
25 |
+
|
26 |
+
2023-10-08 18:52:02,910 INFO [decode.py:822] Done!
|
decoding_result/greedy_search/recogs-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/greedy_search/recogs-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/greedy_search/wer-summary-test-clean-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
settings WER
|
2 |
+
greedy_search 2.22
|
decoding_result/greedy_search/wer-summary-test-other-greedy_search-epoch-50-avg-25-context-2-max-sym-per-frame-1-use-averaged-model.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
settings WER
|
2 |
+
greedy_search 4.87
|
decoding_result/modified_beam_search/errs-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/modified_beam_search/errs-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/modified_beam_search/log-decode-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model-2023-09-11-21-42-14
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2023-09-11 21:42:14,344 INFO [decode.py:670] Decoding started
|
2 |
+
2023-09-11 21:42:14,344 INFO [decode.py:676] Device: cuda:0
|
3 |
+
2023-09-11 21:42:14,348 INFO [decode.py:686] {'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.24.1', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'c51a0b9684442a88ee37f3ce0af686a04b66855b', 'k2-git-date': 'Mon May 1 21:38:03 2023', 'lhotse-version': '1.12.0.dev+git.891bad1.clean', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'new-zipformer-onnx-decode', 'icefall-git-sha1': 'a53d7102-clean', 'icefall-git-date': 'Fri Jun 30 11:38:26 2023', 'icefall-path': '/ceph-zw/workspace/zipformer/icefall_zipformer', 'k2-path': '/ceph-zw/workspace/k2/k2/k2/python/k2/__init__.py', 'lhotse-path': '/ceph-zw/workspace/share/lhotse/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-3-0423201227-84b4557756-8lx4n', 'IP address': '10.177.6.147'}, 'epoch': 50, 'iter': 0, 'avg': 25, 'use_averaged_model': True, 'exp_dir': PosixPath('zipformer/exp'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'lang_dir': PosixPath('data/lang_bpe_500'), 'decoding_method': 'modified_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, 'num_encoder_layers': '2,2,3,4,3,2', 'downsampling_factor': '1,2,4,8,4,2', 'feedforward_dim': '512,768,1024,1536,1024,768', 'num_heads': '4,4,4,8,4,4', 'encoder_dim': '192,256,384,512,384,256', 'query_head_dim': '32', 'value_head_dim': '12', 'pos_head_dim': '4', 'pos_dim': 48, 'encoder_unmasked_dim': '192,192,256,256,256,192', 'cnn_module_kernel': '31,31,15,15,15,31', 'decoder_dim': 512, 'joiner_dim': 512, 'causal': False, 'chunk_size': '16,32,64,-1', 'left_context_frames': '64,128,256,-1', 'use_transducer': True, 'use_ctc': False, 'full_libri': True, 'mini_libri': False, 'manifest_dir': PosixPath('data/fbank'), 'max_duration': 600, '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/modified_beam_search'), 'suffix': 'epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
|
4 |
+
2023-09-11 21:42:14,349 INFO [decode.py:688] About to create model
|
5 |
+
2023-09-11 21:42:14,993 INFO [decode.py:755] Calculating the averaged model over epoch range from 25 (excluded) to 50
|
6 |
+
2023-09-11 21:42:28,663 INFO [decode.py:791] Number of model parameters: 65549011
|
7 |
+
2023-09-11 21:42:28,663 INFO [asr_datamodule.py:465] About to get test-clean cuts
|
8 |
+
2023-09-11 21:42:28,667 INFO [asr_datamodule.py:472] About to get test-other cuts
|
9 |
+
2023-09-11 21:42:33,613 INFO [decode.py:562] batch 0/?, cuts processed until now is 43
|
10 |
+
2023-09-11 21:43:54,268 INFO [decode.py:562] batch 20/?, cuts processed until now is 1430
|
11 |
+
2023-09-11 21:45:00,408 INFO [decode.py:562] batch 40/?, cuts processed until now is 2574
|
12 |
+
2023-09-11 21:45:03,047 INFO [decode.py:580] The transcripts are stored in zipformer/exp/modified_beam_search/recogs-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
|
13 |
+
2023-09-11 21:45:03,116 INFO [utils.py:562] [test-clean-beam_size_4] %WER 2.21% [1164 / 52576, 121 ins, 92 del, 951 sub ]
|
14 |
+
2023-09-11 21:45:03,287 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp/modified_beam_search/errs-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
|
15 |
+
2023-09-11 21:45:03,288 INFO [decode.py:610]
|
16 |
+
For test-clean, WER of different settings are:
|
17 |
+
beam_size_4 2.21 best for test-clean
|
18 |
+
|
19 |
+
2023-09-11 21:45:07,860 INFO [decode.py:562] batch 0/?, cuts processed until now is 52
|
20 |
+
2023-09-11 21:46:25,861 INFO [decode.py:562] batch 20/?, cuts processed until now is 1646
|
21 |
+
2023-09-11 21:47:29,536 INFO [decode.py:562] batch 40/?, cuts processed until now is 2870
|
22 |
+
2023-09-11 21:47:32,126 INFO [decode.py:580] The transcripts are stored in zipformer/exp/modified_beam_search/recogs-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
|
23 |
+
2023-09-11 21:47:32,195 INFO [utils.py:562] [test-other-beam_size_4] %WER 4.79% [2508 / 52343, 236 ins, 225 del, 2047 sub ]
|
24 |
+
2023-09-11 21:47:32,372 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp/modified_beam_search/errs-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
|
25 |
+
2023-09-11 21:47:32,373 INFO [decode.py:610]
|
26 |
+
For test-other, WER of different settings are:
|
27 |
+
beam_size_4 4.79 best for test-other
|
28 |
+
|
29 |
+
2023-09-11 21:47:32,373 INFO [decode.py:822] Done!
|
decoding_result/modified_beam_search/recogs-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/modified_beam_search/recogs-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
decoding_result/modified_beam_search/wer-summary-test-clean-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
settings WER
|
2 |
+
beam_size_4 2.21
|
decoding_result/modified_beam_search/wer-summary-test-other-beam_size_4-epoch-50-avg-25-modified_beam_search-beam-size-4-use-averaged-model.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
settings WER
|
2 |
+
beam_size_4 4.79
|
exp/decode.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
for m in greedy_search modified_beam_search fast_beam_search; do
|
2 |
./zipformer/decode.py \
|
3 |
-
--epoch
|
4 |
-
--avg
|
5 |
--use-averaged-model 1 \
|
6 |
--exp-dir ./zipformer/exp \
|
7 |
--max-duration 600 \
|
|
|
1 |
for m in greedy_search modified_beam_search fast_beam_search; do
|
2 |
./zipformer/decode.py \
|
3 |
+
--epoch 50 \
|
4 |
+
--avg 25 \
|
5 |
--use-averaged-model 1 \
|
6 |
--exp-dir ./zipformer/exp \
|
7 |
--max-duration 600 \
|
exp/epoch-50.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6533406762b1f1764a2ae93d06c57ee3116da47831f4887723e1f1cbe5047ab
|
3 |
+
size 1049765133
|
exp/export.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
./zipformer/export.py \
|
2 |
--exp-dir ./zipformer/exp \
|
3 |
--bpe-model data/lang_bpe_500/bpe.model \
|
4 |
-
--epoch
|
5 |
-
--avg
|
6 |
--jit 1
|
7 |
|
8 |
|
|
|
1 |
./zipformer/export.py \
|
2 |
--exp-dir ./zipformer/exp \
|
3 |
--bpe-model data/lang_bpe_500/bpe.model \
|
4 |
+
--epoch 50 \
|
5 |
+
--avg 25 \
|
6 |
--jit 1
|
7 |
|
8 |
|
exp/jit_script.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4cfb16b5488015cb5c5fe3413a9ddd10e84fc308a1fccd3bb5e228bdf829a1b
|
3 |
+
size 264927870
|
exp/pretrained.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 262602995
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d87682d608326e166c64c8f88343b4a62db3042a0f87b69871bb475c4a63f68f
|
3 |
size 262602995
|
exp/tensorboard/events.out.tfevents.1694395298.de-74279-k2-train-3-0423201227-84b4557756-8lx4n.2815899.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0242fca914e38b315c2ef928a99a5d0c3e4fa5c522271fea5a41fd4d8ec3bea5
|
3 |
+
size 265820
|
exp/train.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
export CUDA_VISIBLE_DEVICES="0,1,2,3"
|
2 |
./zipformer/train.py \
|
3 |
--world-size 4 \
|
4 |
-
--num-epochs
|
5 |
--start-epoch 1 \
|
6 |
--use-fp16 1 \
|
7 |
--exp-dir zipformer/exp \
|
|
|
1 |
export CUDA_VISIBLE_DEVICES="0,1,2,3"
|
2 |
./zipformer/train.py \
|
3 |
--world-size 4 \
|
4 |
+
--num-epochs 50 \
|
5 |
--start-epoch 1 \
|
6 |
--use-fp16 1 \
|
7 |
--exp-dir zipformer/exp \
|