# Wav2Vec2-Large-Robust - Finetuned on Switchboard (300 hours)

## Note : Model has not been initialized. If you want to use it without further finetuning, do a forward pass first to recalculate the normalized weights of the positional convolutional layer :

 with torch.no_grad():
model(torch.randn((1,300_000)))


The base model pretrained on 16kHz sampled speech audio. Speech datasets from multiple domains were used to pretrain the model:

• Libri-Light: open-source audio books from the LibriVox project; clean, read-out audio data
• CommonVoice: crowd-source collected audio data; read-out text snippets
• Switchboard: telephone speech corpus; noisy telephone data
• Fisher: conversational telephone speech; noisy telephone data

When using the model make sure that your speech input is also sampled at 16Khz. Check out this blog for more information.

Paper Robust Wav2Vec2

Authors: Wei-Ning Hsu, Anuroop Sriram, Alexei Baevski, Tatiana Likhomanenko, Qiantong Xu, Vineel Pratap, Jacob Kahn, Ann Lee, Ronan Collobert, Gabriel Synnaeve, Michael Auli

Abstract Self-supervised learning of speech representations has been a very active research area but most work is focused on a single domain such as read audio books for which there exist large quantities of labeled and unlabeled data. In this paper, we explore more general setups where the domain of the unlabeled data for pre-training data differs from the domain of the labeled data for fine-tuning, which in turn may differ from the test data domain. Our experiments show that using target domain data during pre-training leads to large performance improvements across a variety of setups. On a large-scale competitive setup, we show that pre-training on unlabeled in-domain data reduces the gap between models trained on in-domain and out-of-domain labeled data by 66%-73%. This has obvious practical implications since it is much easier to obtain unlabeled target domain data than labeled data. Moreover, we find that pre-training on multiple domains improves generalization performance on domains not seen during training. Code and models will be made available at this https URL. The original model can be found under https://github.com/pytorch/fairseq/tree/master/examples/wav2vec#wav2vec-20.

# Usage

See this notebook for more information on how to fine-tune the model.