跳转至

VibeVoice-ASR

Hugging Face Live Playground

VibeVoice-ASR 是一个统一的语音转文本模型,旨在单次处理 60 分钟的长音频,生成包含 谁(说话人)、何时(时间戳)和什么(内容) 的结构化转录结果,并支持 自定义热词 和超过 50 种语言。

模型: VibeVoice-ASR-7B
演示: VibeVoice-ASR-Demo
报告: VibeVoice-ASR-Report
微调: finetune-guide
vLLM: vLLM-asr
Transformers: VibeVoice-ASR-HF

🔥 核心特性

  • 🕒 60 分钟单次处理: 与将音频切成短片段(常常丢失全局上下文)的传统 ASR 模型不同,VibeVoice ASR 可在 64K token 长度内接受长达 60 分钟的连续音频输入,从而确保整小时内说话人跟踪的一致性和语义连贯性。

  • 👤 自定义热词: 用户可以提供自定义热词(例如特定姓名、技术术语或背景信息)来引导识别过程,从而显著提高对领域特定内容的识别准确率。

  • 📝 丰富的转录结果(谁、何时、什么): 该模型联合执行 ASR、说话人分离和时间戳标注,生成结构化输出,标明谁在何时说了什么。

  • 🌍 多语言与语码转换支持: 它支持超过 50 种语言,无需显式设置语言,并能原生处理话语内部及跨话语的语码转换。请参阅语言分布。

🏗️ 模型架构

VibeVoice ASR Architecture

演示

https://github.com/user-attachments/assets/acde5602-dc17-4314-9e3b-c630bc84aefa

评估

DER
cpWER
tcpWER

安装

我们建议使用 NVIDIA Deep Learning Container 来管理 CUDA 环境。

  1. 启动 docker

    # NVIDIA PyTorch Container 24.07 ~ 25.12 verified. 
    # Previous versions are also compatible.
    sudo docker run --privileged --net=host --ipc=host --ulimit memlock=-1:-1 --ulimit stack=-1:-1 --gpus all --rm -it  nvcr.io/nvidia/pytorch:25.12-py3
    
    ## If flash attention is not included in your docker environment, you need to install it manually
    ## Refer to https://github.com/Dao-AILab/flash-attention for installation instructions
    # pip install flash-attn --no-build-isolation
    

  2. 从 GitHub 安装

    git clone https://github.com/microsoft/VibeVoice.git
    cd VibeVoice
    
    pip install -e .
    

使用方法

用法 1:启动 Gradio 演示

apt update && apt install ffmpeg -y # for demo

python demo/vibevoice_asr_gradio_demo.py --model_path microsoft/VibeVoice-ASR --share

用法 2:直接从文件进行推理

python demo/vibevoice_asr_inference_from_file.py --model_path microsoft/VibeVoice-ASR --audio_files [add an audio path here] 

微调

支持 LoRA(低秩适配)微调。有关详细指南,请参阅微调。

结果

多语言

数据集 语言 DER cpWER tcpWER WER
MLC-Challenge 英语 4.28 11.48 13.02 7.99
MLC-Challenge 法语 3.80 18.80 19.64 15.21
MLC-Challenge 德语 1.04 17.10 17.26 16.30
MLC-Challenge 意大利语 2.08 15.76 15.91 13.91
MLC-Challenge 日语 0.82 15.33 15.41 14.69
MLC-Challenge 韩语 4.52 15.35 16.07 9.65
MLC-Challenge 葡萄牙语 7.98 29.91 31.65 21.54
MLC-Challenge 俄语 0.90 12.94 12.98 12.40
MLC-Challenge 西班牙语 2.67 10.51 11.71 8.04
MLC-Challenge 泰语 4.09 14.91 15.57 13.61
MLC-Challenge 越南语 0.16 14.57 14.57 14.43

数据集 语言 DER cpWER tcpWER WER
AISHELL-4 中文 6.77 24.99 25.35 21.40
AMI-IHM 英语 11.92 20.41 20.82 18.81
AMI-SDM 英语 13.43 28.82 29.80 24.65
AliMeeting 中文 10.92 29.33 29.51 27.40
MLC-Challenge 平均 3.42 14.81 15.66 12.07

语言分布

Language Distribution

📄 许可证

本项目采用 MIT 许可证 授权。

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 vib/VibeVoice