MoneerProject/warsh_quran_audio_train
Viewer • Updated • 13k • 360
How to use MoneerProject/whisper-small-quran-5 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="MoneerProject/whisper-small-quran-5") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("MoneerProject/whisper-small-quran-5")
model = AutoModelForSpeechSeq2Seq.from_pretrained("MoneerProject/whisper-small-quran-5", device_map="auto")The following hyperparameters were used during training:
Base model
openai/whisper-small