Views
No views yet
| Encoder | ChunkFormer |
| Encoder blocks | 12 |
| Hidden size | 512 |
| Attention heads | 8 |
| FFN size | 2048 |
| CNN module kernel | 15 |
| Subsampling | dw_striding (8×) |
| Positional encoding | chunk relative |
| Input features | 80-dim log-mel fbank @ 16 kHz |
pytorch_model.pt — encoder-only state dict (encoder.*).config.yaml — encoder configuration (encoder_conf) and feature settings.global_cmvn — global CMVN statistics used during pretraining.strict=False, so point any ChunkFormer ASR / RNN-T /
classification recipe at this checkpoint and train the task heads from scratch. Make sure
the downstream encoder_conf matches config.yaml.checkpoint argument accepts either a local path or this repo id directly —
load_checkpoint looks for a local file/directory first and otherwise downloads
pytorch_model.pt from the Hub automatically (cached locally), so no manual download
step is required:1# e.g. in examples/asr/ctc/run.sh (or rnnt / classification)
2
3# Option A — download straight from the Hub (recommended)
4checkpoint=khanhld/vip-vl-base-vie
5
6# Option B — local path to an exported bundle
7checkpoint=/path/to/khanhld/vip-vl-base-vie/pytorch_model.pt1from chunkformer import ChunkFormerModel
2import torch
3
4device = "cuda:0"
5
6# Load a pre-trained model from Hugging Face or local directory
7model = ChunkFormerModel.from_pretrained("khanhld/chunkformer-ctc-large-vie").to(device)
8x, x_len = model._load_audio_and_extract_features("path/to/audio") # x: (T, F), x_len: int
9x = x.unsqueeze(0).to(device)
10x_len = torch.tensor([x_len], device=device)
11
12# Extract feature
13feature, feature_len = model.encode(
14 xs=x,
15 xs_lens=x_len,
16)
17
18print("feature: ", feature.shape)
19print("feature_len: ", feature_len)1@inproceedings{vipvl,
2 title={ViP-VL: Vietnamese Self-supervised Speech Pretraining Model Leveraging Vector-Quantization Learning},
3 author={Khanh Le* and Kiet Anh Hoang* and Bao Nguyen* and Duy Vo* and Dung Vo and Thai Tran and Linh Pham and Khoa D Doan},
4 booktitle={Proc. INTERSPEECH 2026},
5 year={2026},
6 url={https://arxiv.org/abs/2606.10360}
7}
8
9@INPROCEEDINGS{10888640,
10 author={Le, Khanh and Ho, Tuan Vu and Tran, Dung and Chau, Duc Thanh},
11 booktitle={ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
12 title={ChunkFormer: Masked Chunking Conformer For Long-Form Speech Transcription},
13 year={2025},
14 pages={1-5},
15 doi={10.1109/ICASSP49660.2025.10888640}}