legacy-datasets/common_voice
Updated • 1.57k • 144
How to use birgermoell/common-voice-lithuanian-fairseq with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="birgermoell/common-voice-lithuanian-fairseq") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("birgermoell/common-voice-lithuanian-fairseq")
model = AutoModelForCTC.from_pretrained("birgermoell/common-voice-lithuanian-fairseq")