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
嘉渊68550b6b9bf3
diff --git a/funasr/lm/abs_model.py b/funasr/lm/abs_model.pyindex 1f3c8a7b1..560879e8f 100644--- a/funasr/lm/abs_model.py+++ b/funasr/lm/abs_model.py@@ -15,7 +15,7 @@ from typeguard import check_argument_typesfrom funasr.modules.nets_utils import make_pad_maskfrom funasr.torch_utils.device_funcs import force_gatherable-from funasr.train.abs_espnet_model import AbsESPnetModel+from funasr.models.base_model import FunASRModelclass AbsLM(torch.nn.Module, BatchScorerInterface, ABC):"""The abstract LM class@@ -39,7 +39,7 @@ class AbsLM(torch.nn.Module, BatchScorerInterface, ABC):raise NotImplementedError-class LanguageModel(AbsESPnetModel):+class LanguageModel(FunASRModel):def __init__(self, lm: AbsLM, vocab_size: int, ignore_id: int = 0):assert check_argument_types()super().__init__()