legacy-datasets/common_voice
Updated • 1.82k • 146
How to use flax-community/wav2vec2-dhivehi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="flax-community/wav2vec2-dhivehi") # Load model directly
from transformers import AutoProcessor, AutoModelForPreTraining
processor = AutoProcessor.from_pretrained("flax-community/wav2vec2-dhivehi")
model = AutoModelForPreTraining.from_pretrained("flax-community/wav2vec2-dhivehi")