Views
No views yet
1from faster_whisper import WhisperModel
2model = WhisperModel("digiphyte/fluister-small", device="cuda", compute_type="int8_float16") # CPU: device="cpu", compute_type="int8"
3segments, info = model.transcribe("audio.wav", language="af", beam_size=5)
4for s in segments:
5 print(s.text)language="af"; the Fluister models are tuned for Afrikaans and SA English and should be told
the language rather than relying on auto-detect.LICENSE). This is a derivative work; the base model (OpenAI Whisper, Apache-2.0) and the training data (andreoosthuizen/afrikaans-30s, CC-BY-4.0) (this size was fine-tuned by DigiPhyte directly on that dataset) are credited in NOTICE.