Loading tutorials
openai-whisper and ffmpeg installed, and know the idea from the previous chapter: Whisper is an encoder-decoder transformer that reads a log-Mel spectrogram and writes text tokens. Here you will learn how the released checkpoints differ, how 6 min readopenai-whisper package on an audio file and how to read what it returns. It assumes you can install packages with pip, run commands in a terminal, and read basic Python. You should also know that Whisper turns audio into a log-Mel spectrogram and decodes text from5 min readmodel.transcribe() from the openai-whisper package and read the result dictionary. It also assumes you know that Whisper is an encoder-decoder transformer that generates text one token at a time. Here you will learn which decoding options change the output 6 min readmodel.transcribe() from the openai-whisper package and read the result dictionary. It also assumes you know that Whisper processes audio5 min readmodel.transcribe() from the openai-whisper package and that you know Whisper takes a log-Mel spectrogram as input. It covers what happens when a recording is longer than the model's input size, which settings control that process, and the errors that appear6 min readmodel.transcribe() and read its result dictionary, and that you know Whi5 min readopenai-whisper examples from the earlier chapters and that you are comfortable with Python lists and dictionaries. You need pip install jiwer openai-whisper. By the end you will be able to compute word error rate (WER), normalize text so the number means some5 min readmodel.transcribe() from the openai-whisper package and read the segments li7 min readwhisper.load_model and model.transcribe and read the result dictionary. It also assumes you know the model sizes from the earlier chapter. You should know that a neural network is a set of numeric weights, and you should be able to run a Python script and6 min readopenai-whisper package. It also assumes you know what the model sizes, beam size, and 30-second windows are, and that you have read the earlier chapter on speed and memory. You should be comfortable with Python generators and with ins6 min readtransformers library instead of the openai-whisper package. You need to know the basics from earlier chapters: how Whisper handles 30-second windows, what the model sizes are, and what the language and task options do. You also n5 min read