目録へ戻るAll projects

端末内AI

cohere-transcribe

High-throughput Arabic/English transcription, batched properly.

2026公開中LiveAI

Summary

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.

Overview概要

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.

Challenges課題

Most of a recording is silence

The problem

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.

What 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.

Results成果

  • Directory-scale batch transcription with bounded memory and subtitle output.

Colophon奥付

役割Role
Contributor
年Year
2026
状態Status
Live
分野Category
AI
道具Built with
PythonSilero VADGPU batchingSRT / VTTHugging Face
所在Where to find it
Next design — Liquid GlassSee all 14