flax-community / wav2vec2-german

huggingface.co
Total runs: 21
24-hour runs: 0
7-day runs: -4
30-day runs: 4
Model's Last Updated: Julio 14 2021

Introduction of wav2vec2-german

Model Details of wav2vec2-german

Wav2Vec2-german model

Facebook's Wav2Vec2

The base model pretrained on 16kHz sampled speech audio. When using the model make sure that your speech input is also sampled at 16Khz. Note that this model should be fine-tuned on a downstream task, like Automatic Speech Recognition. Check out this blog for more information.

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 .

Necessary installations:
  • sndfile library: sudo apt-get install libsndfile1-dev
  • ffmpeg: sudo apt install ffmpeg & pip install ffmpeg
Model description TODO: Update
How to use TODO: Update
from transformers import FlaxWav2Vec2Processor, TFWav2Vec2Model

model_id = "flax-community/wav2vec2-german"

from datasets import load_dataset
import soundfile as sf

processor = Wav2Vec2Processor.from_pretrained(model_id)
model = TFWav2Vec2Model.from_pretrained(model_id)

def map_to_array(batch):
    speech, _ = sf.read(batch["file"])
    batch["speech"] = speech
    return batch

ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
ds = ds.map(map_to_array)

input_values = processor(ds["speech"][0], return_tensors="flax").input_values  # Batch size 1
hidden_states = model(input_values).last_hidden_state
Training Data TODO: Update
Training Procedure TODO: Update

Runs of flax-community wav2vec2-german on huggingface.co

21
Total runs
0
24-hour runs
2
3-day runs
-4
7-day runs
4
30-day runs

More Information About wav2vec2-german huggingface.co Model

More wav2vec2-german license Visit here:

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

wav2vec2-german huggingface.co

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

flax-community wav2vec2-german online free

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

flax-community wav2vec2-german online free url in huggingface.co:

https://huggingface.co/flax-community/wav2vec2-german

wav2vec2-german install

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

wav2vec2-german install url in huggingface.co:

https://huggingface.co/flax-community/wav2vec2-german

Url of wav2vec2-german

Provider of wav2vec2-german huggingface.co

flax-community
ORGANIZATIONS

Other API from flax-community