Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update
shixian.shic9f1b4e8a2e9
diff --git a/funasr/models/e2e_asr_contextual_paraformer.py b/funasr/models/e2e_asr_contextual_paraformer.pyindex 64e0f8d03..171a6c60a 100644--- a/funasr/models/e2e_asr_contextual_paraformer.py+++ b/funasr/models/e2e_asr_contextual_paraformer.py@@ -134,7 +134,7 @@ class NeatContextualParaformer(Paraformer):text_lengths: torch.Tensor,hotword_pad: torch.Tensor,hotword_lengths: torch.Tensor,- ideal_attn: torch.Tensor,+ dha_pad: torch.Tensor,) -> Tuple[torch.Tensor, Dict[str, torch.Tensor], torch.Tensor]:"""Frontend + Encoder + Decoder + Calc loss