update model card README.md 6730811
Karan Chand commited on
How to use KaranChand/wav2vec2-XLSR-ft-10 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="KaranChand/wav2vec2-XLSR-ft-10", device_map="auto") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("KaranChand/wav2vec2-XLSR-ft-10")
model = AutoModelForCTC.from_pretrained("KaranChand/wav2vec2-XLSR-ft-10", device_map="auto")