---
title: "Fine-Tune W2V2-Bert for low-resource ASR with 🤗 Transformers"
description: "Wav2Vec2-BERT (facebook/w2v-bert-2.0), a 580M-parameter audio model pre-trained on 4.5M hours across 143+ languages, can be fine-tuned with CTC for ASR in low-resource languages using Hugging Face Transformers, demonstrated on ~14h of Mongolian Common Voice 16.0 data."
url: "https://swe.quest/articles/fine-tune-w2v2-bert-for-low-resource-asr-with-transformers-c92730274dccb3a7"
canonical: "https://huggingface.co/blog/fine-tune-w2v2-bert"
source: "Hugging Face"
published: "2024-01-19"
difficulty: "medium"
kind: "How-to"
reading_minutes: 26
tags: ["speech-audio","model-training","python"]
---

# Fine-Tune W2V2-Bert for low-resource ASR with 🤗 Transformers

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-01-19, 26 min read, How-to. Original: [https://huggingface.co/blog/fine-tune-w2v2-bert](https://huggingface.co/blog/fine-tune-w2v2-bert)

## Summary

Wav2Vec2-BERT (facebook/w2v-bert-2.0), a 580M-parameter audio model pre-trained on 4.5M hours across 143+ languages, can be fine-tuned with CTC for ASR in low-resource languages using Hugging Face Transformers, demonstrated on ~14h of Mongolian Common Voice 16.0 data. The walkthrough covers text normalization, building a character vocabulary (dropping Latin characters and punctuation), the Wav2Vec2CTCTokenizer and SeamlessM4TFeatureExtractor, training, and tips for scaling CTC training. Compared with Whisper-large-v3 after similar fine-tuning, it reaches similar WER on Mongolian while running 10-30x faster and being 2.5x more resource-efficient, because it decodes in a single non-autoregressive pass and adapts to any alphabet.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Speech & audio](https://swe.quest/tags/speech-audio.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- Python and PyTorch basics ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- Hugging Face Transformers
- CTC loss basics

## Keywords

Wav2Vec2-BERT, Hugging Face Transformers, CTC, Common Voice, Whisper, Seamless

## Related posts

- [Fine-Tune Whisper For Multilingual ASR with 🤗 Transformers](https://swe.quest/articles/fine-tune-whisper-for-multilingual-asr-with-transformers-718acb121632ac73.md): Hugging Face · 2022-11-03 · Medium · 25 min read · Speech & audio, Model training, Python
  Whisper, OpenAI's encoder-decoder ASR model pre-trained on 680,000 hours of labelled audio, can be fine-tuned for a low-resource language with Hugging Face Transformers using only about 8 hours of data.
- [Fine-Tune Wav2Vec2 for English ASR in Hugging Face with 🤗 Transformers](https://swe.quest/articles/fine-tune-wav2vec2-for-english-asr-in-hugging-face-with-transformers-3965ec4df26fb19a.md): Hugging Face · 2021-03-12 · Medium · 24 min read · Speech & audio, Model training, Python
  Wav2Vec2, pretrained with a contrastive masked objective on 50k+ hours of unlabeled speech, can be fine-tuned with CTC on small labeled datasets for end-to-end English ASR without a language model.
- [Fine-Tune MMS Adapter Models for low-resource ASR](https://swe.quest/articles/fine-tune-mms-adapter-models-for-low-resource-asr-870510273b1ec1b7.md): Hugging Face · 2023-06-19 · Medium · 27 min read · Speech & audio, Model training, Python
  MMS adapter training fine-tunes only about 2.5M language-specific adapter weights on Meta's mms-1b-all checkpoint, reaching low word error rates after 10-20 minutes of training on small datasets.
- [Fine-Tune XLSR-Wav2Vec2 for low-resource ASR with 🤗 Transformers](https://swe.quest/articles/fine-tune-xlsr-wav2vec2-for-low-resource-asr-with-transformers-67aead681013ec16.md): Hugging Face · 2021-11-15 · Medium · 23 min read · Speech & audio, Model training, Python
  XLS-R, the multilingual successor to Wav2Vec2 pre-trained on roughly half a million hours of audio in 128 languages, can be fine-tuned for speech recognition by adding a linear layer on top and training with Connectionist Temporal Classification (CTC).
- [Rumble-2-Flash: an open 0.5B speech model for 40+ languages](https://swe.quest/articles/rumble-2-flash-an-open-0-5b-speech-model-for-40-languages-9c23c31200c11573.md): Hugging Face · 2026-11-18 · Medium · 4 min read · Speech & audio, Model training, Machine learning, Open source
  Rumble-2-Flash is an Apache 2.0, 0.5B-parameter multilingual speech recognition model covering 40+ languages, built on the Qwen3-ASR architecture so it runs natively in Transformers and vLLM.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
