Haitham Assoli

← All projects

cohere-transcribe

High-throughput Arabic/English transcription, batched properly.

0The facts

Role
Contributor
Year
2026
Status
Live
Category
AI
Built with
Python · Silero VAD · GPU batching · SRT / VTT · Hugging Face
Where to find it

1 · Overview

What it is, and why it exists.

A Python package for offline batch transcription with Cohere's 2B Arabic/English ASR model: optimised voice activity detection, multi-file GPU batching under bounded memory, subtitle output and optional word-level timestamps.

Transcribing one file is a solved problem. Transcribing a directory of hundreds without running out of GPU memory, and without spending most of the run on silence, is not.

The package handles individual files, multiple paths and nested directories with bounded-memory batching, and can return results directly or publish plain text, approximate segment-timed subtitles, or word-timed subtitles.

1a · Challenges

Each problem got a card. Each fix got filed behind it.

1a1Most of a recording is silence

Feeding raw audio to the model spends a large share of the compute transcribing pauses, which is the main reason long-file throughput is bad.

1a1aWhat I did

Voice activity detection segments speech first, so only speech reaches the model. The batching is then built around those segments rather than around file boundaries.

2 · Results

Next project

→T3 Code

Control the coding agents on your machine, from anywhere.

Next design — SpoolerSee all 14