mitermix/audiosnippets_long_2_8M
Updated • 3.69k • 2
How to use mkrausio/whisper-captioning-tiny-v0.1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="mkrausio/whisper-captioning-tiny-v0.1") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("mkrausio/whisper-captioning-tiny-v0.1")
model = AutoModelForSpeechSeq2Seq.from_pretrained("mkrausio/whisper-captioning-tiny-v0.1")