Model reference · open weights

wav2vec2-large-xls-r-bg-d2

Available as managed deployment Audio DrishtiSharma · community Speech→text 1 variants 403k dl/mo

wav2vec2-large-xls-r-bg-d2 is an open-weight audio or speech model from DrishtiSharma. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byDrishtiSharma
TypeAudio & music
TaskSpeech→text
Runs withtransformers
Released2022-03-02
Popularity403k downloads / month
LicenceOpen weights

About

What wav2vec2-large-xls-r-bg-d2 is

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the MOZILLA-FOUNDATION/COMMON_VOICE_8_0 - BG dataset. It achieves the following results on the evaluation set:

  • Loss: 0.3421
  • Wer: 0.2860
Read the full model card

Evaluation Commands

  1. To evaluate on mozilla-foundation/common_voice_8_0 with test split

python eval.py --model_id DrishtiSharma/wav2vec2-large-xls-r-300m-bg-d2 --dataset mozilla-foundation/common_voice_8_0 --config bg --split test --log_outputs

  1. To evaluate on speech-recognition-community-v2/dev_data

python eval.py --model_id DrishtiSharma/wav2vec2-large-xls-r-300m-bg-d2 --dataset speech-recognition-community-v2/dev_data --config bg --split validation --chunk_length_s 10 --stride_length_s 1

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.00025
  • train_batch_size: 16
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 700
  • num_epochs: 35
  • mixed_precision_training: Native AMP

Training results

Training LossEpochStepValidation LossWer
6.87911.742003.19021.0
3.04413.484002.80980.9864
1.14995.226000.46680.5014
0.49686.968000.41620.4472
0.35538.710000.35800.3777
0.302710.4312000.34220.3506
0.256212.1714000.35560.3639
0.227213.9116000.36210.3583
0.212515.6518000.34360.3358
0.190417.3920000.36500.3545
0.169519.1322000.33660.3241
0.153220.8724000.35500.3311
0.145322.6126000.35820.3131
0.135924.3528000.35240.3084
0.123326.0930000.35030.2973
0.111427.8332000.34340.2946
0.105129.5734000.34740.2956
0.096531.336000.34260.2907
0.092333.0438000.34780.2894
0.089434.7840000.34210.2860

Framework versions

  • Transformers 4.16.2
  • Pytorch 1.10.0+cu111
  • Datasets 1.18.3
  • Tokenizers 0.11.0

From the published model card. Full card on the HuggingFace links in the sidebar.

Benchmarks

Reported results

As published on the model card — the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
Automatic Speech RecognitionCommon Voice 8Test WER0.288
Automatic Speech RecognitionCommon Voice 8Test CER0.069
Automatic Speech RecognitionRobust Speech Event - Dev DataTest WER0.498
Automatic Speech RecognitionRobust Speech Event - Dev DataTest CER0.159
Automatic Speech RecognitionRobust Speech Event - Test DataTest WER51.250

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys wav2vec2-large-xls-r-bg-d2 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (wav2vec2-large-xls-r-bg-d2 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -F model="wav2vec2-large-xls-r-bg-d2" -F file=@audio.mp3

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms