惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
T
The Blog of Author Tim Ferriss
C
Check Point Blog
博客园_首页
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
L
LangChain Blog
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
Vercel News
Vercel News
博客园 - Franky
V
V2EX
IT之家
IT之家
U
Unit 42
N
Netflix TechBlog - Medium
腾讯CDC
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
博客园 - 叶小钗
H
Help Net Security
V
Visual Studio Blog
GbyAI
GbyAI

Mox的笔记库

2026PPoPP MLIR Tutorial学习 | Mox的笔记库 MacOS配置《明日方舟:终末地》 | Mox的笔记库 2025:向内生长 | Mox的笔记库 由mlir::ExecutionEngine引发的跨系统问题 | Mox的笔记库 WSL2配置Cuda-Tile环境记录(未完待续) | Mox的笔记库 Vibe Coding手搓项目记录 | Mox的笔记库 给Debian上包——以DuckDB为例 | Mox的笔记库 UCPD.sys事件存档 | Mox的笔记库 换新电脑之Mac mini M4从购买到配置 | Mox的笔记库 Mac配置MLX-C开发环境 | Mox的笔记库 RISC-V meets RDBMS——RISC-V架构上可运行数据库一览 | Mox的笔记库 DuckDB Sort实现调查 | Mox的笔记库 修复Redis在树莓派5上无法运行的问题 | Mox的笔记库 如何在MLIR中自定义类型并且输出运行 | Mox的笔记库 网站网络结构变更记录 | Mox的笔记库 EDBT25论文阅读:PhoebeDB——A Disk-Based RDBMS Kernel for High-Performance and Cost-Effective OLTP SIGMOD25论文阅读:BPF-DB:——A Kernel-Embedded Transactional Database Management System For eBPF Applications Apache Arrow Gandiva项目解析 | Mox的笔记库 VLDB24论文阅读:Cloud-Native Database Systems and Unikernels——Reimagining OS Abstractions for Modern Hardware NoisePage源码分析(未完待续) | Mox的笔记库 VLDB20论文阅读:Mainlining Databases——Supporting Fast Transactional Workloads on Universal Columnar Data File Formats VLDB17论文阅读:Relaxed Operator Fusion for In-Memory Databases:Making Compilation, Vectorization, and Prefetching Work Together At Last 论文阅读:How not to structure your database-backed web applications——a study of performance bugs in the wild SIGMOD24阅读:ROME——Robust Query Optimization via Parallel Multi-Plan Execution 文章阅读:First Past the Post-Evaluating Query Optimization in MongoDB SIGMOD文章阅读:Apache Calcite——A Foundational Framework for Optimized Query Processing Over Heterogeneous Data Sources VLDB23论文阅读:Analyzing the Impact of Cardinality Estimation on Execution Plans in Microsoft SQL Server SIGMOD22论文阅读:Efficient Massively Parallel Join Optimization for Large Queries VLDB论文阅读:Weaving Relations for Cache Performance VLDB22论文阅读:ConnectorX——Accelerating Data Loading From Databases to Dataframes
OpenAI-whisper折腾 | Mox的笔记库
MocusEZ · 2023-01-08 · via Mox的笔记库

好用的AI语音转录,最重要的是:免费

安装记录

Python版本(官方版)

Git地址:

https://github.com/openai/whisper

启动环境

pSV7IaQ.md.png

pdm add torch torchvision torchaudio

(国内特供)

pdm add git+https://gitee.com/mirrors/openai-whisper.git

检测一下显卡是否正常,显示为True即可适用

import torch

print(torch.__version__)

print(torch.cuda.is_available())

麻了,GTX1650还跑不了medium(显存不够大),但跑个small还是可以的

这里有个WebUI的版本,这次没用上,这边先记录上

https://huggingface.co/spaces/aadnk/whisper-webui

C++版本

可以跑medium和large的版本,但速度慢肯定是没办法的

目前只提供民间支持,但由于其可以放在树莓派,手机上面跑,适用范围更广了

Git地址:

https://github.com/ggerganov/whisper.cpp.git

按照指示编译文件即可

但用之前需要先手动ffmpeg进行转换

ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav

直接下载模型

https://huggingface.co/datasets/ggerganov/whisper.cpp/tree/main

使用6线程进行转录

./main -m models/ggml-medium.en.bin -f output.wav -t 6 -osrt

效果

结语

原本计划着是做熟肉翻译的,结果发现Whisper只支持其他语言翻译成英语,外加学校老师临近假期给考试添堵,导致一系列计划直接泡汤。先记录下,有空再更新,可能后续考虑尝鲜opus-mt模型。

参考资料

OpenAI 开源音频转文字模型 Whisper 尝鲜


avatar

探索未曾设想的道路