0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

faster-whisperによる文字起こし(Speech-To-Text)をしてみる

0
Last updated at Posted at 2026-10-18

はじめに

以下のような記事がありました。

ここにサンプルコードもあったので、せっかくだから私も作ってみることにしました。

環境構築

今の時代、コードは生成AIに頼めばよいのですが、環境構築は頑張って自分でする必要があります。

モデルの入手

まず、モデルを入手します。

いまや、プログラムそのものより、AIモデルの入手の方が重要だと感じているのですが、上記の記事でもモデルの入手についてはあまり詳しく示されていません。

そこで、モデル入手方法を生成AIに聞きます。

最近では、もはやソリューションは「生成AI」に突っ込むのが一番早い。

image.png

「なるほど!」と相槌まで打ってくれて偉いなぁ。
ということだそうなので、以下をWindowsのコマンドプロンプトに突っ込む。

_get_models.py
from faster_whisper import WhisperModel

model = WhisperModel(
    "large-v3-turbo",
    device="cpu",
    compute_type="int8",
    download_root=r"C:\whisper_models"
)

これで、無事に動きました。

その後

ChatGPTにお礼を言うと「追加のご提案」までしてくれるって、もはや「超知性」はすぐそこまで来ていますね。

image.png

(おわり)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?