Skip to content

Instantly share code, notes, and snippets.

View winterwindwang's full-sized avatar
🏠
Working

freeneuro winterwindwang

🏠
Working
View GitHub Profile
@awni
awni / ctc_decoder.py
Last active September 18, 2024 11:44
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.