SPEAR-Qwen3 CE: Speech recognition model family
2 min readupdated
The repository features a lineup of six SPEAR-Qwen3 CE models ranging from 0.6B to 32B parameters for speech-to-text translation. The architecture combines a frozen SPEAR-XLarge v2 audio encoder, a projector, and a Qwen3 decoder featuring LoRA (a small add-on to the base model for targeted fine-tuning). Trained on the LibriSpeech dataset, the models deliver high transcription accuracy using greedy search and beam search. This collection is well-suited for researchers and developers building voice interfaces and automated speech recognition systems.
Key features
- Six model sizes ranging from 0.6B to 32B parameters to fit various hardware requirements.
- Integration of a frozen SPEAR-XLarge v2 audio encoder paired with a Qwen3 decoder.
- Utilization of LoRA (a method for efficient weight fine-tuning) with rank and alpha of 64/64.
- Published detailed WER (word error rate) benchmark results across different decoding strategies.
What you can do
- Run inference to transcribe audio files using the preliminary training script.
- Test transcription quality using samples from the LibriSpeech dataset.
- Adjust decoding parameters (greedy search or beam search) to suit specific tasks.
- Run training or fine-tuning on custom audio data using the icefall framework.
Example
CUDA_VISIBLE_DEVICES=0 python3 spear-qwen_ce/pretrained.py \
--checkpoint spear-qwen3-ce/exp/0.6B/checkpoint-24000/pytorch_model.bin \
--llm-path-or-name spear-qwen3-ce/base_models/Qwen3-0.6B \
--speech-encoder-path-or-name spear-qwen3-ce/encoder \
--decoding-method greedy_search \
spear-qwen3-ce/test_wavs/1089-134686-0001.wavRead more
DetailsWER benchmarks (test-clean / test-other): 2.00 to 3.85% for the 0.6B model; 1.65 to 2.98% for the 32B model.
Model training was performed on eight GPUs for 50,000 steps using the icefall framework.
Unpacked checkpoints store the LoRA and projector weights, while the base encoders and Qwen components are loaded separately.










Comments