upload model d0d02c2
thomas880104 commited on
How to use thomas0104/whisper_medium_nan_tw with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="thomas0104/whisper_medium_nan_tw") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("thomas0104/whisper_medium_nan_tw")
model = AutoModelForSpeechSeq2Seq.from_pretrained("thomas0104/whisper_medium_nan_tw")