Swahili Model c99dd77
ManziBryan commited on
How to use MheniDevs/Swahili with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="MheniDevs/Swahili") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("MheniDevs/Swahili")
model = AutoModelForCTC.from_pretrained("MheniDevs/Swahili", device_map="auto")