Learn how to deploy a Whisper model with diarization and speculative decoding using Hugging Face Inference Endpoints. The implementation of the diarization pipeline is inspired by Insanely Fast Whisper and uses a Pyannote model. Speculative decoding requires the decoder part of the assistant model to have the same architecture as the main model and a batch size of 1. The deployment process involves customizing the pipeline based on your needs, setting up your own endpoint, and passing environment variables to containers hosted on Inference Endpoints.

6m read timeFrom huggingface.co
Post cover image
Table of contents
The main modulesSet up your own endpointRecap
3 Impressions