SAVRN
Search Contact SAVRN

Open-weight model · Speech recognition

mms-300m-1130-forced-aligner

by Mahmoud Ashraf MahmoudAshraf/mms-300m-1130-forced-aligner

This Python package provides an efficient way to perform forced alignment between text and audio using Hugging Face's pretrained models. it also features an improved implementation to use much less memory than TorchAudio forced alignment API.

Parameters315M
Context
Weights2.5 GB
Licensecc-by-nc-4.0
AccessOpen weights
Monthly Downloads2.6M

Runs On

What it takes to serve mms-300m-1130-forced-aligner (315M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.6 GB 0.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.3 GB 0.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on mms-300m-1130-forced-aligner

For aligning a transcript to its audio, this Wav2Vec2ForCTC checkpoint runs in 0.8 GB of memory at 16-bit, 0.6 GB of it weights. Mahmoud Ashraf converted the MMS-300M forced-alignment weights from torchaudio to Transformers and ships a Python package that uses much less memory than the TorchAudio alignment API. At 315M parameters over 24 layers, it uses a sliver of the cheapest setup we list, one MI300X with 192 GB at $1.85 per hour on-demand, so schedule it beside other audio work.

The license is where deployment plans change. CC BY-NC 4.0 allows sharing and adapting with credit for non-commercial purposes only, and commercial use needs separate permission from the rights holder, so a paid product cannot ship on it without that permission. Stored precision is float32, so the 9 files come to 2.5 GB on disk. Vocabulary is 31 entries; last update April 15, 2026.

Model Card

This Python package provides an efficient way to perform forced alignment between text and audio using Hugging Face's pretrained models. it also features an improved implementation to use much less memory than TorchAudio forced alignment API. The model checkpoint uploaded here is a conversion from torchaudio to HF Transformers for the MMS-300M checkpoint trained on forced alignment dataset

Excerpt from the card by Mahmoud Ashraf, licensed cc-by-nc-4.0.

Configuration

Architecture
Wav2Vec2ForCTC
Layers
24
Hidden size
1,024
Feed-forward size
4,096
Attention heads
16
Vocabulary size
31
Stored precision
float32
Model type
wav2vec2

Identity and Version

Repository
MahmoudAshraf/mms-300m-1130-forced-aligner
Publisher
Mahmoud Ashraf
Task
Speech recognition
Modality
Audio
Library
transformers
Parameters
315M parameters
Languages
ab, af, ak, am, ar, as, av, ay
Revision
49402e9577b1158620820667c218cd494cc44486
First published
2024-05-02
Last updated
2026-04-15

Files and Weights

9 files, 2.5 GB in total. The weights are 2 files totalling 2.5 GB in bin, safetensors.

Weights2 files · 2.5 GB
Configuration3 files · 2.4 KB
Tokenizer2 files · 1.3 KB
Documentation1 file · 2.7 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights1.3 GB 9aa5229a1af4
pytorch_model.binWeights1.3 GB 41f8ceea323a
config.jsonConfiguration2.1 KB
preprocessor_config.jsonConfiguration211 B
special_tokens_map.jsonConfiguration74 B
README.mdDocumentation2.7 KB
.gitattributesRepository1.5 KB
tokenizer_config.jsonTokenizer1.0 KB
vocab.jsonTokenizer286 B

License and Download

License
cc-by-nc-4.0
Access
Open weights, no gate
Download size
2.5 GB
Download from Mahmoud Ashraf

Released by Mahmoud Ashraf through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published2.5 GB
16-bit0.6 GB
8-bit0.3 GB
4-bit0.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare mms-300m-1130-forced-aligner

Questions About mms-300m-1130-forced-aligner

How much GPU memory does mms-300m-1130-forced-aligner need?

About 0.8 GB at 16-bit and 0.2 GB at 4-bit: the weights (315M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run mms-300m-1130-forced-aligner on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use mms-300m-1130-forced-aligner commercially?

Not without separate permission. mms-300m-1130-forced-aligner is released under Creative Commons Attribution-NonCommercial 4.0. CC BY-NC 4.0 permits sharing and adapting with credit for non-commercial purposes only. Commercial use needs separate permission from the rights holder.

Similar Models

Model · Speech recognition

wav2vec2-xls-r-300m-hebrew

Vladimir Gurevich

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the private datasets in 2 stages - firstly was fine-tuned on a small dataset with good samples Then the obtained model was fine-tuned on a large dataset with the small good dataset, with various samples from different sources, and with an unlabeled dataset that was weakly labeled using a previously trained model. (weakly labeled data wasn't used in validation set) on small dataset on large dataset on small dataset on large dataset The following hyperparameters were used during training: - learningrate: 0.0003 - trainbatchsize: 8 - evalbatchsize: 8 - distributedtype: multi-GPU - numdevices: 2 - gradientaccumulationsteps: 4…

Open weights 315M parameters transformers

Model · Speech recognition

wav2vec2-xls-r-300m-ftspeech

Dan Saattrup Smart

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the FTSpeech dataset, being a dataset of 1,800 hours of transcribed speeches from the Danish parliament. The model achieves the following WER scores (lower is better): The use of this model needs to adhere to this license from the Danish Parliament.

Open weights other 315M parameters transformers

Model · Speech recognition

romanian-wav2vec2

Théo Gigant

You can test this model online with the Space for Romanian Speech Recognition The model ranked TOP-1 on Romanian Speech Recognition during HuggingFace's Robust Speech Challenge: This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the Common Voice 8.0 - Romanian subset dataset, with extra training data from Romanian Speech Synthesis dataset. Without the 5-gram Language Model optimization, it achieves the following results on the evaluation set (Common Voice 8.0, Romanian subset, test split): The architecture is based on facebook/wav2vec2-xls-r-300m with a speech recognition CTC head and an added 5-gram language model (using pyctcdecode and kenlm) trained on the Romanian…

Open weights apache-2.0 315M parameters transformers

Model · Speech recognition

w2v-xls-r-uk

Smoliakov

ATTENTION! Metrics (float16) using evaluate library with batchsize=1

Open weights apache-2.0 315M parameters transformers

Finetuned version of KBs VoxRex large model using Swedish radio broadcasts, NST and Common Voice data. Evalutation without a language model gives the following: WER for NST + Common Voice test set (2% of total sentences) is 2.5%. WER for Common Voice test set is 8.49% directly and 7.37% with a 4-gram language model. When using this model, make sure that your speech input is sampled at 16kHz. This model has been fine-tuned for 120000 updates on NST + CommonVoice and then for an additional 20000 updates on CommonVoice only. The additional fine-tuning on CommonVoice hurts performance on the NST+CommonVoice test set somewhat and, unsurprisingly, improves it on the CommonVoice test set. It seems…

Open weights cc0-1.0 315M parameters transformers

Model · Speech recognition

wav2vec2-xls-r-300m-cs-250

Vojtěch Drábek

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the commonvoice 8.0 dataset as well as other datasets listed below. It achieves the following results on the evaluation set: The eval.py script results using a LM are: Fine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset. When using this model, make sure that your speech input is sampled at 16kHz. The model can be used directly (without a language model) as follows: The model can be evaluated using the attached eval.py script: The Common Voice 8.0 train and validation datasets were used for training, as well as the following datasets: - Šmídl, Luboš and Pražák, Aleš, 2013, OVM – Otázky…

Open weights apache-2.0 315M parameters transformers