Views
No views yet
/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.1import whisperx
2
3model = whisperx.load_model(
4 "q-henric/nb-whisper-large-ct2",
5 device="cpu", # or "cuda"
6 compute_type="int8"
7)
8
9audio = whisperx.load_audio("audio.mp3")
10result = model.transcribe(audio, language="no")1from faster_whisper import WhisperModel
2
3model = WhisperModel("q-henric/nb-whisper-large-ct2", device="cpu", compute_type="int8")
4segments, info = model.transcribe("audio.mp3", language="no")config.json - CTranslate2 model configurationmodel.bin - CTranslate2 model weights (~6.17 GB)vocabulary.json - Tokenizer vocabulary