mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update paraformer online README
This commit is contained in:
parent
c45b899706
commit
111d50159d
@ -34,7 +34,7 @@ inference_pipeline = pipeline(
|
||||
import soundfile
|
||||
speech, sample_rate = soundfile.read("example/asr_example.wav")
|
||||
|
||||
chunk_size = [0, 10, 5] #[5, 10, 5] 600ms, [8, 8, 4] 480ms
|
||||
chunk_size = [0, 10, 5] #[0, 10, 5] 600ms, [0, 8, 4] 480ms
|
||||
encoder_chunk_look_back = 4 #number of chunks to lookback for encoder self-attention
|
||||
decoder_chunk_look_back = 1 #number of encoder chunks to lookback for decoder cross-attention
|
||||
param_dict = {"cache": dict(), "is_final": False, "chunk_size": chunk_size,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user