Add the GGML model 3d13bc3
Marcin Mielniczuk commited on
How to use bardsai/whisper-medium-pl with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="bardsai/whisper-medium-pl") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("bardsai/whisper-medium-pl")
model = AutoModelForSpeechSeq2Seq.from_pretrained("bardsai/whisper-medium-pl", device_map="auto")