google/fleurs
Viewer • Updated • 768k • 57.7k • 405
How to use shaeel12/whisper-tiny-urdu with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="shaeel12/whisper-tiny-urdu") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("shaeel12/whisper-tiny-urdu")
model = AutoModelForSpeechSeq2Seq.from_pretrained("shaeel12/whisper-tiny-urdu")This model was fine-tuned on a combination of the following speech corpuses:
Base model
openai/whisper-tiny