legacy-datasets/common_voice
Updated • 1.52k • 144
How to use flax-community/wav2vec2-base-persian with Transformers:
# Load model directly
from transformers import AutoProcessor, AutoModelForPreTraining
processor = AutoProcessor.from_pretrained("flax-community/wav2vec2-base-persian")
model = AutoModelForPreTraining.from_pretrained("flax-community/wav2vec2-base-persian")This is part of the Flax/Jax Community Week, organized by HuggingFace and TPU usage sponsored by Google.