Download index.html from swmt/rush: direct link, hf CLI and curl.
- Browser
- Download file 29.1 kB
-
https://huggingface.co/spaces/swmt/rush/resolve/main/index.html
- Command line
-
hf download hf://spaces/swmt/rush/index.html
-
curl -L -o index.html https://huggingface.co/spaces/swmt/rush/resolve/main/index.html
29.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Rush-0.3B</title> | |
| <style> | |
| :root { | |
| --foreground: #0f172a; | |
| --muted-foreground: #64748b; | |
| --border: #e2e8f0; | |
| --card-border: #e5e7eb; | |
| --card: #ffffff; | |
| --background: #fffaf7; | |
| --primary: #e11d48; | |
| --primary-foreground: #ffffff; | |
| --chart-1: #e11d48; | |
| --chart-2: #2563eb; | |
| --chart-4: #64748b; | |
| } | |
| html, body { margin: 0; padding: 0; background: var(--background); color: var(--foreground); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; } | |
| svg text { user-select: none; } | |
| #tooltip { pointer-events: none; transition: opacity 100ms ease; } | |
| .chart-wrap { padding: 8px 4px 4px; } | |
| .topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--card-border); } | |
| .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--muted-foreground); } | |
| .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 99px; margin-right: 4px; vertical-align: middle; } | |
| .plot { position: relative; width: 100%; } | |
| #scatter { width: 100%; height: auto; display: block; overflow: visible; } | |
| .footer-hint { font-size: 12px; color: var(--muted-foreground); padding-top: 8px; border-top: 1px solid var(--card-border); } | |
| .tooltip { | |
| opacity: 0; position: fixed; z-index: 50; padding: 8px 12px; border-radius: 8px; | |
| font-size: 12px; border: 1px solid var(--border); background: var(--card); | |
| color: var(--foreground); box-shadow: 0 8px 24px rgba(15,23,42,.12); max-width: 280px; | |
| } | |
| .tooltip .title { font-weight: 650; margin-bottom: 4px; } | |
| .tooltip .grid { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; } | |
| .tooltip .k { color: var(--muted-foreground); } | |
| main { max-width: 960px; margin: 0 auto; padding: 32px 20px 64px; } | |
| h1 { font-size: 2rem; margin: 0 0 8px; letter-spacing: -0.03em; } | |
| h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; } | |
| p, li { font-size: 1rem; line-height: 1.55; } | |
| .lede { color: #333; max-width: 70ch; } | |
| .note { background: #fff7ed; border: 1px solid #fed7aa; padding: 12px 14px; border-radius: 8px; } | |
| .chart-frame { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px 14px; margin: 1rem 0 0; } | |
| table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.92rem; } | |
| th, td { border: 1px solid #e5e5e5; padding: 8px 10px; text-align: left; } | |
| th { background: #f4f4f5; } | |
| td.num, th.num { text-align: right; } | |
| .zh { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #e5e5e5; } | |
| h3 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; } | |
| img.arch { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; margin: 0.75rem 0 0; display: block; } | |
| code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; } | |
| .arch-eq { font-size: 0.95rem; } | |
| .tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } | |
| .tab-btn { | |
| appearance: none; background: #fff; color: var(--muted-foreground); | |
| border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; | |
| font: inherit; font-size: 12.5px; font-weight: 550; cursor: pointer; | |
| } | |
| .tab-btn.active { | |
| color: var(--foreground); border-color: #fecdd3; background: #fff1f2; font-weight: 650; | |
| } | |
| .swatch.sq { border-radius: 2px; } | |
| .swatch.dia { width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; } | |
| a { color: #1d4ed8; } | |
| footer { margin-top: 2rem; color: #555; font-size: 0.9rem; } | |
| </style> | |
| </head> | |
| <body> | |
| <main> | |
| <h1>Rush-0.3B</h1> | |
| <p class="lede">A 0.32B native full-duplex speech language model for consumer GPUs and on-device use. Architecture: residual DualFFN. This page is English-first.</p> | |
| <p class="note"><strong>v0.1.0 public landing.</strong> Trained weights are not uploaded yet. This Space publishes the VoiceBench MMSU Pareto plot and the locked evaluation tables. Model card: <a href="https://huggingface.co/swmt/Rush-0.3B">swmt/Rush-0.3B</a>. Code: <a href="https://github.com/Shiyao-Huang/rush">Shiyao-Huang/rush</a>.</p> | |
| <h2>Pareto plots</h2> | |
| <p>Two public views: <strong>VoiceBench MMSU</strong> (full set, speech in) and a <strong>latency</strong> comparison. Neither includes OpenBookQA, AdvBench, three-metric averages, or a 0.8B sibling. Hover a point for details.</p> | |
| <div class="chart-frame"> | |
| <div class="chart-wrap"> | |
| <div class="topbar"> | |
| <div class="tabs"> | |
| <button type="button" data-metric="mmsu" class="tab-btn active">MMSU</button> | |
| <button type="button" data-metric="latency" class="tab-btn">Latency (ms, lower is better)</button> | |
| </div> | |
| <div class="legend" id="chart-legend"></div> | |
| </div> | |
| <div class="plot"> | |
| <svg id="scatter" viewBox="0 0 760 355"></svg> | |
| <div id="tooltip" class="tooltip"></div> | |
| </div> | |
| <div class="footer-hint" id="chart-footer"></div> | |
| </div> | |
| <script> | |
| const MODELS = [ | |
| { name: "Rush-0.3B", short: "Rush-0.3B", params: 0.32, cat: "ours", mmsu: 44.83, mmsu_ci: [43.08, 46.59], latency: 28.47, latKind: "Audio TTFT p50 (RTX 4090 BF16, 2.0 s audio)", tps: 79.65, vram: 1.12, echo_fpr: "0.00%", zf: true, fd: true, notes: "n=3,074; 95% Wilson CI" }, | |
| { name: "Mini-Omni (0.5B)", short: "Mini-Omni 0.5B", params: 0.5, cat: "omni", mmsu: 24.69 }, | |
| { name: "Mini-Omni2 (0.5B)", short: "Mini-Omni2 0.5B", params: 0.5, cat: "omni", mmsu: 24.27 }, | |
| { name: "Mair-hub-0.5B-Omni", short: "Mair-0.5B", params: 0.5, cat: "omni", mmsu: 25.60 }, | |
| { name: "Ultravox-v0.5-1B", short: "Ultravox 1.2B", params: 1.2, cat: "omni", mmsu: 30.03 }, | |
| { name: "Megrez-3B-Omni", short: "Megrez 3B", params: 3.0, cat: "omni", mmsu: 27.03 }, | |
| { name: "DuplexJev-4B-Para", short: "DuplexJev 4B", params: 4.0, cat: "fd", mmsu: 41.3, notes: "Official README" }, | |
| { name: "Phi-4-multimodal (5.6B)", short: "Phi-4 5.6B", params: 5.6, cat: "omni", mmsu: 42.19 }, | |
| { name: "Moshi (7B, Full-Duplex)", short: "Moshi 7B", params: 7.0, cat: "fd", mmsu: 24.04, latency: 1160, latKind: "FDB stop latency (project comparison chart)" }, | |
| { name: "Freeze-Omni (7B, Full-Duplex)", short: "Freeze-Omni 7B", params: 7.0, cat: "fd", mmsu: 28.14, latency: 1420, latKind: "FDB stop latency (project comparison chart)" }, | |
| { name: "NVIDIA PersonaPlex (7B, Full-Duplex)", short: "PersonaPlex 7B", params: 7.0, cat: "fd", latency: 205, latKind: "Reported latency (project comparison chart)" }, | |
| { name: "Kimi-Audio (7B)", short: "Kimi-Audio 7B", params: 7.0, cat: "omni", mmsu: 62.17 }, | |
| { name: "LLaMA-Omni (8B)", short: "LLaMA-Omni 8B", params: 8.0, cat: "omni", mmsu: 25.93 }, | |
| { name: "MiniCPM-o 2.6 (8B)", short: "MiniCPM-o 8B", params: 8.0, cat: "omni", mmsu: 54.78 }, | |
| { name: "Qwen2-Audio (8.2B)", short: "Qwen2-Audio 8B", params: 8.2, cat: "omni", mmsu: 35.72 }, | |
| { name: "GLM-4-Voice (9B)", short: "GLM-4-Voice 9B", params: 9.0, cat: "omni", mmsu: 39.75 }, | |
| { name: "Qwen3-Omni-30B-A3B", short: "Qwen3-Omni 30B", params: 30.0, cat: "omni", mmsu: 68.10 }, | |
| { name: "Sophon-Realtime (32B, Full-Duplex)", short: "Sophon 32B", params: 32.0, cat: "fd", latency: 280, latKind: "Reported latency (project comparison chart)" }, | |
| { name: "DuplexJev-32B-Para", short: "DuplexJev 32B", params: 32.0, cat: "fd", mmsu: 70.8, notes: "Official README" } | |
| ]; | |
| const OFFSETS_MMSU = { | |
| "Rush-0.3B": [10, -10, "start"], | |
| "DuplexJev 4B": [-10, 14, "end"], | |
| "Mini-Omni 0.5B": [8, 12, "start"], | |
| "Ultravox 1.2B": [8, 4, "start"], | |
| "Megrez 3B": [8, 4, "start"], | |
| "Phi-4 5.6B": [8, -12, "start"], | |
| "Moshi 7B": [-8, 12, "end"], | |
| "Freeze-Omni 7B": [8, -4, "start"], | |
| "Qwen2-Audio 8B": [8, 4, "start"], | |
| "GLM-4-Voice 9B": [8, 4, "start"], | |
| "MiniCPM-o 8B": [8, 4, "start"], | |
| "Kimi-Audio 7B": [-8, -6, "end"], | |
| "Qwen3-Omni 30B": [-8, 4, "end"], | |
| "DuplexJev 32B": [-10, -8, "end"] | |
| }; | |
| const OFFSETS_LAT = { | |
| "Rush-0.3B": [10, -8, "start"], | |
| "PersonaPlex 7B": [-10, 4, "end"], | |
| "Moshi 7B": [-10, 4, "end"], | |
| "Freeze-Omni 7B": [10, -4, "start"], | |
| "Sophon 32B": [-10, 4, "end"] | |
| }; | |
| const LABELED_MMSU = new Set(["Rush-0.3B", "Mini-Omni 0.5B", "Ultravox 1.2B", "Megrez 3B", "Phi-4 5.6B", "Qwen2-Audio 8B", "GLM-4-Voice 9B", "MiniCPM-o 8B", "Kimi-Audio 7B", "Qwen3-Omni 30B"]); | |
| const svg = document.getElementById("scatter"); | |
| const tooltip = document.getElementById("tooltip"); | |
| const legendEl = document.getElementById("chart-legend"); | |
| const footerEl = document.getElementById("chart-footer"); | |
| const W = 760, H = 355; | |
| const pad = { l: 56, r: 28, t: 24, b: 42 }; | |
| const xMin = Math.log10(0.22), xMax = Math.log10(45); | |
| const xScale = p => pad.l + ((Math.log10(p) - xMin) / (xMax - xMin)) * (W - pad.l - pad.r); | |
| const yLogMin = Math.log10(15), yLogMax = Math.log10(1800); | |
| let currentMetric = "mmsu"; | |
| function yScale(v) { | |
| if (currentMetric === "latency") { | |
| return H - pad.b - ((Math.log10(v) - yLogMin) / (yLogMax - yLogMin)) * (H - pad.t - pad.b); | |
| } | |
| const yLo = 15, yHi = 75; | |
| return H - pad.b - ((v - yLo) / (yHi - yLo)) * (H - pad.t - pad.b); | |
| } | |
| function el(tag, attrs = {}, text = null) { | |
| const n = document.createElementNS("http://www.w3.org/2000/svg", tag); | |
| for (const [k, v] of Object.entries(attrs)) n.setAttribute(k, v); | |
| if (text !== null) n.textContent = text; | |
| return n; | |
| } | |
| function latMarker(kind) { | |
| if (!kind) return "circle"; | |
| if (kind.startsWith("Audio TTFT")) return "circle"; | |
| if (kind.startsWith("FDB stop")) return "square"; | |
| return "diamond"; | |
| } | |
| function appendMark(parent, cx, cy, r, color, shape, strokeW) { | |
| if (shape === "square") { | |
| const s = r * 1.7; | |
| parent.appendChild(el("rect", { x: cx - s/2, y: cy - s/2, width: s, height: s, fill: color, stroke: "var(--background)", "stroke-width": strokeW })); | |
| } else if (shape === "diamond") { | |
| const s = r * 1.35; | |
| parent.appendChild(el("polygon", { points: `${cx},${cy-s} ${cx+s},${cy} ${cx},${cy+s} ${cx-s},${cy}`, fill: color, stroke: "var(--background)", "stroke-width": strokeW })); | |
| } else { | |
| parent.appendChild(el("circle", { cx, cy, r, fill: color, stroke: "var(--background)", "stroke-width": strokeW })); | |
| } | |
| return parent.lastChild; | |
| } | |
| function setChrome() { | |
| if (currentMetric === "latency") { | |
| legendEl.innerHTML = ` | |
| <span><span class="swatch" style="background:var(--chart-1)"></span>Rush-0.3B (Audio TTFT p50)</span> | |
| <span><span class="swatch sq" style="background:var(--chart-2)"></span>FDB stop latency</span> | |
| <span><span class="swatch dia" style="background:var(--chart-2)"></span>Reported latency</span>`; | |
| footerEl.textContent = "X-axis: LLM parameters (log). Y-axis: latency in ms (log, lower is better). Rush-0.3B is Audio TTFT p50 on RTX 4090 BF16 (2.0 s audio): 28.47 ms. Peer full-duplex points are from the project comparison chart and were not re-measured here: Moshi 1,160 ms and Freeze-Omni 1,420 ms are FDB stop latency, not TTFT; PersonaPlex 205 ms and Sophon-Realtime 280 ms are reported latency on that chart. These are not the same protocol. This plot does not include a 0.8B sibling."; | |
| } else { | |
| legendEl.innerHTML = ` | |
| <span><span class="swatch" style="background:var(--chart-1)"></span>Rush-0.3B</span> | |
| <span><span class="swatch" style="background:var(--chart-2)"></span>Full-duplex peers</span> | |
| <span><span class="swatch" style="background:var(--chart-4)"></span>Omni / audio LLM</span>`; | |
| footerEl.textContent = "X-axis: LLM parameters (log scale). Y-axis: VoiceBench MMSU (higher is better). Dashed line = undominated open frontier. Error bar on Rush-0.3B is the 95% Wilson interval (43.08–46.59). This plot does not include OpenBookQA, AdvBench, three-metric averages, or a 0.8B sibling."; | |
| } | |
| } | |
| function draw() { | |
| svg.innerHTML = ""; | |
| const isLat = currentMetric === "latency"; | |
| setChrome(); | |
| const yTicks = isLat ? [20, 50, 100, 200, 500, 1000, 1500] : [20, 30, 40, 50, 60, 70]; | |
| yTicks.forEach(t => { | |
| const y = yScale(t); | |
| svg.appendChild(el("line", { x1: pad.l, y1: y, x2: W - pad.r, y2: y, stroke: "var(--card-border)", "stroke-dasharray": "3,3" })); | |
| svg.appendChild(el("text", { x: pad.l - 8, y: y + 4, "text-anchor": "end", fill: "var(--muted-foreground)", "font-size": "11" }, isLat ? t + " ms" : t + "%")); | |
| }); | |
| [0.32, 0.5, 1, 3, 7, 10, 30].forEach(p => { | |
| const x = xScale(p); | |
| const isOurs = p === 0.32; | |
| svg.appendChild(el("line", { | |
| x1: x, y1: pad.t, x2: x, y2: H - pad.b, | |
| stroke: isOurs ? "var(--chart-1)" : "var(--card-border)", | |
| "stroke-opacity": isOurs ? "0.3" : "0.65", | |
| "stroke-dasharray": isOurs ? "4,3" : "2,4" | |
| })); | |
| svg.appendChild(el("text", { | |
| x, y: H - pad.b + 16, "text-anchor": "middle", | |
| fill: isOurs ? "var(--chart-1)" : "var(--muted-foreground)", | |
| "font-size": isOurs ? "10.5" : "11", | |
| "font-weight": isOurs ? "600" : "400" | |
| }, p === 0.32 ? "0.32B" : (p + "B"))); | |
| }); | |
| svg.appendChild(el("line", { x1: pad.l, y1: H - pad.b, x2: W - pad.r, y2: H - pad.b, stroke: "var(--border)" })); | |
| svg.appendChild(el("line", { x1: pad.l, y1: pad.t, x2: pad.l, y2: H - pad.b, stroke: "var(--border)" })); | |
| svg.appendChild(el("text", { x: (pad.l + W - pad.r) / 2, y: H - 6, "text-anchor": "middle", fill: "var(--muted-foreground)", "font-size": "11.5" }, "LLM Parameters (Billions, Log Scale)")); | |
| svg.appendChild(el("text", { x: 14, y: (pad.t + H - pad.b) / 2, "text-anchor": "middle", fill: "var(--muted-foreground)", "font-size": "11.5", transform: `rotate(-90 14 ${(pad.t + H - pad.b) / 2})` }, isLat ? "Latency (ms, log, lower is better)" : "VoiceBench MMSU (%)")); | |
| const active = MODELS.filter(m => m[currentMetric] != null); | |
| if (!isLat) { | |
| const sorted = [...active].sort((a, b) => a.params - b.params || b.mmsu - a.mmsu); | |
| const pareto = []; | |
| let best = -Infinity; | |
| for (const m of sorted) { | |
| if (m.mmsu > best) { pareto.push(m); best = m.mmsu; } | |
| } | |
| if (pareto.length >= 2) { | |
| const pts = pareto.map(m => `${xScale(m.params).toFixed(1)},${yScale(m.mmsu).toFixed(1)}`).join(" "); | |
| svg.appendChild(el("polyline", { points: pts, fill: "none", stroke: "var(--chart-1)", "stroke-width": "1.6", "stroke-dasharray": "5,4", "stroke-opacity": "0.65" })); | |
| } | |
| } | |
| const offsets = isLat ? OFFSETS_LAT : OFFSETS_MMSU; | |
| const ordered = [...active.filter(m => m.cat !== "ours"), ...active.filter(m => m.cat === "ours")]; | |
| for (const m of ordered) { | |
| const val = m[currentMetric]; | |
| const cx = xScale(m.params); | |
| const cy = yScale(val); | |
| const color = m.cat === "ours" ? "var(--chart-1)" : (m.cat === "fd" ? "var(--chart-2)" : "var(--chart-4)"); | |
| const r = m.cat === "ours" ? 7.5 : 5; | |
| const shape = isLat ? latMarker(m.latKind) : "circle"; | |
| if (m.cat === "ours") { | |
| svg.appendChild(el("circle", { cx, cy, r: 14, fill: "var(--chart-1)", "fill-opacity": "0.16" })); | |
| if (!isLat && m.mmsu_ci) { | |
| const yHi = yScale(m.mmsu_ci[1]), yLo = yScale(m.mmsu_ci[0]); | |
| svg.appendChild(el("line", { x1: cx, y1: yHi, x2: cx, y2: yLo, stroke: "var(--chart-1)", "stroke-width": "2.2", "stroke-opacity": "0.7" })); | |
| svg.appendChild(el("line", { x1: cx - 5, y1: yHi, x2: cx + 5, y2: yHi, stroke: "var(--chart-1)", "stroke-width": "1.8" })); | |
| svg.appendChild(el("line", { x1: cx - 5, y1: yLo, x2: cx + 5, y2: yLo, stroke: "var(--chart-1)", "stroke-width": "1.8" })); | |
| } | |
| } | |
| const g = el("g", { style: "cursor:pointer" }); | |
| const dot = appendMark(g, cx, cy, r, color, shape, m.cat === "ours" ? "2" : "1.2"); | |
| const showLabel = isLat || m.cat === "ours" || m.cat === "fd" || LABELED_MMSU.has(m.short); | |
| if (showLabel) { | |
| let [dx, dy, anchor] = offsets[m.short] || [8, 4, "start"]; | |
| let labelTxt; | |
| if (isLat) { | |
| const shortKind = m.latKind && m.latKind.startsWith("Audio TTFT") ? "TTFT" : (m.latKind && m.latKind.startsWith("FDB stop") ? "FDB stop" : "reported"); | |
| const num = m.latency >= 100 ? m.latency.toFixed(0) : m.latency.toFixed(2); | |
| labelTxt = m.cat === "ours" ? `${m.short}: ${num} ms ${shortKind}` : `${m.short} (${num} ms ${shortKind})`; | |
| } else { | |
| labelTxt = m.cat === "ours" ? `${m.short}: ${m.mmsu.toFixed(2)}%` : m.short; | |
| } | |
| g.appendChild(el("text", { | |
| x: cx + dx, y: cy + dy, "text-anchor": anchor, | |
| fill: m.cat === "ours" ? "var(--chart-1)" : "var(--muted-foreground)", | |
| "font-size": m.cat === "ours" ? "11.5" : "10.5", | |
| "font-weight": m.cat === "ours" ? "700" : "400" | |
| }, labelTxt)); | |
| } | |
| g.addEventListener("mouseenter", e => { | |
| if (dot.hasAttribute("r")) dot.setAttribute("r", r + 2); | |
| const rows = [["Parameters", `${m.params}B`]]; | |
| if (m.mmsu != null) rows.push(["MMSU", `${m.mmsu.toFixed(2)}%`]); | |
| if (m.mmsu_ci) rows.push(["95% Wilson CI", `${m.mmsu_ci[0]}–${m.mmsu_ci[1]}`]); | |
| if (m.latency != null) rows.push(["Latency", `${m.latency} ms`]); | |
| if (m.latKind) rows.push(["Latency metric", m.latKind]); | |
| if (m.notes) rows.push(["Notes", m.notes]); | |
| if (m.tps) rows.push(["Throughput / VRAM", `${m.tps} tok/s · ${m.vram} GB`]); | |
| if (m.echo_fpr) rows.push(["Echo FPR", m.echo_fpr]); | |
| if (m.zf != null) rows.push(["Zero-forgetting / duplex", `${m.zf ? "pure_text_max_abs_diff = 0.0" : "finetuned"} / ${m.fd ? "full-duplex" : "half-duplex"}`]); | |
| tooltip.innerHTML = `<div class="title">${m.name}</div><div class="grid">${rows.map(([k, v]) => `<span class="k">${k}</span><span>${v}</span>`).join("")}</div>`; | |
| tooltip.style.opacity = "1"; | |
| moveTip(e); | |
| }); | |
| g.addEventListener("mousemove", moveTip); | |
| g.addEventListener("mouseleave", () => { | |
| if (dot.hasAttribute("r")) dot.setAttribute("r", r); | |
| tooltip.style.opacity = "0"; | |
| }); | |
| svg.appendChild(g); | |
| } | |
| } | |
| function moveTip(e) { | |
| const tw = 300, th = 190; | |
| tooltip.style.left = Math.min(window.innerWidth - tw - 12, e.clientX + 14) + "px"; | |
| tooltip.style.top = Math.max(8, Math.min(window.innerHeight - th - 12, e.clientY - 20)) + "px"; | |
| } | |
| document.querySelectorAll(".tab-btn").forEach(btn => { | |
| btn.addEventListener("click", () => { | |
| currentMetric = btn.getAttribute("data-metric"); | |
| document.querySelectorAll(".tab-btn").forEach(b => b.classList.toggle("active", b === btn)); | |
| draw(); | |
| }); | |
| }); | |
| draw(); | |
| </script> | |
| </div> | |
| <h2>Architecture</h2> | |
| <p>Rush-0.3B attaches a residual DualFFN speech plugin to a frozen <a href="https://huggingface.co/taobao-mnn/MNN-Pocket-0.3B">MNN-Pocket-0.3B</a> text LLM (28-layer GQA, hidden size 896). The published 0.3B config uses a frozen 185M Qwen3-ASR encoder as the front-end. Parameter count is about 0.51B in total: 0.32B frozen text model + 185M frozen encoder + about 85M trainable DualFFN experts and heads.</p> | |
| <img class="arch" src="assets/architecture.png" alt="Rush-0.3B residual DualFFN routing, 6.25 Hz duplex speech head, and FastReflexHead"> | |
| <h3>Residual DualFFN routing</h3> | |
| <p>Every one of the 28 frozen MLP blocks is wrapped with a parallel trainable SwiGLU <code>audio_mlp</code> (<code>audio_ffn_dim=1024</code>). The audio <code>down_proj</code> is zero-initialized, so step 0 starts on the pretrained text manifold.</p> | |
| <ul> | |
| <li>Text and control tokens (<code>audio_mask</code> is false, or no mask): run only the frozen <code>text_mlp</code>. That is why <code>pure_text_max_abs_diff == 0.0</code>.</li> | |
| <li>Audio tokens (<code>audio_mask</code> is true): residual path <code>text_mlp(x) + audio_mlp(x)</code>. They inherit the frozen text FFN and add a dedicated audio expert.</li> | |
| </ul> | |
| <p>Attention, LayerNorms, and base vocabulary rows 0–65,535 stay frozen. Because the MNN-Pocket tokenizer already fills the 65,536-row table, the embed and LM head are expanded to the next 16-aligned size, 65,552, and only the new duplex control-token rows receive gradients.</p> | |
| <h3>Duplex speech head (6.25 Hz)</h3> | |
| <p>The stream is strictly causal at 160 ms ticks (2,560 samples at 16 kHz, one audio token per tick). Mic audio and a TTS playback reference are encoded in parallel:</p> | |
| <p class="arch-eq">16 kHz PCM → frozen 185M Qwen3-ASR encoder at 12.5 Hz (d=896) → causal <code>stack=2</code> → 6.25 Hz features (d=1,792) → dual-channel projector <code>[h_mic; h_tts] → d=896</code> audio tokens.</p> | |
| <p>Each tick is one <code><|aud|></code> token plus one control token (12.5 tokens/s). Silence and ambient noise stay in the stream as active audio tokens. Control tokens include <code><|aud|></code>, <code><|listen|></code>, <code><|backchannel|></code>, <code><|barge_in|></code>, <code><|estop|></code>, <code><|tool_call|></code>, <code><|speak|></code>, <code><|eot|></code>, and speaker-conditioning tokens (<code><|spk_ref|></code>, <code><|spk_lock|></code>, <code><|spk_release|></code>, <code><|spk_switch|></code>).</p> | |
| <h3>FastReflexHead</h3> | |
| <p>FastReflexHead is a ~0.8M-parameter classifier mounted directly on the concatenated encoder features <code>[h_mic; h_tts]</code>. It does not run the 28-layer LLM. The head is LayerNorm → Linear → SiLU → Linear → SiLU → Linear, producing four logits every 160 ms tick:</p> | |
| <ol> | |
| <li>end-of-utterance (<code><|speak|></code> / <code><|tool_call|></code>)</li> | |
| <li>barge-in (<code><|barge_in|></code> / <code><|spk_switch|></code>)</li> | |
| <li>emergency stop (<code><|estop|></code>)</li> | |
| <li>echo or silence (TTS self-echo, silence, or a non-target speaker → ignore)</li> | |
| </ol> | |
| <p>Measured FastReflex p50 on an RTX 4090 is 0.151 ms. Semantic turn-taking is decided later, at the 6.25 Hz control tokens through the residual DualFFN path. Serve uses this as a two-stage gate: acoustic reflex first, then the LLM if needed.</p> | |
| <h2>VoiceBench MMSU (speech in, full set)</h2> | |
| <table> | |
| <thead> | |
| <tr><th>Model</th><th class="num">Params (B)</th><th class="num">MMSU</th><th>Notes</th></tr> | |
| </thead> | |
| <tbody> | |
| <tr><td><strong>Rush-0.3B</strong></td><td class="num"><strong>0.32</strong></td><td class="num"><strong>44.83</strong></td><td>n=3,074; 95% Wilson CI 43.08–46.59 (display 43.1–46.6)</td></tr> | |
| <tr><td>DuplexJev-4B-Para</td><td class="num">4</td><td class="num">41.3</td><td>Official, adventists-ai/duplexjev</td></tr> | |
| <tr><td>Phi-4-multimodal</td><td class="num">5.6</td><td class="num">42.19</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>GLM-4-Voice</td><td class="num">9</td><td class="num">39.75</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>Qwen2-Audio</td><td class="num">8.2</td><td class="num">35.72</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>Freeze-Omni</td><td class="num">7</td><td class="num">28.14</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>Moshi</td><td class="num">7</td><td class="num">24.04</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>MiniCPM-o 2.6</td><td class="num">8</td><td class="num">54.78</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>Kimi-Audio</td><td class="num">7</td><td class="num">62.17</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>Qwen3-Omni-30B-A3B</td><td class="num">30</td><td class="num">68.10</td><td>Public VoiceBench figure</td></tr> | |
| <tr><td>DuplexJev-32B-Para</td><td class="num">32</td><td class="num">70.8</td><td>Official, adventists-ai/duplexjev</td></tr> | |
| </tbody> | |
| </table> | |
| <p>Peer point estimates come from the project comparison table (not re-fetched from the official leaderboard in this snapshot), except DuplexJev MMSU, which was checked against the official README.</p> | |
| <h2>RTX 4090, BF16 (2.0 s audio)</h2> | |
| <table> | |
| <thead><tr><th>Metric</th><th>Rush-0.3B</th></tr></thead> | |
| <tbody> | |
| <tr><td>Audio TTFT p50</td><td>28.47 ms</td></tr> | |
| <tr><td>Decode throughput</td><td>79.65 tok/s</td></tr> | |
| <tr><td>Peak VRAM</td><td>1.12 GB</td></tr> | |
| <tr><td>FastReflex</td><td>0.151 ms</td></tr> | |
| <tr><td>Residual TTS self-echo FPR</td><td>0.00% (0/32)</td></tr> | |
| </tbody> | |
| </table> | |
| <h2>Apple Silicon MLX (user-stated Apple M6, 16 GB / copizza5)</h2> | |
| <p>From <code>mlx_m6_tps_bench.json</code> (<code>compiled=true</code>). The JSON has no chip field; the chip label is the authors' statement. 213.0 MB is core weights, not peak memory.</p> | |
| <table> | |
| <thead> | |
| <tr><th>Precision</th><th class="num">Weights</th><th class="num">Decode</th><th class="num">Audio prefill p50</th><th class="num">FastReflex</th><th class="num">Peak memory</th></tr> | |
| </thead> | |
| <tbody> | |
| <tr><td>FP16</td><td class="num">751.4 MB</td><td class="num">188.3 tok/s</td><td class="num">3.50 ms</td><td class="num">0.147 ms</td><td class="num">1128.2 MB</td></tr> | |
| <tr><td>W8, group size 64</td><td class="num">400.3 MB</td><td class="num">284.5 tok/s</td><td class="num">2.76 ms</td><td class="num">0.118 ms</td><td class="num">1152.1 MB</td></tr> | |
| <tr><td>W4, group size 64</td><td class="num">213.0 MB</td><td class="num">388.9 tok/s</td><td class="num">2.48 ms</td><td class="num">0.116 ms</td><td class="num">1152.1 MB</td></tr> | |
| </tbody> | |
| </table> | |
| <p>A comparison of MLX W4 388.9 tok/s with the 4090 BF16 79.65 tok/s figure is 4-bit versus BF16 on different devices, not a same-setting speedup.</p> | |
| <h2>Speech-to-decision (Rush-Jev-0.3B)</h2> | |
| <p>Ten-decision P50 latency is 110.4 ms on a consumer RTX 4090, with 96.00% ten-way accuracy / F1 0.9506 / ECE 0.0179, from project verifier measurements that should be independently reproduced. This is in the same latency range as official DuplexJev datacenter-GPU figures, at much lower VRAM (1.17 GB). It is not a claim of beating an H200. Official DuplexJev also reports a packed “10 decisions in 92 ms” line on an H200 that is not labeled as the 4B number in their README.</p> | |
| <h2>Base model</h2> | |
| <p>Rush-0.3B is built on <a href="https://huggingface.co/taobao-mnn/MNN-Pocket-0.3B">MNN-Pocket-0.3B</a> from the MNN Team at the Taobao and Tmall Group of Alibaba (Apache 2.0). Please cite their technical report, <a href="https://arxiv.org/abs/2611.12311">arXiv:2611.12311</a>.</p> | |
| <section class="zh" lang="zh"> | |
| <h2>中文摘要</h2> | |
| <p>Rush-0.3B 是一个 0.32B 的端侧原生全双工语音模型,架构为 residual DualFFN。本页默认英文。图和表格只公布 VoiceBench MMSU 全集:44.83(n=3,074,95% Wilson 区间 43.08–46.59)。训练权重尚未上传。模型卡:<a href="https://huggingface.co/swmt/Rush-0.3B">swmt/Rush-0.3B</a>。代码:<a href="https://github.com/Shiyao-Huang/rush">Shiyao-Huang/rush</a>。文本基座是阿里巴巴淘天集团 MNN Team 的 MNN-Pocket-0.3B(Apache 2.0)。 结构上,它在冻结的 MNN-Pocket-0.3B(28 层 GQA)上接入 residual DualFFN:音频 token 走 `text_mlp + audio_mlp`,纯文本只走冻结的 `text_mlp`,因此 `pure_text_max_abs_diff == 0.0`。前端是冻结的 185M Qwen3-ASR 编码器,12.5 Hz 再 stack 到 6.25 Hz(每 160 ms 一拍)。双工语音头包含双通道 `[mic; tts]` 投影,以及约 0.8M 的 FastReflexHead——不经过 28 层 LLM,每拍输出 end-of-utterance、插话、紧急停止、回声/静音四个反射通道(4090 上 p50 为 0.151 ms)。帕里托可视化现含 MMSU 与延迟两张图。延迟图中 Rush-0.3B 为 RTX 4090 上的 Audio TTFT p50(28.47 ms);同行全双工点来自项目对照图(Moshi 1,160 ms 与 Freeze-Omni 1,420 ms 为 FDB 停说延迟,与 TTFT 不是同一口径;PersonaPlex 205 ms 与 Sophon-Realtime 280 ms 为该图上的报告延迟),本页未重测。</p> | |
| </section> | |
| <footer>License: Apache 2.0. The text backbone MNN-Pocket-0.3B is also Apache 2.0.</footer> | |
| </main> | |
| </body> | |
| </html> | |