Skip to content

Harras3/unhallucinated-faster-whisper

Repository files navigation

Unhallucinated Faster Whisper

Install the package

pip install unhallucinated-faster-whisper

Usage (Same as Faster Whisper)

from faster_whisper import WhisperModel 
model_size = "turbo"
model = WhisperModel(model_size, device="cpu")  

Enabling the Unhallucination Feature

Simply pass unhallucinated=True when transcribing

segments, info = model.transcribe("voice.mp3", unhallucinated=True)

Model Compatibility

Compatible with all Whisper models.

About

'unhallucinated-faster-whisper,' a powerful enhancement built on the faster-whisper framework for audio transcription.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors