百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

wenet

> 数据库
开源

生产优先、生产就绪的端到端语音识别工具包

5.2K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

生产优先、生产就绪的端到端语音识别工具包

WeNet

| 文档 | 论文 | 运行时 | 预训练模型 | HuggingFace | 咨询 WeNet Guru

我们共同分享网络。

亮点

  • 生产优先且生产就绪:核心设计原则,WeNet 为语音识别提供全栈生产解决方案。
  • 准确:WeNet 在众多公开语音数据集上取得了 SOTA(最先进)的结果。
  • 轻量:WeNet 易于安装、易于使用、设计良好且文档完善。

安装

安装 Python 包

bash
pip install git+https://github.com/wenet-e2e/wenet.git

这会引入 torch>=1.13.0 且没有上限,因此 pip 可能会安装一个比你已安装的 GPU 驱动所支持的版本更新的 torch 版本。如果你打算使用 GPU,请在安装后进行验证:

bash
python -c "import torch; print(torch.cuda.is_available())"

如果在有 GPU 的机器上输出 False,torch 会静默回退到 CPU,不会报错。请重新安装与你驱动所支持的 CUDA 版本相匹配的 torch 版本,例如:

bash
pip install torch==2.4.0+cu121 torchaudio==2.4.0+cu121 --index-url https://download.pytorch.org/whl/cu121 --force-reinstall

命令行用法(使用 -h 查看参数):

bash
wenet -m paraformer audio.wav

你可以将 -m 设置为 paraformer、firered 或 wenetspeech 以用于中文,或将其设置为 whisper-large-v3 或 whisper-large-v3-turbo 以用于英文。

注意:默认在 CPU 上运行(--device 默认为 cpu),即使有可用的 GPU 也是如此。请显式传入 --device cuda 来使用 GPU(Python API:wenet.load_model(model_name, device='cuda'))。有关 dtype 和 attention-backend 选项,请参阅 Tesla T4)的特定说明。

Python 编程用法:

python
import wenet

model = wenet.load_model('paraformer')
result = model.transcribe('audio.wav')
print(result.te

[**Roadmap**](https://github.com/wenet-e2e/wenet/issues/1683)
[python usage](docs/python_package.md#gpuhardware-notes) for GPU/Turing (e.g.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonasrautomatic-speech-recognitionconformere2e-models

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库