Decoupled Cognitive Shunt Voice Architecture (CSVA) — v1.3
Model Links: Talker: OpenIntelligenceNet/LFM3-Omni-2B-Uncensored (FP16 via Transformers/PyTorch on CUDA) Thinker: Qwen2.5-7B-Instruct-Uncensored (Q4_K_M GGUF) The Problem: 2B omni-modal audio models talk fast with natural inflection but lack complex reasoning; 7B+ text models think well but typical cascaded pipelines (STT
The Solution: A decoupled bridge that shunts transcription from LFM3-Omni directly into an external llama-server running Qwen 2.5 7B, then streams text deltas back via regex sentence boundaries to LFM3 for real-time acoustic code generation.
ASCII Flowchart:
[User Mic (24 kHz)] │ (Web VAD: RMS > 0.020, 900ms ) │ [bridge_native.py] (Port 8082) │ ┌─────┴────────────────────────────────────────────────┐ │ LFM3-Omni: Transcribe audio buffer (16 kHz) │ └─────┬────────────────────────────────────────────────┘ │ Transcript Text ▼ ┌──────────────────────────────────────────────────────┐ │ COGNITIVE SHUNT: llama-server.exe (Port 8083) │ │ Qwen 2.5 7B Q4_K_M (SSE streaming tokens) │ └─────┬────────────────────────────────────────────────┘ │ Text deltas streamed back ▼ ┌──────────────────────────────────────────────────────┐ │ Sentence Regex Demarcation (. ? !) │ └─────┬────────────────────────────────────────────────┘ │ Sentence 1, 2, ... ▼ ┌──────────────────────────────────────────────────────┐ │ LFM3-Omni: Synthesize 24 kHz acoustic codes │ └─────┬────────────────────────────────────────────────┘ │ Base64 PCM16 chunks ▼ [Web Audio FIFO Queue (Thorium Browser)] (Immediate playback of Sentence 1 while 2 & 3 synthesize)
Hardware & Benchmarks:
GPU: NVIDIA GeForce RTX 5060 Ti (16 GB VRAM) VRAM Footprint: ~11.9 GB – 12.1 GB steady state across both models Audio: 24 kHz capture and playback; 16 kHz resampled ASR; sentence-level FIFO buffering hiding synthesis latency.
Prerequisites & Quickstart:
- Run run_qwn_reasoner.bat to start llama-server.exe on port 8083.
- Run run_console.bat to launch bridge_native.py on port 8082.
- Open http://localhost:8082 in Thorium, Chrome, or any Chromium browser.