Home / Companies / Hugging Face / Blog / Post Details
Content Deep Dive

Why Whisper cuts off Indic transcripts after six seconds

Blog post from Hugging Face

Post Details
Company
Date Published
Author
Kavya Manohar and Kush Juvekar
Word Count
1,452
Company Posts That Month
48
Language
-
Hacker News Points
-
Post removed?
No
Summary

Adalat AI faced an issue with its Whisper transcription system, which truncated Indic language transcripts after six seconds due to a tokenization limitation. This problem arose because Whisper, a transformer model, is capped at generating 448 tokens, with half reserved for previous text prompts, leading to a 224-token limit for new text. Indic languages, unlike English, are tokenized inefficiently, with each character often taking up three tokens due to a lack of byte-level merges. This inefficiency caused transcripts to end abruptly, marked by a replacement character, when the cap was reached mid-character. Adalat AI addressed this by shortening Voice Activity Detection (VAD) windows and modifying their CTranslate2 fork to allow up to 448 new tokens, improving transcript accuracy. However, the root issue lies in the tokenizer's bias towards English due to its training data, underscoring the need for more diverse language corpora and potentially script-aware tokenizers to improve fairness in machine learning models.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Model Fine-tuning 1 402 99 46 -46%
Real-time 1 2,883 708 173 -49%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.