# PreTrain Wav2Vec2 in Spanish

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763%3E%5C
**Category:** Flax/JAX Projects\
**Created:** [June 30, 2021, 5:29pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763 "2021-06-30T17:29:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariagrandury](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariagrandury/32/27732_2.png) [@mariagrandury](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmariagrandury)%5C
**Post date:** [June 30, 2021, 5:29pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763%2F1 "2021-06-30T17:29:06Z")

</div>

# PreTrain Wav2Vec2 in Spanish

There is currently only a multilingually pretrained model for Spanish Wav2Vec2. Let’s make a Wav2Vec2 only pretrained on Spanish.

## Model

A randomly initialized Wav2Vec2 model.

## Datasets

We can use the Spanish portion of [Common Voice](https://commonvoice.mozilla.org/en/languages). The dataset is available through the `datasets` library here: [common\_voice · Datasets at Hugging Face](https://huggingface.co/datasets/common_voice).

## Available training scripts

FlaxWav2Vec2 will be merged soon: [[Flax] Add wav2vec2 by patrickvonplaten · Pull Request #12271 · huggingface/transformers · GitHub ](https://github.com/huggingface/transformers/pull/12271) and a pretraining script should be relatively easy to be merged.

## (Optional) Desired project outcome

The best Spanish ASR model.

## (Optional) Challenges

It would be nice to use more data than just the Common Voice dataset.

---

<div class="post-metadata">

**Author:** ![mrm8488](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mrm8488/32/5836_2.png) [@mrm8488](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmrm8488)%5C
**Post date:** [June 30, 2021, 5:31pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763%2F2 "2021-06-30T17:31:51Z")

</div>

I am in!  
cc: @patrickvonplaten @valhalla

---

<div class="post-metadata">

**Author:** ![valhalla](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/valhalla/32/4179_2.png) [@valhalla](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fvalhalla)%5C
**Post date:** [June 30, 2021, 5:42pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763%2F3 "2021-06-30T17:42:18Z")

</div>

Awesome, added you both to the team 🙂

---

<div class="post-metadata">

**Author:** ![edugp](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/edugp/32/2025_2.png) [@edugp](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fedugp)%5C
**Post date:** [June 30, 2021, 7:12pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763%2F4 "2021-06-30T19:12:20Z")

</div>

I am interested on this one as well, if there’s still time to join! 🙂

---

<div class="post-metadata">

**Author:** ![pcuenq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/pcuenq/32/32135_2.png) [@pcuenq](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpcuenq)%5C
**Post date:** [July 1, 2021, 12:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpretrain-wav2vec2-in-spanish%2F7763%2F5 "2021-07-01T12:22:46Z")

</div>

I took part in the Wav2Vec2 fine-tuning week for Spanish, this is [my forum post](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspanish-asr-fine-tuning-wav2vec2%2F4586). My [model card](https://huggingface.co/pcuenq/wav2vec2-large-xlsr-53-es) describes some of the pre-processing and training steps I took.

It would be awesome to create a pretrained model using Jax/Flax. I’m not sure I’ll have the time to take part in this one (I already signed up for a different project, and I know nothing about Jax), but I’ll try to follow your discussions if I can. Good luck!
