Skip to content

Instantly share code, notes, and snippets.

View yweweler's full-sized avatar

Yves-Noel Weweler yweweler

View GitHub Profile
@awni
awni / ctc_decoder.py
Last active April 18, 2024 19:14
Example CTC Decoder in Python
"""
Author: Awni Hannun
This is an example CTC decoder written in Python. The code is
intended to be a simple example and is not designed to be
especially efficient.
The algorithm is a prefix beam search for a model trained
with the CTC loss function.