facebook / wav2vec2-large-960h-lv60-self

huggingface.co
Total runs: 104.9K
24-hour runs: 0
7-day runs: 8.3K
30-day runs: 45.3K
Model's Last Updated: 2022年5月24日
automatic-speech-recognition

Introduction of wav2vec2-large-960h-lv60-self

Model Details of wav2vec2-large-960h-lv60-self

Wav2Vec2-Large-960h-Lv60 + Self-Training

Facebook's Wav2Vec2

The large model pretrained and fine-tuned on 960 hours of Libri-Light and Librispeech on 16kHz sampled speech audio. Model was trained with Self-Training objective . When using the model make sure that your speech input is also sampled at 16Khz.

Paper

Authors: Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, Michael Auli

Abstract

We show for the first time that learning powerful representations from speech audio alone followed by fine-tuning on transcribed speech can outperform the best semi-supervised methods while being conceptually simpler. wav2vec 2.0 masks the speech input in the latent space and solves a contrastive task defined over a quantization of the latent representations which are jointly learned. Experiments using all labeled data of Librispeech achieve 1.8/3.3 WER on the clean/other test sets. When lowering the amount of labeled data to one hour, wav2vec 2.0 outperforms the previous state of the art on the 100 hour subset while using 100 times less labeled data. Using just ten minutes of labeled data and pre-training on 53k hours of unlabeled data still achieves 4.8/8.2 WER. This demonstrates the feasibility of speech recognition with limited amounts of labeled data.

The original model can be found under https://github.com/pytorch/fairseq/tree/master/examples/wav2vec#wav2vec-20 .

Usage

To transcribe audio files the model can be used as a standalone acoustic model as follows:

 from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
 from datasets import load_dataset
 import torch
 
 # load model and processor
 processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-large-960h-lv60-self")
 model = Wav2Vec2ForCTC.from_pretrained("facebook/wav2vec2-large-960h-lv60-self")
     
 # load dummy dataset and read soundfiles
 ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
 
 # tokenize
 input_values = processor(ds[0]["audio"]["array"], return_tensors="pt", padding="longest").input_values
 
 # retrieve logits
 logits = model(input_values).logits
 
 # take argmax and decode
 predicted_ids = torch.argmax(logits, dim=-1)
 transcription = processor.batch_decode(predicted_ids)
Evaluation

This code snippet shows how to evaluate facebook/wav2vec2-large-960h-lv60-self on LibriSpeech's "clean" and "other" test data.

from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import torch
from jiwer import wer


librispeech_eval = load_dataset("librispeech_asr", "clean", split="test")

model = Wav2Vec2ForCTC.from_pretrained("facebook/wav2vec2-large-960h-lv60-self").to("cuda")
processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-large-960h-lv60-self")

def map_to_pred(batch):
    inputs = processor(batch["audio"]["array"], return_tensors="pt", padding="longest")
    input_values = inputs.input_values.to("cuda")
    attention_mask = inputs.attention_mask.to("cuda")
    
    with torch.no_grad():
        logits = model(input_values, attention_mask=attention_mask).logits

    predicted_ids = torch.argmax(logits, dim=-1)
    transcription = processor.batch_decode(predicted_ids)
    batch["transcription"] = transcription
    return batch

result = librispeech_eval.map(map_to_pred, remove_columns=["audio"])

print("WER:", wer(result["text"], result["transcription"]))

Result (WER) :

"clean" "other"
1.9 3.9

Runs of facebook wav2vec2-large-960h-lv60-self on huggingface.co

104.9K
Total runs
0
24-hour runs
0
3-day runs
8.3K
7-day runs
45.3K
30-day runs

More Information About wav2vec2-large-960h-lv60-self huggingface.co Model

More wav2vec2-large-960h-lv60-self license Visit here:

https://choosealicense.com/licenses/apache-2.0

wav2vec2-large-960h-lv60-self huggingface.co

wav2vec2-large-960h-lv60-self huggingface.co is an AI model on huggingface.co that provides wav2vec2-large-960h-lv60-self's model effect (), which can be used instantly with this facebook wav2vec2-large-960h-lv60-self model. huggingface.co supports a free trial of the wav2vec2-large-960h-lv60-self model, and also provides paid use of the wav2vec2-large-960h-lv60-self. Support call wav2vec2-large-960h-lv60-self model through api, including Node.js, Python, http.

wav2vec2-large-960h-lv60-self huggingface.co Url

https://huggingface.co/facebook/wav2vec2-large-960h-lv60-self

facebook wav2vec2-large-960h-lv60-self online free

wav2vec2-large-960h-lv60-self huggingface.co is an online trial and call api platform, which integrates wav2vec2-large-960h-lv60-self's modeling effects, including api services, and provides a free online trial of wav2vec2-large-960h-lv60-self, you can try wav2vec2-large-960h-lv60-self online for free by clicking the link below.

facebook wav2vec2-large-960h-lv60-self online free url in huggingface.co:

https://huggingface.co/facebook/wav2vec2-large-960h-lv60-self

wav2vec2-large-960h-lv60-self install

wav2vec2-large-960h-lv60-self is an open source model from GitHub that offers a free installation service, and any user can find wav2vec2-large-960h-lv60-self on GitHub to install. At the same time, huggingface.co provides the effect of wav2vec2-large-960h-lv60-self install, users can directly use wav2vec2-large-960h-lv60-self installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

wav2vec2-large-960h-lv60-self install url in huggingface.co:

