mirror of
https://github.com/modelscope/FunASR.git
synced 2026-10-12 02:19:18 +00:00
CR-CTC improves CTC training by computing KL divergence between encoder outputs from augmented and clean inputs. This enforces prediction consistency regardless of data augmentation. k2/icefall reports 3.98% CER on AISHELL-1 test with Zipformer + CR-CTC. Usage: Add model_conf.cr_ctc_weight=0.2 to enable CR-CTC during training. The clean encoder pass is done without SpecAug while the augmented pass uses the normal SpecAug pipeline. Also fixes: add_sos_and_eos function for EParaformer compatibility.