Training in progress, step 500 3e3a1e8
Rasmus Pallisgaard commited on
How to use Pallisgaard/whisper-small-dv with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Pallisgaard/whisper-small-dv") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Pallisgaard/whisper-small-dv")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Pallisgaard/whisper-small-dv", device_map="auto")