google/fleurs
Viewer • Updated • 768k • 58.2k • 405
How to use biodatlab/aug-whisper-medium-th-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="biodatlab/aug-whisper-medium-th-base") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("biodatlab/aug-whisper-medium-th-base")
model = AutoModelForSpeechSeq2Seq.from_pretrained("biodatlab/aug-whisper-medium-th-base")