SpeechT5_Urhobo_to_English 242f94f verified
Peter Nosiama commited on
How to use urhoboteacher/results with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-audio", model="urhoboteacher/results") # Load model directly
from transformers import AutoProcessor, AutoModelForTextToSpectrogram
processor = AutoProcessor.from_pretrained("urhoboteacher/results")
model = AutoModelForTextToSpectrogram.from_pretrained("urhoboteacher/results", device_map="auto")