Downloads · 30 days
17
11% of all-time downloads
q-henric/nb-whisper-large-ct2
nb-whisper-large-ct2 is a machine learning model from q-henric. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is a CTranslate2 conversion of NbAiLab/nb-whisper-large for use with WhisperX and faster-whisper.
Downloads · 30 days
17
11% of all-time downloads
All-time downloads
149
Public
Repo size
7.7 GB
Likes
0
Public
Click a slice to open those files.
.bin1.6 GB · 100%
From the Hugging Face model README
This is a CTranslate2 conversion of NbAiLab/nb-whisper-large for use with WhisperX and faster-whisper.
The original NbAiLab/nb-whisper-large model has CTranslate2 files in a /ct2 subfolder. WhisperX and faster-whisper expect CT2 files at the repository root. This repository provides the CT2 files at root level for direct compatibility.
import whisperx
model = whisperx.load_model(
"q-henric/nb-whisper-large-ct2",
device="cpu", # or "cuda"
compute_type="int8"
)
audio = whisperx.load_audio("audio.mp3")
result = model.transcribe(audio, language="no")
from faster_whisper import WhisperModel
model = WhisperModel("q-henric/nb-whisper-large-ct2", device="cpu", compute_type="int8")
segments, info = model.transcribe("audio.mp3", language="no")
config.json - CTranslate2 model configurationmodel.bin - CTranslate2 model weights (~6.17 GB)vocabulary.json - Tokenizer vocabulary