https://huggingface.co/facebook/wav2vec2-large-960h-lv60-self

Url of wav2vec2-large-960h-lv60-self

wav2vec2-large-960h-lv60-self huggingface.co Url

Provider of wav2vec2-large-960h-lv60-self huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.3M
Run Growth: -9.0M
Growth Rate: -107.03%
Updated:2023年9月15日
huggingface.co

Total runs: 8.0M
Run Growth: 386.1K
Growth Rate: 4.83%
Updated:2022年1月20日
huggingface.co

Total runs: 4.0M
Run Growth: -137.2K
Growth Rate: -3.32%
Updated:2023年9月6日
huggingface.co

Total runs: 3.2M
Run Growth: 997.1K
Growth Rate: 30.98%
Updated:2024年1月17日
huggingface.co

Total runs: 2.8M
Run Growth: -507.9K
Growth Rate: -18.04%
Updated:2021年12月28日
huggingface.co

Total runs: 2.3M
Run Growth: 847.1K
Growth Rate: 36.55%
Updated:2024年1月25日
huggingface.co

Total runs: 2.1M
Run Growth: 84.5K
Growth Rate: 4.27%
Updated:2023年3月23日
huggingface.co

Total runs: 1.9M
Run Growth: 40.7K
Growth Rate: 2.04%
Updated:2025年11月21日
huggingface.co

Total runs: 696.7K
Run Growth: -225.4K
Growth Rate: -32.23%
Updated:2023年9月6日
huggingface.co

Total runs: 483.5K
Run Growth: -117.9K
Growth Rate: -24.39%
Updated:2023年5月22日
huggingface.co

Total runs: 441.6K
Run Growth: 70.8K
Growth Rate: 16.61%
Updated:2024年2月29日
huggingface.co

Total runs: 429.4K
Run Growth: -69.0K
Growth Rate: -16.06%
Updated:2025年3月17日
huggingface.co

Total runs: 416.2K
Run Growth: -121.6K
Growth Rate: -28.61%
Updated:2024年1月12日
huggingface.co

Total runs: 358.3K
Run Growth: -46.6K
Growth Rate: -12.80%
Updated:2024年1月12日
huggingface.co

Total runs: 313.7K
Run Growth: 35.6K
Growth Rate: 11.28%
Updated:2023年9月15日
huggingface.co

Total runs: 308.9K
Run Growth: 26.6K
Growth Rate: 8.63%
Updated:2022年11月17日
huggingface.co

Total runs: 308.8K
Run Growth: -9.4K
Growth Rate: -3.09%
Updated:2023年9月6日
huggingface.co

Total runs: 284.1K
Run Growth: 76.5K
Growth Rate: 26.97%
Updated:2023年6月15日
huggingface.co

Total runs: 263.4K
Run Growth: 138.9K
Growth Rate: 53.10%
Updated:2023年5月22日
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:2024年7月23日
huggingface.co

Total runs: 218.6K
Run Growth: -133.6K
Growth Rate: -58.12%
Updated:2023年7月25日
huggingface.co

Total runs: 190.3K
Run Growth: 111.7K
Growth Rate: 57.72%
Updated:2023年2月12日
huggingface.co

Total runs: 176.5K
Run Growth: 67.9K
Growth Rate: 40.58%
Updated:2023年9月6日
huggingface.co

Total runs: 173.6K
Run Growth: -235.8K
Growth Rate: -137.83%
Updated:2023年11月17日
huggingface.co

Total runs: 163.1K
Run Growth: 6.0K
Growth Rate: 3.67%
Updated:2023年9月1日
huggingface.co

Total runs: 149.2K
Run Growth: 132.6K
Growth Rate: 87.56%
Updated:2023年11月16日
huggingface.co

Total runs: 125.6K
Run Growth: 6.5K
Growth Rate: 5.13%
Updated:2022年6月3日
huggingface.co

Total runs: 114.2K
Run Growth: 19.4K
Growth Rate: 16.18%
Updated:2023年6月13日
huggingface.co

Total runs: 111.8K
Run Growth: -16.1K
Growth Rate: -15.73%
Updated:2023年9月15日
huggingface.co

Total runs: 110.9K
Run Growth: 16.2K
Growth Rate: 15.89%
Updated:2023年11月20日
huggingface.co

Total runs: 110.1K
Run Growth: 17.7K
Growth Rate: 17.30%
Updated:2023年1月25日
huggingface.co

Total runs: 102.3K
Run Growth: 18.7K
Growth Rate: 18.83%
Updated:2024年7月2日
huggingface.co

Total runs: 96.6K
Run Growth: -212.3K
Growth Rate: -201.98%
Updated:2023年6月13日
huggingface.co

Total runs: 84.3K
Run Growth: 43.5K
Growth Rate: 65.57%
Updated:2023年2月12日
huggingface.co

Total runs: 60.1K
Run Growth: -13.7K
Growth Rate: -22.87%
Updated:2026年3月28日
huggingface.co

Total runs: 59.0K
Run Growth: 16.6K
Growth Rate: 27.79%
Updated:2023年1月25日
huggingface.co

Total runs: 57.4K
Run Growth: 15.7K
Growth Rate: 25.40%
Updated:2023年6月13日
huggingface.co

Total runs: 55.2K
Run Growth: -14.7K
Growth Rate: -26.55%
Updated:2026年1月29日
huggingface.co

Total runs: 49.4K
Run Growth: 4.4K
Growth Rate: 8.89%
Updated:2024年3月13日