Skip to content

Open full-duplex voice models that hear your tone and speak with one. One GPU with vLLM-Omni, or fully offline on a Mac with MLX. Zero-shot voice cloning, OpenAI Realtime / GPT-Live compatible, free hosted API trial. Apache-2.0.

README: 4B quick start, 4B fine-tuning, drop duplicate Live command and old 'new in' labels

Claude6bcdaea8babe
diff --git a/README.md b/README.md
index 01b7228..3dfba5a 100644
--- a/README.md
+++ b/README.md
@@ -78,15 +78,15 @@ https://github.com/user-attachments/assets/1d9442ef-84b0-45a3-acd4-2d05a9562397
- **2026-11-29 · Fine-tune the 4B:** adapt Sophon-Realtime-4B to your persona or domain with ms-swift on one GPU (~12 GB), merge on CPU and serve it with the same builds; the 4B tag LoRA is now published. [Guide](finetune/README.md#7-4b-builds-sophon-realtime-4b-tag---flash---e2e)
- **2026-11-24 · Try it on Hugging Face:** talk to Sophon-Realtime in your browser, no GPU and no sign-up: interrupt it, laugh with it, turn on your camera. [Hugging Face Space](https://huggingface.co/spaces/adventists-ai/Sophon-Realtime)
- **2026-11-19 · SillyTavern plugin:** call your character in real time from SillyTavern, with interruptions, a cloned voice per character and the call written back into the chat; your own GPU (4B on one 24 GB card) or the API. [sophon-sillytavern](https://github.com/adventists-ai/sophon-sillytavern) · [demo](https://x.com/BKJinAI/status/2123275865257807933)
-- **2026-11-18 · v1.5: 4B on smaller machines** — [Tag-4B-W4](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Tag-W4) runs on one 24 GB GPU (4-bit brain, about 21 GB; speech and sound tags unchanged), and [Mac 4B](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Flash-MLX) on Apple silicon Macs with 16 GB (MLX; it starts speaking 0.3–0.5 s after you stop). [Details](#smaller-machines-new-in-15)
-- **2026-11-16 · v1.4: Sophon-Realtime 4B** — Tag, Flash and E2E with a 4B brain, on one consumer GPU (Flash 24 GB; Tag and E2E 32 GB). Full-duplex turn-taking and sound tags carry over (Full-Duplex-Bench v1.0, official scoring: Tag 98.2, E2E 98.6, Flash 96.3); much less knowledge than 32B (VoiceBench 62.4). [Details](#4b-builds-new-in-14) · [Tag](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Tag) · [Flash](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Flash) · [E2E](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-E2E)
+- **2026-11-18 · v1.5: 4B on smaller machines** — [Tag-4B-W4](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Tag-W4) runs on one 24 GB GPU (4-bit brain, about 21 GB; speech and sound tags unchanged), and [Mac 4B](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Flash-MLX) on Apple silicon Macs with 16 GB (MLX; it starts speaking 0.3–0.5 s after you stop). [Details](#smaller-machines)
+- **2026-11-16 · v1.4: Sophon-Realtime 4B** — Tag, Flash and E2E with a 4B brain, on one consumer GPU (Flash 24 GB; Tag and E2E 32 GB). Full-duplex turn-taking and sound tags carry over (Full-Duplex-Bench v1.0, official scoring: Tag 98.2, E2E 98.6, Flash 96.3); much less knowledge than 32B (VoiceBench 62.4). [Details](#4b-builds) · [Tag](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Tag) · [Flash](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-Flash) · [E2E](https://huggingface.co/adventists-ai/Sophon-Realtime-4B-E2E)
<details><summary>Older news</summary>
- **2026-11-14 · Try it without a GPU:** hosted API, OpenAI Realtime-compatible, with all three builds; sign up and get 3 hours of free voice chat. [Console](https://api.adventists.ai/console/) · [API docs](https://api.adventists.ai/console/docs)
- **2026-11-13 · Sophon-Realtime on Mac:** Flash-4bit runs locally on Apple silicon (MLX, 36 GB+ recommended), full duplex with turn-taking, barge-in and echo cancellation; it starts speaking about 1 s after you stop. [mac/](mac/README.md) · [weights](https://huggingface.co/adventists-ai/Sophon-Realtime-32B-Flash-4bit-MLX)
- **2026-11-13 · v1.2: long replies are spoken to the end** in Tag, Flash and E2E, however long they are; plus **Flash-4bit** for one 32 GB GPU. [Release notes](https://github.com/adventists-ai/sophon-realtime/releases/tag/v1.2.0) · [Flash-4bit](flash/README.md#flash-4bit-one-32-gb-gpu)
-- **2026-11-11 · v1.1: zero-shot voice cloning** in Tag and Flash: a few seconds of audio and it talks to you in that voice, in real time. [Watch the demo](#zero-shot-voice-cloning-new-in-v11)
+- **2026-11-11 · v1.1: zero-shot voice cloning** in Tag and Flash: a few seconds of audio and it talks to you in that voice, in real time. [Watch the demo](#zero-shot-voice-cloning)
- **2026-11-11 · E2E becomes a full build on one GPU**, with first audio in about 0.25 s; it can also be served by vLLM-Omni like Tag and Flash. [Details](#e2e)
- **2026-11-09 · Try it online** on [ModelScope Studio](https://www.modelscope.ai/studios/AdventistsAI/Sophon-Realtime), and **Live mode** (OpenAI GPT-Live compatible: hands lookups to your own backend while it keeps talking) is open source. [Live mode](live/README.md)
- **2026-11-08 · v1.0:** first open-source release of the Tag, Flash and E2E builds.
@@ -114,7 +114,7 @@ All three builds share the same brain: one 32B model that listens to your voice,
**Which one?** Start with **Tag** if you want the voice to act. Pick **Flash** if the number of users per GPU matters most. Pick **E2E** for the fastest first audio with a voice that still laughs and sighs. Tag and Flash share the same APIs, so you can switch later; E2E runs on its own engine or, since 1.1.4, on vLLM-Omni with the same APIs as Tag and Flash.
-### 4B builds (new in 1.4)
+### 4B builds
The same three builds with a 4B brain ([DuplexJev-4B-Para](https://huggingface.co/adventists-ai/DuplexJev-4B-Para) with a tag-writing adapter), for one consumer GPU. The speech stages and voices are the same as in the 32B builds; there is no image input.
@@ -128,7 +128,7 @@ The same three builds with a 4B brain ([DuplexJev-4B-Para](https://huggingface.c
The 4B brain keeps the conversation skills (turn-taking, back-channels, barge-in, sound tags at the same rate as the reference data) but knows and reasons much less: VoiceBench 62.4 (32B: 82.8), Big Bench Audio 44.3% (32B: 81.8%). Use it for local demos, companions and characters, and turn-taking research; use 32B or the [hosted API](https://api.adventists.ai/console/) when answers must be right. **The 4B builds do not support tool calling** (it answers instead of calling the tool; see [#20](https://github.com/adventists-ai/sophon-realtime/issues/20)); for tools and Live mode delegation, use a 32B build. `start.sh` sees a 4B model and picks its config.
-#### Smaller machines (new in 1.5)
+#### Smaller machines
| | **Tag-4B-W4** | **Mac 4B** (Flash-4B on MLX) |
|---|---|---|
@@ -185,6 +185,16 @@ GPU=0 PORT=8000 bash start.sh
python client_example.py --wav my_question.wav --lang en
```
+**4B on one 24 GB GPU** (Flash-4B, uses about 21 GB):
+
+```bash
+cd sophon-realtime/flash
+bash install.sh
+modelscope download --model AdventistsAI/Sophon-Realtime-4B-Flash --local_dir ./model # or: hf download adventists-ai/Sophon-Realtime-4B-Flash --local-dir ./model
+GPU=0 PORT=8000 bash start.sh # sees the 4B model and picks its config
+python client_example.py --wav my_question.wav --lang en --voice chelsie
+```
+
**Flash** (one 80 GB GPU):
```bash
@@ -206,11 +216,7 @@ cd sophon-realtime && bash mac/install.sh # environment + Sophon-Realtime-32B-
Details: [mac/README.md](mac/README.md).
-**Optional: Live mode** (OpenAI GPT-Live compatible, see [live/](live/README.md)), next to a running engine:
-
-```bash
-cd sophon-realtime/live && BUILD=tag PORT=8000 LIVE_PORT=8780 bash start_live.sh # GPT-Live clients: ws://HOST:8780/v1/live/sessions
-```
+**Live mode** (GPT-Live compatible, delegation to your backend): see [Live mode](#live-mode-openai-gpt-live-compatible) below.
## Live mode (OpenAI GPT-Live compatible)
@@ -245,7 +251,7 @@ cd ../live && BUILD=tag PORT=8000 LIVE_PORT=8780 bash start_live.sh
Live mode needs a 32B build: the 4B builds do not delegate yet. Protocol coverage, keys, the `say` extension, framework examples and limits: [live/README.md](live/README.md).
-## Zero-shot voice cloning (new in v1.1)
+## Zero-shot voice cloning
Give Sophon a few seconds of someone's voice and it talks to you in that voice, in real time. No fine-tuning, no restart, one GPU. Works in the Tag and Flash builds, and in E2E since 1.3.0.
@@ -279,7 +285,7 @@ E2E can be served in two ways, with the same weights and the same voice: by our
## Fine-tuning
-Adapt the brain (persona, tone, domain knowledge, tool use) with LoRA in [ms-swift](https://github.com/modelscope/ms-swift) on one 80 GB GPU. The voice, expressive sound tags and turn-taking are kept. See [finetune/](finetune/README.md).
+Adapt the brain (persona, tone, domain knowledge, tool use) with LoRA in [ms-swift](https://github.com/modelscope/ms-swift): the 32B brain on one 80 GB GPU, the 4B brain on one 24 GB GPU (about 12 GB in training; merge on CPU). The voice, expressive sound tags and turn-taking are kept. See [finetune/](finetune/README.md).
## Integrations
diff --git a/README_CN.md b/README_CN.md
index e2ab921..95cbca9 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -77,15 +77,15 @@ https://github.com/user-attachments/assets/4d6c74f5-3bbf-4dc2-8b11-f90ff85de4a2
- **2026-11-29 · 4B 可以微调了**:用 ms-swift 单卡(约 12 GB)把 Sophon-Realtime-4B 调成你的人设或业务,CPU 上合并,用原来的版本直接部署;4B 写标签 LoRA 已公开。[微调指南](finetune/README_CN.md#7-4b-版sophon-realtime-4b-tag---flash---e2e)
- **2026-11-24 · Hugging Face 在线体验上线**:浏览器里直接和智子对话,不用显卡、不用注册;可以随时打断、逗她笑、打开摄像头。[Hugging Face Space](https://huggingface.co/spaces/adventists-ai/Sophon-Realtime)
- **2026-11-19 · 酒馆(SillyTavern)插件**:在酒馆里和角色实时通话,可以随时打断,每个角色一个(可克隆的)声音,通话内容写回聊天;用自己的显卡(4B 一张 24 GB 卡)或 API。[sophon-sillytavern](https://github.com/adventists-ai/sophon-sillytavern) · [演示](https://x.com/BKJinAI/status/2123275865257807933)
-- **2026-11-18 · v1.5:4B 版上更小的机器**——[Tag-4B-W4](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Tag-W4) 一张 24 GB 显卡就能跑(4 位大脑,占用约 21 GB;语音和声音标签不变),[Mac 4B 版](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Flash-MLX) 16 GB 内存的 Apple 芯片 Mac 就能跑(MLX;你说完 0.3–0.5 秒开口)。[详情](#更小的机器15-新增)
-- **2026-11-16 · v1.4:Sophon-Realtime 4B 版**——Tag、Flash、E2E 换上 4B 大脑,一张消费级显卡就能跑(Flash 24 GB;Tag、E2E 32 GB)。全双工接话和声音标签保留(Full-Duplex-Bench v1.0 官方计分:Tag 98.2、E2E 98.6、Flash 96.3);知识比 32B 少很多(VoiceBench 62.4)。[详情](#4b-版14-新增) · [Tag](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Tag) · [Flash](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Flash) · [E2E](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-E2E)
+- **2026-11-18 · v1.5:4B 版上更小的机器**——[Tag-4B-W4](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Tag-W4) 一张 24 GB 显卡就能跑(4 位大脑,占用约 21 GB;语音和声音标签不变),[Mac 4B 版](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Flash-MLX) 16 GB 内存的 Apple 芯片 Mac 就能跑(MLX;你说完 0.3–0.5 秒开口)。[详情](#更小的机器)
+- **2026-11-16 · v1.4:Sophon-Realtime 4B 版**——Tag、Flash、E2E 换上 4B 大脑,一张消费级显卡就能跑(Flash 24 GB;Tag、E2E 32 GB)。全双工接话和声音标签保留(Full-Duplex-Bench v1.0 官方计分:Tag 98.2、E2E 98.6、Flash 96.3);知识比 32B 少很多(VoiceBench 62.4)。[详情](#4b-版) · [Tag](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Tag) · [Flash](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-Flash) · [E2E](https://www.modelscope.cn/models/AdventistsAI/Sophon-Realtime-4B-E2E)
<details><summary>更早的进展</summary>
- **2026-11-14 · 没有显卡也能用**:在线 API 开放试用,兼容 OpenAI Realtime,三个版本都能调用;注册就送 3 小时免费对话。[控制台](https://api.adventists.cn/console/) · [接口文档](https://api.adventists.cn/console/docs)
- **2026-11-13 · Mac 版上线**:Flash-4bit 可以在 Apple 芯片的 Mac 上本地运行(MLX,推荐 36 GB 及以上内存),全双工,支持话轮判断、打断和回音消除;你说完约 1 秒开口。[mac/](mac/README_CN.md) · [权重](https://modelscope.cn/models/AdventistsAI/Sophon-Realtime-32B-Flash-4bit-MLX)
- **2026-11-13 · v1.2:长回复完整说完**,Tag、Flash、E2E 三个版本都不再限制语音时长;同时发布 **Flash-4bit**,一张 32 GB 显卡就能跑。[发布说明](https://github.com/adventists-ai/sophon-realtime/releases/tag/v1.2.0) · [Flash-4bit](flash/README_CN.md#flash-4bit一张-32-gb-显卡)
-- **2026-11-11 · v1.1:零样本声音克隆**,Tag 版和 Flash 版均已支持。几秒钟的录音,就能用这个声音和你实时对话。[看演示视频](#零样本声音克隆v11-新增)
+- **2026-11-11 · v1.1:零样本声音克隆**,Tag 版和 Flash 版均已支持。几秒钟的录音,就能用这个声音和你实时对话。[看演示视频](#零样本声音克隆)
- **2026-11-11 · E2E 成为正式版本,单卡即可运行**,单路首包约 0.25 秒;也能像 Tag、Flash 一样用 vLLM-Omni 部署。[详情](#e2e)
- **2026-11-09 · 在线体验上线**:[魔搭创空间](https://www.modelscope.cn/studios/AdventistsAI/Sophon-Realtime);**Live 模式**同步开源(兼容 OpenAI GPT-Live,查询类任务交给你自己的后端,边说边等结果)。[Live 模式](live/README_CN.md)
- **2026-11-08 · v1.0:** Tag、Flash、E2E 三个版本首次开源发布。
@@ -113,7 +113,7 @@ https://github.com/user-attachments/assets/4d6c74f5-3bbf-4dc2-8b11-f90ff85de4a2
**怎么选?** 想让声音"会演",先用 **Tag**;最看重单卡能接多少人,用 **Flash**;想要最快的首包、同时保留会笑会叹气的表现力,用 **E2E**。Tag 和 Flash 接口相同,之后可以随时切换;E2E 用自研引擎,1.1.4 起也可以用 vLLM-Omni 部署(接口与 Tag、Flash 相同)。
-### 4B 版(1.4 新增)
+### 4B 版
同样三个版本,换上 4B 大脑([DuplexJev-4B-Para](https://www.modelscope.cn/models/AdventistsAI/DuplexJev-4B-Para) 加写标签的适配器),一张消费级显卡就能跑。发声部分和音色与 32B 版相同;不收图片。
@@ -127,7 +127,7 @@ https://github.com/user-attachments/assets/4d6c74f5-3bbf-4dc2-8b11-f90ff85de4a2
4B 大脑保留了对话能力(接话、附和、被打断就停、声音标签比例和标准答案一样),但知识和推理弱很多:VoiceBench 62.4(32B:82.8),Big Bench Audio 44.3%(32B:81.8%)。适合本地演示、陪伴和角色对话、话轮研究;需要回答准确时用 32B 版或[在线 API](https://api.adventists.cn/console/)。**4B 版目前不支持工具调用**(该调工具时它不会调用,见 [#20](https://github.com/adventists-ai/sophon-realtime/issues/20));要用工具或 Live 模式的委派,请用 32B 版。`start.sh` 识别到 4B 模型会自动选它的配置。
-#### 更小的机器(1.5 新增)
+#### 更小的机器
| | **Tag-4B-W4** | **Mac 4B 版**(Flash-4B 的 MLX 版) |
|---|---|---|
@@ -184,6 +184,16 @@ GPU=0 PORT=8000 bash start.sh
python client_example.py --wav my_question.wav --lang zh
```
+**4B 版,一张 24 GB 显卡**(Flash-4B,占用约 21 GB):
+
+```bash
+cd sophon-realtime/flash
+bash install.sh
+modelscope download --model AdventistsAI/Sophon-Realtime-4B-Flash --local_dir ./model
+GPU=0 PORT=8000 bash start.sh # 识别到 4B 模型会自动选它的配置
+python client_example.py --wav my_question.wav --lang zh --voice chelsie
+```
+
**Flash**(一张 80 GB 显卡):
```bash
@@ -205,11 +215,7 @@ cd sophon-realtime && bash mac/install.sh # 安装环境并下载 Sophon-Realt
详见 [mac/README_CN.md](mac/README_CN.md)。
-**可选:开启 Live 模式**(兼容 OpenAI GPT-Live,见 [live/](live/README_CN.md)),在已启动的引擎旁边运行:
-
-```bash
-cd sophon-realtime/live && BUILD=tag PORT=8000 LIVE_PORT=8780 bash start_live.sh # GPT-Live 客户端连 ws://HOST:8780/v1/live/sessions
-```
+**Live 模式**(兼容 GPT-Live,把查询委派给你的后端):见下方 [Live 模式](#live-模式兼容-openai-gpt-live)。
## Live 模式(兼容 OpenAI GPT-Live)
@@ -244,7 +250,7 @@ cd ../live && BUILD=tag PORT=8000 LIVE_PORT=8780 bash start_live.sh
Live 模式要用 32B 版,4B 版暂不支持委派。协议覆盖范围、key、`say` 扩展、框架示例和已知局限见 [live/README_CN.md](live/README_CN.md)。
-## 零样本声音克隆(v1.1 新增)
+## 零样本声音克隆
给智子几秒钟的录音,它就用这个声音和你实时对话。无需微调,无需重启,一张卡。Tag 版和 Flash 版均已支持,E2E 版 1.3.0 起也支持。
@@ -278,7 +284,7 @@ E2E 版有两种部署方式,权重相同、声音相同:自研引擎([doc
## 微调
-可以在一张 80 GB 显卡上用 [ms-swift](https://github.com/modelscope/ms-swift) 以 LoRA 方式调整大脑(人设、语气、领域知识、工具调用),声音、声音标签和接话能力都会保留。详见 [finetune/](finetune/README_CN.md)。
+可以用 [ms-swift](https://github.com/modelscope/ms-swift) 以 LoRA 方式调整大脑(人设、语气、领域知识、工具调用):32B 用一张 80 GB 显卡,4B 用一张 24 GB 显卡(训练约占 12 GB,CPU 上合并);声音、声音标签和接话能力都会保留。详见 [finetune/](finetune/README_CN.md)。
## 生态集成