whisperfile llamafile 提供的基于whisper.cpp的快速运行whisper的应用

对于llamafile 大家可能都听说过,最近llamafile 提供了基于whisper.cpp 的whisperfile ,我们可以快速使用
whisperfile 进行翻译处理

参考使用

  • 下载whisperfile 以及模型

whisperfile 可以直接从github 下载
模型地址: https://hf-mirror.com/ggerganov/whisper.cpp/tree/main

  • 使用
    注意文件格式需要是 16kHz 的,不然会提示错误的
 
./whisperfile-0.8.13 -m ggml-base.bin -f  out.wav -pc

转换参考命令

ffmpeg -i 111.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wav
  • 效果

速度处理上还是很不错的

说明

围绕llamafile 的一些其他玩法也不少,比如目前看到sdfile stable-diffusion.cpp ,都可以尝试下

参考资料

https://github.com/Mozilla-Ocho/llamafile
https://huggingface.co/ggerganov/whisper.cpp

posted on   荣锋亮  阅读(26)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· spring官宣接入deepseek,真的太香了~
历史上的今天:
2021-09-27 cube.js 基于http 通道的数据实时更新
2019-09-27 nginx unit java 试用
2018-09-27 stenciljs 学习十三 @stencil/router 组件使用说明
2018-09-27 stenciljs 学习十二 官方doc 路由使用的例子
2018-09-27 stenciljs 学习十一 pwa 支持
2018-09-27 stenciljs 学习十 服务器端渲染
2018-09-27 stenciljs 学习九 使用jsx

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示