Transformers How to use ibm-granite/granite-speech-4.1-2b with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="ibm-granite/granite-speech-4.1-2b") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("ibm-granite/granite-speech-4.1-2b")
model = AutoModelForSpeechSeq2Seq.from_pretrained("ibm-granite/granite-speech-4.1-2b")