wav2vec2-large-voxrex-swedish

KBLab/wav2vec2-large-voxrex-swedish

KBLab 755K downloads cc0 Speech Recognition
Frameworkstransformerspytorchsafetensors
Languagessv
Datasetscommon_voiceNST_Swedish_ASR_DatabaseP4
Tagswav2vec2automatic-speech-recognitionaudiospeechhf-asr-leaderboardmodel-index
Downloads
755K
License
cc0
Pipeline
Speech Recognition
Author
KBLab

Run wav2vec2-large-voxrex-swedish locally on a Q4KM hard drive

Accelerate your deployments with a pre‑loaded Q4KM hard drive that ships wav2vec2-large-voxrex-swedish ready for instant inference. Get this model on a Q4KM hard drive today and enjoy plug‑and‑play...

Shop Q4KM Drives

Technical Overview

Model ID: KBLab/wav2vec2-large-voxrex-swedish
Model Name: wav2vec2-large-voxrex-swedish
Author: KBLab

The wav2vec2-large-voxrex-swedish model is a fine‑tuned version of the large‑scale VoxRex large wav2vec 2.0 architecture, specifically adapted for Swedish Automatic Speech Recognition (ASR). It directly converts raw audio waveforms into text without requiring an external language model, although a 4‑gram LM can be applied to further reduce Word Error Rate (WER).

Key Features & Capabilities

  • Trained on a diverse mix of Swedish radio broadcasts (NST), the Common Voice corpus, and the P4 dataset, covering both formal and colloquial speech.
  • Supports 16 kHz mono audio input – the model expects this sampling rate for optimal performance.
  • Large wav2vec 2.0 backbone (≈300 M parameters) delivering state‑of‑the‑art WER on Swedish benchmarks.
  • Ready‑to‑use with the Wav2Vec2Processor and Wav2Vec2ForCTC classes from the 🤗 Transformers library.
  • Compatible with PyTorch, safetensors, and can be deployed on Azure (region: US).

Architecture Highlights

  • Base: wav2vec 2.0 large (12 transformer blocks, 24 attention heads, 1024 hidden size).
  • Pre‑training: self‑supervised on massive unlabeled Swedish audio (VoxRex).
  • Fine‑tuning: 120 k updates on NST + Common Voice, followed by an additional 20 k updates on Common Voice only.
  • Output: Connectionist Temporal Classification (CTC) logits for character‑level transcription.

Intended Use Cases

  • Real‑time transcription of Swedish radio, podcasts, and broadcast media.
  • Voice‑controlled applications and virtual assistants for Swedish speakers.
  • Subtitle generation and closed‑captioning for Swedish video content.
  • Academic research on Swedish speech corpora and low‑resource ASR.

Benchmark Performance

The model’s performance is evaluated primarily using Word Error Rate (WER), the de‑facto metric for ASR quality. The README reports two key results:

  • Common Voice (sv‑SE) test set: 8.49 % WER without a language model, reduced to 7.37 % with a 4‑gram LM.
  • Combined NST + Common Voice test set (2 % of total sentences): 2.5 % WER (no LM).

These benchmarks matter because they reflect real‑world transcription accuracy on both crowd‑sourced (Common Voice) and professionally produced (NST) Swedish speech. Compared to other Swedish ASR models on the Hugging Face ASR leaderboard, the wav2vec2-large-voxrex-swedish sits among the top performers, especially when a language model is not applied, demonstrating the strength of its self‑supervised pre‑training and targeted fine‑tuning.

Hardware Requirements

Inference with a 300 M‑parameter wav2vec 2.0 large model is memory‑intensive. Below are practical hardware guidelines:

  • VRAM: Minimum 8 GB for a single‑utterance batch; 12 GB+ recommended for batch processing or real‑time streaming.
  • GPU: NVIDIA RTX 3060 (12 GB) or higher; RTX 3080, A100, or comparable AMD GPUs provide smoother latency.
  • CPU: Modern multi‑core CPUs (e.g., Intel i7‑12700K, AMD Ryzen 7 5800X) can run inference on‑device, but expect higher latency than GPU.
  • Storage: Model checkpoint (~1.2 GB) + tokenizer files (~200 MB). SSD storage is recommended for fast loading.
  • Performance: On a RTX 3060, typical latency is ~150 ms per 10‑second audio clip (batch size = 1). Larger batches improve throughput but increase VRAM usage.

Use Cases

The model excels in any scenario that requires high‑accuracy Swedish speech‑to‑text conversion:

  • Broadcast Media: Automatic transcription of live radio news, podcasts, and talk shows for archival and search.
  • Customer Service: Voice‑bot assistants handling Swedish callers, converting spoken queries into text for downstream NLP.
  • Accessibility: Real‑time captioning for deaf or hard‑of‑hearing audiences in Swedish classrooms and conference rooms.
  • Research & Academia: Building corpora for Swedish dialect studies, speech synthesis, or language‑learning tools.
  • Enterprise Automation: Transcribing meeting recordings, legal depositions, or medical dictations in Swedish.

Training Details

The model was fine‑tuned on a combination of three Swedish speech datasets:

  • Common Voice (sv‑SE) – crowd‑sourced, diverse speaker demographics.
  • NST Swedish ASR Database – high‑quality radio broadcast recordings.
  • P4 – additional Swedish speech corpus (details not expanded in README).

Training schedule:

  • 120 000 updates on the merged NST + Common Voice data.
  • Additional 20 000 updates exclusively on Common Voice.
  • Optimization: AdamW with a learning rate schedule typical for wav2vec 2.0 fine‑tuning (not explicitly stated).

While exact compute specs are not disclosed, fine‑tuning a 300 M‑parameter wav2vec 2.0 model generally requires:

  • GPU: 1 × NVIDIA A100 (40 GB) or equivalent for ~2‑3 weeks of training.
  • Batch size: 8‑16 seconds of audio per GPU (adjusted for VRAM).

The model remains fully fine‑tunable; users can continue training on domain‑specific Swedish data (e.g., medical or legal speech) using the same Wav2Vec2ForCTC interface.

Licensing Information

The README lists the license as cc0‑1.0, which is a public‑domain dedication. However, the top‑level metadata shows “License: unknown”. In practice, the CC0‑1.0 designation means:

  • Anyone may use, modify, distribute, and commercialize the model without asking for permission.
  • No attribution is legally required, though the authors request a citation of the associated paper (see the Citation section).
  • No warranty or liability is provided; users assume all risk.

Because CC0 is permissive, the model can be incorporated into commercial products, SaaS platforms, or embedded devices without licensing fees. The only practical requirement is to respect any third‑party data licenses (e.g., Common Voice is CC‑0, but other datasets may have their own terms). Itp is advisable to retain the original README and model card links for transparency.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives