Views
No views yet
| STT | Model | #Params | Vivos | Common Voice | VLSP 2020 - Task 1 | VLSP 2020 - Task 2 | Avg. |
|---|---|---|---|---|---|---|---|
| 1 | ChunkFormer-RNNT-Large-Vie | 113M | 2.49 | 5.18 | 12.75 | 20.47 | 10.22 |
| 2 | ChunkFormer-CTC-Large-Vie | 110M | 4.18 | 6.66 | 14.09 | 25.81 | 12.69 |
| 3 | vinai/PhoWhisper-large | 1.55B | 4.67 | 8.14 | 13.75 | 26.68 | 13.31 |
| 4 | nguyenvulebinh/wav2vec2-base-vietnamese-250h | 95M | 10.77 | 18.34 | 13.33 | 51.45 | 23.47 |
| 5 | openai/whisper-large-v3 | 1.55B | 8.81 | 15.45 | 20.41 | 68.61 | 28.32 |
| 6 | khanhld/wav2vec2-base-vietnamese-160h | 95M | 15.05 | 10.78 | 31.62 | 62.01 | 29.87 |
| 7 | homebrewltd/Ichigo-whisper-v0.1 | 22M | 13.46 | 23.52 | 21.64 | 62.92 | 30.39 |
| STT | Model | VLSP - Task 1 |
|---|---|---|
| 1 | ChunkFormer-RNNT-Large-Vie | 12.8 |
| 2 | ChunkFormer-CTC-Large-Vie | 14.1 |
| 3 | Viettel | 14.5 |
| 4 | 19.5 | |
| 5 | FPT | 28.8 |
pip install chunkformer1git clone https://github.com/khanld/chunkformer.git
2cd chunkformer
3pip install -e .1from chunkformer import ChunkFormerModel
2
3# Load the Vietnamese model from Hugging Face
4model = ChunkFormerModel.from_pretrained("khanhld/chunkformer-rnnt-large-vie")
5
6# For single long-form audio transcription
7transcription = model.endless_decode(
8 audio_path="path/to/long_audio.wav",
9 chunk_size=64,
10 left_context_size=128,
11 right_context_size=128,
12 total_batch_duration=14400, # in seconds
13 return_timestamps=True
14)
15print(transcription)
16
17# For batch processing of multiple audio files
18audio_files = ["audio1.wav", "audio2.wav", "audio3.wav"]
19transcriptions = model.batch_decode(
20 audio_paths=audio_files,
21 chunk_size=64,
22 left_context_size=128,
23 right_context_size=128,
24 total_batch_duration=1800 # Total batch duration in seconds
25)
26
27for i, transcription in enumerate(transcriptions):
28 print(f"Audio {i+1}: {transcription}")1chunkformer-decode \
2 --model_checkpoint khanhld/chunkformer-rnnt-large-vie \
3 --long_form_audio path/to/audio.wav \
4 --total_batch_duration 14400 \
5 --chunk_size 64 \
6 --left_context_size 128 \
7 --right_context_size 128[00:00:01.200] - [00:00:02.400]: this is a transcription example
[00:00:02.500] - [00:00:03.700]: testing the long-form audio1@INPROCEEDINGS{10888640,
2 author={Le, Khanh and Ho, Tuan Vu and Tran, Dung and Chau, Duc Thanh},
3 booktitle={ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
4 title={ChunkFormer: Masked Chunking Conformer For Long-Form Speech Transcription},
5 year={2025},
6 volume={},
7 number={},
8 pages={1-5},
9 keywords={Scalability;Memory management;Graphics processing units;Signal processing;Performance gain;Hardware;Resource management;Speech processing;Standards;Context modeling;chunkformer;masked batch;long-form transcription},
10 doi={10.1109/ICASSP49660.2025.10888640}}
11}