Views
No views yet
| Testset\Model | Languages | FireRedLID | Whisper | SpeechBrain | Dolphin |
|---|---|---|---|---|---|
| FLEURS test | 82 languages | 97.18 | 79.41 | 92.91 | - |
| CommonVoice test | 74 languages | 92.07 | 80.81 | 78.75 | - |
| KeSpeech + MagicData | 20+ Chinese dialects/accents | 88.47 | - | - | 69.01 |
1from fireredasr2s.fireredlid import FireRedLid, FireRedLidConfig
2
3batch_uttid = ["hello_zh", "hello_en"]
4batch_wav_path = ["assets/hello_zh.wav", "assets/hello_en.wav"]
5
6config = FireRedLidConfig(use_gpu=True, use_half=False)
7model = FireRedLid.from_pretrained("FireRedTeam/FireRedLID", config)
8
9results = model.process(batch_uttid, batch_wav_path)
10print(results)
11# [{'uttid': 'hello_zh', 'lang': 'zh mandarin', 'confidence': 0.996, 'dur_s': 2.32, 'rtf': '0.0741', 'wav': 'assets/hello_zh.wav'}, {'uttid': 'hello_en', 'lang': 'en', 'confidence': 0.996, 'dur_s': 2.24, 'rtf': '0.0741', 'wav': 'assets/hello_en.wav'}]1@article{xu2026fireredasr2s,
2 title={FireRedASR2S: A State-of-the-Art Industrial-Grade All-in-One Automatic Speech Recognition System},
3 author={Xu, Kaituo and Jia, Yan and Huang, Kai and Chen, Junjie and Li, Wenpeng and Liu, Kun and Xie, Feng-Long and Tang, Xu and Hu, Yao},
4 journal={arXiv preprint arXiv:2603.10420},
5 year={2026}
6}