Skip to content
Discussion options

You must be logged in to vote

Update for current FunASR (main at 1d8080a, verified on 2026-07-15).

You no longer need three separate ModelScope pipelines, manual VAD slicing, or eval(). Current FunASR's AutoModel performs the complete offline chain:

  1. VAD finds speech segments.
  2. Paraformer decodes the detected segments.
  3. Segment-local timestamps are shifted back onto the original audio timeline.
  4. The merged transcript is passed through the punctuation model.

Current VAD + ASR + punctuation example

from funasr import AutoModel

model = AutoModel(
    model="paraformer-zh",
    vad_model="fsmn-vad",
    vad_kwargs={"max_single_segment_time": 60000},
    punc_model="ct-punc",
    device="cpu",  # use "cuda" when available
    

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@LauraGPT
Comment options

LauraGPT Mar 22, 2023
Maintainer Author

@wwfcnu
Comment options

Comment options

LauraGPT
Jul 15, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by LauraGPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants