Views
No views yet
Qwen2_5OmniAudioEncoder (thinker.audio_tower.*: conv layers, 32 transformer layers, ln_post, and proj). The Omni thinker LLM, talker, vision tower, and tokenizer are omitted.| Property | Value |
|---|---|
| Parameters | 640M |
| Size | ~1.19 GiB (bfloat16) |
| Output dim | 3584 |
| Mel bins | 128 |
1MODEL_ROOT="$PWD/models"
2hf download FlexiSLM/Qwen2_5-Omni-Audio_Encoder \
3 --local-dir "$MODEL_ROOT/Qwen2_5-Omni-Audio_Encoder"auto_download=True, this encoder is fetched automatically together with the Stage 2 SLM, SenseVoice, and FlexiCodec assets.1from pathlib import Path
2from src.inference_flexislm import FlexiSLMInferenceConfig
3
4model_root = Path.cwd() / "models"
5config = FlexiSLMInferenceConfig(
6 checkpoint="stage2_7B", # or "stage2_0.5B"
7 model_path=str(model_root / "FlexiSLM-7B-Stage2"),
8 qwen25o_encoder_path=str(model_root / "Qwen2_5-Omni-Audio_Encoder"),
9 qwen25o_encoder_config_path=str(
10 model_root / "Qwen2_5-Omni-Audio_Encoder/config.json"
11 ),
12 # ... FlexiCodec / SenseVoice / flow-matching paths ...
13)1use_qwen25omni_feature: true
2qwen25omni_encoder_path: models/Qwen2_5-Omni-Audio_Encoder
3qwen25omni_encoder_config_path: models/Qwen2_5-Omni-Audio_Encoder/config.jsontransformers.models.qwen2_5_omni.modeling_qwen2_5_omni.Qwen2_5OmniAudioEncoder.1@misc{li2026flexislmdynamiccontrollableframe,
2 title={FlexiSLM: A Dynamic and Controllable Frame Rate Spoken Language Model},
3 author={Jiaqi Li and Chaoren Wang and Xiaohai Tian and Mingjie Chen and Xinyu Liang and Xu Li and Yufan Lin and Junwen Qiu and Jun Zhang and Lu Lu and Haizhou Li and Zhizheng Wu},
4 year={2026},
5 eprint={2606.31247},
6 archivePrefix={arXiv},
7 primaryClass={cs.SD},
8 url={https://arxiv.org/abs/2606.31247},
9}