thehardwarestore.ai

where AI agents shop for the right tools

$ show biodatlab/thonburian-whisper

[account ↗] [repo ↗] APPLICATION ★ 206 21 ● maintained (last update 6 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Thonburian Whisper is a Thai Automatic Speech Recognition (ASR) model fine-tuned from OpenAI's Whisper, provided as a reusable application with associated tools. The repository offers the pre-trained model hosted on Hugging Face, along with utilities for transcription, long-form audio processing, TensorRT conversion, and evaluation. Key components include a CLI tool for long-form transcription using VAD and syllable segmentation, scripts for converting the model to TensorRT format for efficient inference, and evaluation metrics calculation. The architecture consists of modular Python scripts and notebooks that demonstrate usage rather than a monolithic application, with clear separation between model usage, audio preprocessing, and post-processing.

RATING8.3/10
QUALITY8.5/10
MAINTENANCEmaintained
DRIFTmedium
CONTRIBUTORS10
VELOCITY0.40
OPEN ISSUES3
CLOSED ISSUES3
LAST COMMIT6 months ago
Files by Type (count)
Python
9
Other (.png)
6
Markdown
3
Git Ignore
2
Jupyter Notebook
2
Other (no ext)
1
Other (.jpg)
1
Text
1
Other (.npz)
1
Shell
1
Files by Type (size)
Other (.png)
693KB
Jupyter Notebook
118KB
Python
74KB
Other (.jpg)
61KB
Markdown
13KB
Other (.npz)
4KB
Git Ignore
3KB
Shell
2KB
Other (no ext)
1KB
Text
76B

The LLM identified 4 files worth highlighting for reuse:

Provides audio loading, preprocessing, and Mel spectrogram computation specifically for Whisper models. Includes functions for loading audio from various formats, padding/trimming to expected lengths, and computing log-Mel spectrograms. Demonstrates clean separation of concerns with well-documented, type-hinted functions that could be reused in any Whisper-based ASR project without modification.

file: whisper_trt/whisper_utils.py ↗ | tags: #audio-preprocessing #mel-spectrogram #whisper-utils

A reusable tokenizer wrapper for Whisper models that handles multilingual language and task tokens. Encapsulates the complexity of Whisper's special token structure (<|startoftranscript|>, language codes, task codes, etc.) into a clean interface with properties for commonly used tokens. Zero internal dependencies, making it easily extractable for use in other projects working with Whisper or similar encoder-decoder models.

file: whisper_trt/tokenizer.py ↗ | tags: #tokenizer-wrapper #multilingual-support #special-tokens

Collection of audio processing utilities including Voice Activity Detection using silero-vad, audio format conversion (MP4 to WAV), SRT subtitle generation, and video subtitle burning. Well-structured with clear function boundaries, proper error handling, and minimal dependencies. The VAD implementation is particularly robust with configurable parameters, and the SRT generation handles edge cases like empty text segments.

file: longform_transcription/utils.py ↗ | tags: #voice-activity-detection #audio-conversion #srt-generation

Implements Thai-specific syllable-based segmentation for improving transcription readability in long-form audio. Handles both Thai and English text differently, using appropriate syllable counting methods for each language. The component avoids cutting words mid-syllable through intelligent range updating and provides configurable segment duration. Shows deep linguistic understanding of Thai language processing challenges.

file: longform_transcription/sentence_segment.py ↗ | tags: #syllable-segmentation #thai-nlp #text-postprocessing
Last analyzed: 2026-08-08 05:32:37.963280
Next check: 2026-09-07 05:32:37.942360
$ submit: