google/fleurs
Viewer • Updated • 768k • 57.2k • 402
How to use ihanif/whisper-small-ps with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="ihanif/whisper-small-ps") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("ihanif/whisper-small-ps")
model = AutoModelForSpeechSeq2Seq.from_pretrained("ihanif/whisper-small-ps") This is an initial attempt to finetune whisper-small for the Pashto language (ps) as a part of Whisper Event. Fine-tuning started on 06 December 2022 at 15:38 GMT