google/fleurs
Viewer • Updated • 768k • 57.2k • 402
How to use Vira21/whisper-tiny-khmer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Vira21/whisper-tiny-khmer") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Vira21/whisper-tiny-khmer")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Vira21/whisper-tiny-khmer")# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Vira21/whisper-tiny-khmer")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Vira21/whisper-tiny-khmer")Base model
openai/whisper-tiny
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Vira21/whisper-tiny-khmer")