First model version 33fd6fc
Jakob Poncelet commited on
How to use kul-speech-lab/whisper_small_CGN with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="kul-speech-lab/whisper_small_CGN") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("kul-speech-lab/whisper_small_CGN")
model = AutoModelForSpeechSeq2Seq.from_pretrained("kul-speech-lab/whisper_small_CGN")