facebook / wav2vec2-large-xlsr-53-spanish

huggingface.co
Total runs: 1.3K
24-hour runs: 0
7-day runs: -2.4K
30-day runs: -86.8K
Model's Last Updated: 2021年7月6日
automatic-speech-recognition

Introduction of wav2vec2-large-xlsr-53-spanish

Model Details of wav2vec2-large-xlsr-53-spanish

Evaluation on Common Voice ES Test
import torchaudio
from datasets import load_dataset, load_metric
from transformers import (
    Wav2Vec2ForCTC,
    Wav2Vec2Processor,
)
import torch
import re
import sys

model_name = "facebook/wav2vec2-large-xlsr-53-spanish"
device = "cuda"

chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"]'  # noqa: W605

model = Wav2Vec2ForCTC.from_pretrained(model_name).to(device)
processor = Wav2Vec2Processor.from_pretrained(model_name)

ds = load_dataset("common_voice", "es", split="test", data_dir="./cv-corpus-6.1-2020-12-11")

resampler = torchaudio.transforms.Resample(orig_freq=48_000, new_freq=16_000)

def map_to_array(batch):
    speech, _ = torchaudio.load(batch["path"])
    batch["speech"] = resampler.forward(speech.squeeze(0)).numpy()
    batch["sampling_rate"] = resampler.new_freq
    batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower().replace("’", "'")
    return batch
    
ds = ds.map(map_to_array)

def map_to_pred(batch):
    features = processor(batch["speech"], sampling_rate=batch["sampling_rate"][0], padding=True, return_tensors="pt")
    input_values = features.input_values.to(device)
    attention_mask = features.attention_mask.to(device)
    with torch.no_grad():
        logits = model(input_values, attention_mask=attention_mask).logits
    pred_ids = torch.argmax(logits, dim=-1)
    batch["predicted"] = processor.batch_decode(pred_ids)
    batch["target"] = batch["sentence"]
    return batch
    
result = ds.map(map_to_pred, batched=True, batch_size=16, remove_columns=list(ds.features.keys()))

wer = load_metric("wer")

print(wer.compute(predictions=result["predicted"], references=result["target"]))

Result : 17.6 %

Runs of facebook wav2vec2-large-xlsr-53-spanish on huggingface.co

1.3K
Total runs
0
24-hour runs
-394
3-day runs
-2.4K
7-day runs
-86.8K
30-day runs

More Information About wav2vec2-large-xlsr-53-spanish huggingface.co Model

More wav2vec2-large-xlsr-53-spanish license Visit here:

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

wav2vec2-large-xlsr-53-spanish huggingface.co

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

wav2vec2-large-xlsr-53-spanish huggingface.co Url

https://huggingface.co/facebook/wav2vec2-large-xlsr-53-spanish

facebook wav2vec2-large-xlsr-53-spanish online free

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

facebook wav2vec2-large-xlsr-53-spanish online free url in huggingface.co:

https://huggingface.co/facebook/wav2vec2-large-xlsr-53-spanish

wav2vec2-large-xlsr-53-spanish install

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

wav2vec2-large-xlsr-53-spanish install url in huggingface.co:

https://huggingface.co/facebook/wav2vec2-large-xlsr-53-spanish

Url of wav2vec2-large-xlsr-53-spanish

wav2vec2-large-xlsr-53-spanish huggingface.co Url

Provider of wav2vec2-large-xlsr-53-spanish huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.2M
Run Growth: 98.1K
Growth Rate: 1.20%
Updated:2022年1月20日
huggingface.co

Total runs: 5.9M
Run Growth: -1.2M
Growth Rate: -20.72%
Updated:2023年9月15日
huggingface.co

Total runs: 3.1M
Run Growth: 6.1K
Growth Rate: 0.19%
Updated:2024年1月17日
huggingface.co

Total runs: 2.8M
Run Growth: -328.9K
Growth Rate: -11.88%
Updated:2023年9月6日
huggingface.co

Total runs: 2.1M
Run Growth: -459.4K
Growth Rate: -22.27%
Updated:2021年12月28日
huggingface.co

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

Total runs: 1.5M
Run Growth: -626.6K
Growth Rate: -41.05%
Updated:2023年3月23日
huggingface.co

