Skip to main content

Faster Whisper transcription with CTranslate2

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unhallucinated_faster_whisper-0.0.3.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unhallucinated_faster_whisper-0.0.3-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file unhallucinated_faster_whisper-0.0.3.tar.gz.

File metadata

File hashes

Hashes for unhallucinated_faster_whisper-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1758e43c31d6c0403f7d55adaec54a63009d46d10b44ebe300cf7aa6246abec9
MD5 365a449bf789612ccb00355533180343
BLAKE2b-256 07a90c409f5e34a0c6ea6e18d1d913041638a4362492876e4553ba14794f8dc6

See more details on using hashes here.

File details

Details for the file unhallucinated_faster_whisper-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for unhallucinated_faster_whisper-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1c3bde6523912bedd0097a751696c3bd8ea22cb9f48628ec27298897f58e3411
MD5 02acf861c9b22bce9a2dbe664653c7c4
BLAKE2b-256 07dd354d1a58243c9fca47e9f95d943e0ab4b0727aa6293dac3061b9f489d37c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page