Sophon-Realtime
Sophon-Realtime is an open family of full-duplex voice models that listen while you speak, understand cues such as emotion and laughter, and generate speech with tone. It supports tone-aware interaction and zero-shot voice cloning.
Visit adventists-ai/sophon-realtimeOverview
Sophon-Realtime is an open full-duplex voice model family: it listens while the user speaks, detects paralinguistic cues such as emotion, emphasis, sarcasm, laughter and sighs, and generates speech that carries tone back. The family includes Tag, Flash and E2E builds sharing the same brain, with 32B and 4B variants for different hardware and performance needs.
Key Features
- Full-duplex conversation: listens throughout speech, handles turn-taking and pauses, and stops when the user cuts in.
- Paralinguistic understanding: hears emotion, emphasis, sarcasm, laughter and sighs directly from voice.
- Tone-aware generation: decides when to laugh, sigh, breathe or clear its throat, and the voice performs the sound instead of reading a tag aloud.
- Tag, Flash and E2E builds share one brain; choose expressive voice, high concurrency, or fastest first audio, with 32B and 4B variants.
- Multilingual support: Chinese and English plus Italian, German, Spanish, French and Portuguese out of the box; Japanese and Russian on selected builds, with Korean planned.
- Zero-shot voice cloning from a few seconds of audio, plus OpenAI Realtime and GPT-Live compatibility and Live mode delegation to a backend.
Use Cases
- Expressive voice companions, characters and demos that need laughter, sighs and other non-verbal sounds.
- Customer service, in-car voice interfaces and other high-concurrency deployments where many users per GPU matter.
- Voice agents that keep talking while a backend performs lookups or actions and then speaks the result.
- Local experimentation and fine-tuning on a consumer GPU or Apple silicon Mac.
Getting Started
- Try the browser demo on Hugging Face Spaces, call +1 650-547-4466, or use the hosted API trial; these paths do not require a local GPU.
- For the Tag build, install with pip install "sophon-realtime[trt]" on Python 3.12 Linux with CUDA 13, then run sophon-realtime serve; the first run downloads the 32B Tag weights.
- For 4B Flash, clone the repository, run install.sh in flash/, download Sophon-Realtime-4B-Flash weights, start with GPU=0 PORT=8000 bash start.sh, and test with client_example.py.
- On Apple silicon, run mac/install.sh; for a 16 GB Mac use SIZE=4B bash mac/install.sh, then launch ~/sophon-mac/sophon --lang en.
- To adapt the model, follow the 4B fine-tuning guide or use ms-swift LoRA for 32B or 4B builds.
Deployment & Requirements
- 32B Tag and Flash builds require one 80 GB GPU and are served by vLLM-Omni with one command; up to 16 concurrent users per GPU for Tag/E2E and 40 for Flash.
- 4B builds fit on one consumer GPU: Tag-4B uses about 27 GB on a 32 GB GPU, Flash-4B about 21 GB on a 24 GB GPU, and E2E-4B about 31 GB on a 32 GB GPU.
- Mac support uses Apple silicon with MLX; 36 GB+ unified memory is recommended, while 16 GB Macs can run the 4B build.
- The pip quick start targets Python 3.12 on Linux with CUDA 13; TensorRT is recommended for performance.
Before You Adopt
- License: Apache-2.0. Review its terms before using, modifying, or distributing the project.
- Performance and quality depend on the use case and language; benchmarks are not a guarantee.
- Voice cloning should be limited to voices you own or have permission to use and must not be used for impersonation or deception.
- Live mode delegation requires a 32B build; 4B builds do not yet support delegation.
- TensorRT is an external dependency for the recommended performance profile; without it the voice runs in plain PyTorch and is slower under load.