Total runs: 1.1M
Run Growth: -1.1M
Growth Rate: -96.11%
Updated:2024年1月25日
huggingface.co

Total runs: 886.6K
Run Growth: 29.8K
Growth Rate: 3.35%
Updated:2023年9月6日
huggingface.co

Total runs: 533.6K
Run Growth: 75.1K
Growth Rate: 14.03%
Updated:2023年5月22日
huggingface.co

Total runs: 528.0K
Run Growth: 98.0K
Growth Rate: 18.56%
Updated:2025年3月17日
huggingface.co

Total runs: 365.2K
Run Growth: 246.8K
Growth Rate: 66.28%
Updated:2023年6月13日
huggingface.co

Total runs: 352.3K
Run Growth: -111.0K
Growth Rate: -30.74%
Updated:2024年2月29日
huggingface.co

Total runs: 343.7K
Run Growth: -4.0K
Growth Rate: -1.14%
Updated:2024年1月12日
huggingface.co

Total runs: 284.1K
Run Growth: -702
Growth Rate: -0.25%
Updated:2023年6月15日
huggingface.co

Total runs: 272.1K
Run Growth: -2.5K
Growth Rate: -0.92%
Updated:2024年1月12日
huggingface.co

Total runs: 249.0K
Run Growth: -31.7K
Growth Rate: -12.79%
Updated:2022年11月17日
huggingface.co

Total runs: 239.3K
Run Growth: 49.7K
Growth Rate: 21.70%
Updated:2023年2月12日
huggingface.co

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

Total runs: 188.0K
Run Growth: -132.9K
Growth Rate: -70.64%
Updated:2023年9月6日
huggingface.co

Total runs: 179.4K
Run Growth: -132.5K
Growth Rate: -75.65%
Updated:2023年9月15日
huggingface.co

Total runs: 147.0K
Run Growth: 29.2K
Growth Rate: 19.59%
Updated:2022年6月3日
huggingface.co

Total runs: 134.2K
Run Growth: -444.3K
Growth Rate: -302.13%
Updated:2024年4月10日
huggingface.co

Total runs: 122.7K
Run Growth: -17.5K
Growth Rate: -14.33%
Updated:2023年11月16日
huggingface.co

Total runs: 111.1K
Run Growth: -61.7K
Growth Rate: -55.92%
Updated:2023年5月22日
huggingface.co

Total runs: 99.3K
Run Growth: 51.1K
Growth Rate: 51.43%
Updated:2026年3月28日
huggingface.co

Total runs: 95.0K
Run Growth: 52.0K
Growth Rate: 54.68%
Updated:2025年12月9日
huggingface.co

Total runs: 82.1K
Run Growth: -113.2K
Growth Rate: -137.39%
Updated:2023年7月25日
huggingface.co

Total runs: 67.2K
Run Growth: -32.0K
Growth Rate: -47.55%
Updated:2023年9月15日
huggingface.co

Total runs: 57.7K
Run Growth: 48.2K
Growth Rate: 83.55%
Updated:2026年3月27日
huggingface.co

Total runs: 53.3K
Run Growth: -127.3K
Growth Rate: -234.75%
Updated:2023年9月6日
huggingface.co

Total runs: 51.5K
Run Growth: -106.7K
Growth Rate: -188.31%
Updated:2023年9月1日
huggingface.co

Total runs: 47.7K
Run Growth: -44.5K
Growth Rate: -92.47%
Updated:2023年2月12日
huggingface.co

Total runs: 42.0K
Run Growth: 27.2K
Growth Rate: 65.31%
Updated:2024年10月16日
huggingface.co

Total runs: 41.0K
Run Growth: 5.3K
Growth Rate: 13.16%
Updated:2023年6月13日
huggingface.co

Total runs: 38.2K
Run Growth: -23.9K
Growth Rate: -70.38%
Updated:2023年1月25日
huggingface.co

Total runs: 37.7K
Run Growth: -8.7K
Growth Rate: -23.19%
Updated:2026年1月21日
huggingface.co

Total runs: 37.0K
Run Growth: -8.2K
Growth Rate: -21.83%
Updated:2024年3月13日