Views
No views yet
This project is in active development. Checkpoints may be overwritten as training continues.
1git clone --recurse-submodules https://github.com/AmphionTeam/FlexiSLM.git
2cd FlexiSLM
3pip install -r requirements.txt
4
5MODEL_ROOT="$PWD/models"
6
7# Optional local mirror (Stage 2 can also pull the Hub id automatically)
8hf download FlexiSLM/FlexiSLM-7B-Stage1 --local-dir "$MODEL_ROOT/FlexiSLM-7B-Stage1"
9
10# Shared encoder / codec + Qwen backbone (see repo README for full list)
11hf download FlexiSLM/Qwen2_5-Omni-Audio_Encoder --local-dir "$MODEL_ROOT/Qwen2_5-Omni-Audio_Encoder"
12hf download FunAudioLLM/SenseVoiceSmall --local-dir "$MODEL_ROOT/SenseVoiceSmall"
13hf download jiaqili3/flexicodec \
14 12hz_v1_half_config.yaml \
15 nartts_flexicodec_only.safetensors \
16 --local-dir "$MODEL_ROOT/FlexiCodec"
17hf download Qwen/Qwen2.5-7B-Instruct --local-dir "$MODEL_ROOT/Qwen2.5-7B-Instruct"config/train_stage2_7B.yaml already sets:resume_from_checkpoint: FlexiSLM/FlexiSLM-7B-Stage1bash scripts/train_stage2_7B.sh1bash scripts/train_stage2_7B.sh \
2 --resume_from_checkpoint FlexiSLM/FlexiSLM-7B-Stage1 \
3 --output_dir outputs/train_stage2_7BFlexiSLM/FlexiSLM-7B-Stage1 are downloaded into models/ when missing.checkpoint="stage2_7B" (auto-download or manual). Full Python / batch examples are in the code README.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}