Instructions to use aoiandroid/granite-4.0-1b-speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aoiandroid/granite-4.0-1b-speech with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="aoiandroid/granite-4.0-1b-speech")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("aoiandroid/granite-4.0-1b-speech") model = AutoModelForSpeechSeq2Seq.from_pretrained("aoiandroid/granite-4.0-1b-speech") - Notebooks
- Google Colab
- Kaggle
File too large to display, you can check the raw version instead.