Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
X2Streaming-ASR is an append-only streaming speech recognition model for Chinese, English and Chinese-English code-switching, from X Square Robot. It is built on Mistral's Voxtral Mini Realtime and keeps that model's causal audio encoder, adapter and decoder-only language model, but replaces the fixed delay with a learned decision made every 80 ms audio token: LISTEN predicts Wait when the context is ambiguous or Emit when it is enough to commit, and DECODE then writes the text for the newly heard audio until Eos. Output is never revised once it appears, and the encoder runs incrementally with the language model's KV cache reused, so earlier audio is not recomputed or dropped by a sliding window within the configured context length. The commit policy is trained in three stages: streaming recognition, a supervised warm start from probed commit times, and GRPO with character-level credit assignment that rewards accuracy first and latency second. The README reports mean emission latency of 12 to 109 ms across 12 test sets against 194 to 735 ms for the streaming baselines, and pooled error rates of 5.65% CER on Chinese and 8.35% WER on English, against 5.79% and 8.43% for Confucius4-R2T2 (quality) with 8 to 12 times higher latency. It does not lead everywhere: on AISHELL-2, WenetSpeech Meeting and LibriSpeech test-clean and test-other, Confucius4-R2T2 (quality) has the lower error rate. The repository is inference-only, with adaptive streaming and full-context offline modes, Transformers and vLLM backends, JSONL batch transcription and a web demo. Install with Python 3.11 and pip install -r requirements.txt, then download the x-square-robot/X2Streaming-ASR-4B-1009 weights; a CUDA-capable NVIDIA GPU is recommended. The language tag must be set with --language (zh, en or cs for code-switching), since English audio otherwise falls back to zh unless the path hints at a known English dataset. The code is Apache-2.0, and the weights are also Apache-2.0 under MODEL_LICENSE.md, which allows commercial use. A paper is on arXiv (2609.08672).
ggml-org
Pure C/C++ port of OpenAI Whisper for edge deployment
CJ Pais
A free, open-source, cross-platform speech-to-text app that transcribes your voice entirely offline — press a shortcut, speak, and have the text pasted into any app.