链载Ai

标题: 微软又上大分!刚刚开源一款 0.5B 轻量级实时 TTS 模型,还能边想边说! [打印本页]

作者: 链载Ai    时间: 昨天 17:49
标题: 微软又上大分!刚刚开源一款 0.5B 轻量级实时 TTS 模型,还能边想边说!

 

如果说 2024 年我们解决了大模型「脑子」聪明不聪明的问题,那么 2025 年,我们正在疯狂解决 AI「嘴巴」利不利索的问题。

大家平时用各种 AI 助手语音模式时,你问了一个问题,对面沉默了 2-3 秒(虽然他在思考),然后突然给你念一段完美的稿子。

这种体验虽然准确,但不像真人。

真人是怎么说话的? 真人在脑子里组织语言的同时,嘴巴就已经开始动了。我们会有停顿、有语气、甚至会边想边说。

「实时流式对话」才是 AI 语音的终极形态。

就在这两天,微软低调地开源了一款名为 VibeVoice-Realtime-0.5B 的轻量级 TTS 模型。

别看它只有 0.5B 参数,它却做到了目前市面上大多数巨型模型做不到的事:文本还在往外蹦,它的声音就已经开口说了。

300 毫秒就能说话,边输入边朗读,长文不卡顿,还能多人自然对话。

主要特点

快速入手

VibeVoice-Realtime-0.5B 是微软 VibeVoice 语音模型系列下最新成果,都是百分百 Python 代码开源。

具体安装步骤如下:

1、克隆 VibeVoice 仓库

git clone https://github.com/microsoft/VibeVoice.git
cd VibeVoice

2、安装项目依赖

pip install -e

3、下载模型

from huggingface_hub import snapshot_download
snapshot_download("microsoft/VibeVoice-Realtime-0.5B", local_dir="/content/models/VibeVoice-Realtime-0.5B")

4、启动 VibeVoice 实时演示

import subprocess, re, time, threading

srv = subprocess.Popen(
    "python /content/VibeVoice/demo/vibevoice_realtime_demo.py --model_path /content/models/VibeVoice-Realtime-0.5B --port 8000",
    shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, bufsize=1, universal_newlines=True,
)
cf = subprocess.Popen(
    "./cloudflared tunnel --url http://localhost:8000 --no-autoupdate",
    shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, bufsize=1, universal_newlines=True,
)

public_url = None
server_ready = False
url_pattern  = re.compile(r"(https://[a-z0-9-]+\.trycloudflare\.com)")

def read_srv():
    global server_ready
    for ln in srv.stdout:
        print(ln.strip())
        if "Uvicorn running on" in ln:
            server_ready = True

def read_cf():
    global public_url
    for ln in cf.stdout:
        m = url_pattern.search(ln)
        if m:
            public_url = m.group(1)
            break

threading.Thread(target=read_srv, daemon=True).start()
threading.Thread(target=read_cf,  daemon=True).start()


while True:
    if server_ready and public_url:
        print(f"✅ Public URL: {public_url}\n");
        public_url = None
    time.sleep(0.25)

当然如果需要在线体验,推荐下面这个方式:

HF 在线DEMO:

https://huggingface.co/spaces/anycoderapps/VibeVoice-Realtime-0.5B

性能表现

微软在其论文中展示了多项测试结果。

下面是其中两项代表性指标:

这说明该模型在准确性和自然度上都达到了非常高的水准。

应用场景

写在最后

VibeVoice-Realtime 最大的意义是:它第一次让开源模型真正具备「说话速度」和「自然程度」接近人类的实时语音能力。

如果你需要你的项目中接入延迟低、声音自然、多角色、支持情绪、长文本连续、模型轻量可部署的实时语音模型。

VibeVoice-Realtime-0.5B 是目前最值得尝试的选择之一。

项目主页:https://microsoft.github.io/VibeVoice

GitHub:https://github.com/microsoft/VibeVoice

模型地址:https://huggingface.co/microsoft/VibeVoice-Realtime-0.5B

 







如果本文对您有帮助,也请帮忙点个 赞👍 + 在看 哈!❤️

在看你就赞赞我!






欢迎光临 链载Ai (https://www.lianzai.com/) Powered by Discuz! X3.5