Downloads · 30 days
38.3K
98% of all-time downloads
Nairod785/Confucius4-R2T2-Q4_K_M-GGUF
Confucius4-R2T2-Q4_K_M-GGUF is a automatic speech recognition model from Nairod785. Use it when you need speech turned into text. It is set up for transcribe.cpp. The card lists the license as other.
Optimized Q4KM GGUF quantization of NetEase Youdao Confucius4-R2T2, a low-latency, append-only streaming ASR model (fine-tuned from Qwen3-ASR-1.7B with Longest Stable Prefix decoding), ready for native execution in tr…
Downloads · 30 days
38.3K
98% of all-time downloads
All-time downloads
39.2K
Public
Repo size
1.2 GB
Likes
3
Public
Click a slice to open those files.
.gguf1.2 GB · 100%
From the Hugging Face model README
Optimized Q4_K_M GGUF quantization of NetEase Youdao Confucius4-R2T2, a low-latency, append-only streaming ASR model (fine-tuned from Qwen3-ASR-1.7B with Longest Stable Prefix decoding), ready for native execution in transcribe.cpp and audio.cpp.
Previous GGUF releases were constrained to Q8_0 or higher because uniform 4-bit and 5-bit quantizations either suffered from catastrophic empty-output cliffs or exhibited silent language drift (e.g. flipping to English when transcribing German or Russian).
This release introduces an asymmetric per-tensor quantization recipe that breaks through that barrier:
r2t2-q4_k_m.gguf| Block | Target Dtype | Architectural Role |
|---|---|---|
| Audio Tower | BF16 / Q4_K | Audio encoder layers quantized to Q4_K with sensitive projection weights preserved at BF16. |
| Attention Projections | Q4_K | Fits within the LM error budget when down projections are held at higher precision. |
| MLP Gate / Up | Q4_K | Errors are bounded through SwiGLU activation. |
| MLP Down | Q6_K | Hard Floor. Writes into residual stream; lower precision triggers multilingual degradation. |
| Embeddings | Q2_K | Lookup table error does not compound; cuts 311M parameters with negligible loss. |
Detailed technical documentation and empirical logs accompanying this model:
--keep-type semantics, census asserting, and lessons learned.| File | Type | Size | Description |
|---|---|---|---|
r2t2-q4_k_m.gguf | Model | 1.187 GB | High-performance floor quantization; passes multilingual validation |
QUANTIZATION.md | Doc | — | Detailed technical report, ablation study, and benchmarks |
QUANTIZATION_ARMS.md | Doc | — | General per-tensor quantization arms methodology |
NOTICE | Legal | — | Attribution and derivative work disclaimers |
LICENSE / LICENSE_zh | Legal | — | NetEase Youdao Model Use License Agreement |
transcribe-clitranscribe-cli -m r2t2-q4_k_m.gguf samples/audio.wav
audiocpp_cli# Offline transcription
audiocpp_cli --task asr --family confucius4_r2t2 --model r2t2-q4_k_m.gguf --backend metal --audio speech_16k.wav --text-out transcript.txt
# Streaming (real-time, append-only)
audiocpp_cli --task asr --mode streaming --family confucius4_r2t2 --model r2t2-q4_k_m.gguf --backend metal --audio speech_16k.wav --session-option confucius4_r2t2.chunk_size_ms=320 --text-out transcript.txt
curl http://127.0.0.1:8488/v1/audio/transcriptions -F model=r2t2-asr -F [email protected]
curl -N http://127.0.0.1:8488/v1/audio/transcriptions -F model=r2t2-asr -F stream=true -F [email protected]
Streaming chunk sizes from 80 ms to 2000 ms are supported (320 ms recommended default).
Optimized for Chinese and English, with support for Cantonese, Arabic, German, French, Spanish, Portuguese, Indonesian, Italian, Korean, Russian, Thai, Vietnamese, Japanese, Turkish, Hindi, Malay, Dutch, Swedish, Danish, Finnish, Polish, Czech, Filipino, Persian, Greek, Romanian, Hungarian, and Macedonian.
This is a quantized Derivative Work of NetEase Youdao Confucius4-R2T2, distributed under the NetEase Youdao Model Use License Agreement — full text in LICENSE (English) and LICENSE_zh (Chinese); see also NOTICE. The source code of the original model is Apache-2.0, the model weights are not.
Required statement (license section 4.1(a)):
Any modifications made to the original model in this Derivative Work are not endorsed, warranted, or guaranteed by the original right-holder of the original model, and the original right-holder disclaims all liability related to this Derivative Work.
Key restrictions: a separate commercial license is required above 100 M monthly active users or RMB 1 B annual revenue (section 2.2); the model may not be used to improve other AI models except Confucius4-R2T2, its derivatives, or non-commercial models (section 3.4(c)); high-risk uses such as medical diagnosis, autonomous driving, military, critical-infrastructure control, large-scale biometric surveillance and automated decision-making are prohibited (section 4.2). No trademark rights are granted (section 5.2).
@misc{Confucius4-R2T2,
title = {Confucius4-R2T2: A Low Latency and High Accuracy Real-Time Speech Recognition Model},
author = {NetEase Youdao},
year = {2026},
howpublished = {https://github.com/netease-youdao/Confucius4-R2T2}
}