How to use tensorops/whisper-tiny-th with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="tensorops/whisper-tiny-th")
# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("tensorops/whisper-tiny-th") model = AutoModelForSpeechSeq2Seq.from_pretrained("tensorops/whisper-tiny-th")
What is a pickle import?
How to fix it?