Upload 21 files 1570bf2 verified
Jssug drygege commited on
How to use gitmbio/test with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="gitmbio/test") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("gitmbio/test")
model = AutoModelForSpeechSeq2Seq.from_pretrained("gitmbio/test", device_map="auto")