Kennethdot/Ghana_English-Twi_Code-switching_Speech
Viewer • Updated • 54.9k • 121 • 4
How to use Kennethdot/kasanoma_whisper_depth6_onnx with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Kennethdot/kasanoma_whisper_depth6_onnx") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Kennethdot/kasanoma_whisper_depth6_onnx")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Kennethdot/kasanoma_whisper_depth6_onnx", device_map="auto")Base model
openai/whisper-small