google/fleurs
Viewer โข Updated โข 768k โข 216k โข 541
How to use Qulabarzi21/whisper-small-ckb-fleurs with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Qulabarzi21/whisper-small-ckb-fleurs") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Qulabarzi21/whisper-small-ckb-fleurs")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Qulabarzi21/whisper-small-ckb-fleurs", device_map="auto")Base model
openai/whisper-small