すべての文字起こしAIモデルをサポートするGGMLベースの文字起こしライブラリ「transcribe.cpp」、ほぼそのままでwhisper.cppと置き換え可能

「transcribe.cpp」は最新の文字起こしモデルの多くをサポートするGGMLベースのC/C++音声認識ライブラリです。
Project - transcribe.cpp
https://workshop.cjpais.com/projects/transcribe-cpp

GitHub - handy-computer/transcribe.cpp: ggml speech-to-text inference for 16+ model families · GitHub
https://github.com/handy-computer/transcribe.cpp
公式サイトによると、transcribe.cppの特徴は以下の通りです。
・記事作成時点で20の音声認識(ASR)モデルファミリー(60以上のモデル)をサポートしており、今後さらに増える予定
・Vulkan・Metal・CUDA・TinyBLASによる高速化
・すべてのモデルは数値的に検証されWERテストも実施済み
・ストリーミング文字起こし・バッチ文字起こしのサポート
・ほぼそのままでwhisper.cppの置き換えが可能
・公式サポートされているバインディングは4言語
・Python
・JavaScript/TypeScript
・Rust
・Objective-C/Swift
transcribe.cppがサポートしているASRモデルファミリーは、公式GitHubによると以下の通りです。
・Parakeet
・Canary
・Canary-Qwen
・Whisper
・GigaAM
・Moonshine
・Moonshine Streaming
・Qwen3-ASR
・Cohere Transcribe
・SenseVoice
・FunASR Nano
・Nemotron Speech Streaming
・Nemotron 3.5 ASR Streaming
・Multitalker Parakeet Streaming
・Granite Speech 4 / 4.1
・Voxtral
・Voxtral Realtime
・MedASR
・MOSS Transcribe-Diarize
・Sortformer
導入に関してはCMakeとC/C++系のビルドツールがあれば様々なプラットフォームに導入可能です。例えばWindowsであれば以下のツールがインストールされていればtranscribe.cppをビルドすることができます。
・winget(※他のツールを導入するために必要)
・Git
・Visual Studio Build Tools 2022(C++)
・CMake
# Git
winget install --id Git.Git --accept-source-agreements --accept-package-agreements
# CMake
winget install --id Kitware.CMake --accept-source-agreements --accept-package-agreements
# MSVC C++ build tools (multi-GB download; the C++ workload is NOT default,
# so it must be requested explicitly via --override)
winget install --id Microsoft.VisualStudio.2022.BuildTools `
--accept-source-agreements --accept-package-agreements `
--override "--quiet --wait --norestart --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --includeRecommended"
ビルドは以下の手順でOK。
git clone https://github.com/handy-computer/transcribe.cpp
cd transcribe.cpp
cmake -B build
cmake --build build --target transcribe-cli --config Release
使用法については特徴にも上げた通りtranscribe.cppはwhisper.cppの代替を目標としており、記事作成時点ではwhisper.cppの全機能を実装するまでには至っていないものの、ほとんどのユースケースでは置き換え可能なレベルに到達しているとのことです。より詳しいビルド方法や使い方については以下を確認してください。
transcribe.cpp/docs/build-windows.md at main · handy-computer/transcribe.cpp · GitHub
https://github.com/handy-computer/transcribe.cpp/blob/main/docs/build-windows.md
・関連記事
Googleがオフライン翻訳デバイス「Gemma Translator」を発表、Gemma 4 E2B搭載でローカル翻訳可能 - GIGAZINE
「Grok Voice Think Fast 2.0」が登場、文字起こしと音声対話の両方に対応 - GIGAZINE
「Geekbench 7」が登場、「CUDAでのGPU演算」「AV1での動画エンコード」「文字起こしAIで字幕生成」など現代的ワークフローのテストが追加される - GIGAZINE
Appleのオンデバイス音声認識API「SpeechAnalyzer」が英語ベンチマークでWhisper Smallを上回る - GIGAZINE
メール・会議・Slackの内容をAIが覚えて仕事を手伝う「Rowboat」、Claude Desktop代替として何が便利なのか? - GIGAZINE
OCR・音声・構造化出力などの定型タスクに特化したAIモデル「Interfaze」登場 - GIGAZINE
人は「退屈そうな会話」も意外と楽しめているとの研究結果 - GIGAZINE
ウェブブラウザ単体でOCR処理を実行してAIで校正までできる「NDLOCR-Lite Web AI」レビュー、国立国会図書館のNDLOCR-Liteを簡単に利用可能にしたウェブアプリ - GIGAZINE
・関連コンテンツ
in AI, ソフトウェア, Posted by log1c_sh
You can read the machine translated English article 'transcribe.cpp' is a GGML-based transcr….







