legacy-datasets/common_voice
Updated • 1.55k • 145
How to use flax-community/wav2vec2-base-persian with Transformers:
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM
processor = AutoProcessor.from_pretrained("flax-community/wav2vec2-base-persian")
model = AutoModelForMultimodalLM.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.