wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations
Paper โข 2006.11477 โข Published โข 10
Run dragonSwing/viwav2vec2-base-100h on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/dragonSwing/viwav2vec2-base-100h. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/dragonSwing/viwav2vec2-base-100h on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use dragonSwing/viwav2vec2-base-100h with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="dragonSwing/viwav2vec2-base-100h") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForPreTraining
processor = AutoProcessor.from_pretrained("dragonSwing/viwav2vec2-base-100h")
model = AutoModelForPreTraining.from_pretrained("dragonSwing/viwav2vec2-base-100h", device_map="auto")The base model is pre-trained on 16kHz sampled speech audio from 100h Vietnamese unlabelled data in VLSP dataset. 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 Vietnamese Automatic Speech Recognition. Facebook's Wav2Vec2 blog Paper
See this notebook for more information on how to fine-tune the English pre-trained model.