mozilla-foundation/common_voice_13_0
Updated โข 537 โข 6
How to use domebacsi/faster-whisper-small-hu with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="domebacsi/faster-whisper-small-hu") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("domebacsi/faster-whisper-small-hu")
model = AutoModelForSpeechSeq2Seq.from_pretrained("domebacsi/faster-whisper-small-hu", device_map="auto")