Skip to Main Content
Lightning Talk Intermediate MIT License (package code); upstream MMS model weights are separately licensed CC BY-NC 4.0.

From Python to TypeScript: Word-Level Captions in Node.js

Proposal status is Review Pending
Session Description

I wanted word-by-word Hinglish captions in a Node.js app without running a separate Python service. So I ported Meta’s MMS forced aligner to TypeScript and packaged it as mms-forced-align.

I’ll start with a short caption demo, then show how the aligner matches a known transcript to audio to find where each word starts and ends. I’ll walk through how I checked the TypeScript output against the Python implementation, and what surprised me in benchmarking: on my Windows test machine, the smaller int8 model ran slower and missed some timing tolerances.

Key Takeaways

A practical way to test whether a model port preserves the outputs your app actually depends on.

References

Session Categories

Introducing a FOSS project or a new version of a popular project
Technology architecture
Talk License: MIT License (package code); upstream MMS model weights are separately licensed CC BY-NC 4.0.
Speakers are hidden and anonymized for this event.