Patil/Marathi_voices
Viewer • Updated • 5.08k • 82 • 5
How to use Patil/wav2vec2-large-xlsr-53-marathi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Patil/wav2vec2-large-xlsr-53-marathi") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("Patil/wav2vec2-large-xlsr-53-marathi")
model = AutoModelForCTC.from_pretrained("Patil/wav2vec2-large-xlsr-53-marathi")