Instructions to use ibm-granite/granite-4.0-1b-speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ibm-granite/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="ibm-granite/granite-4.0-1b-speech")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ibm-granite/granite-4.0-1b-speech") model = AutoModelForMultimodalLM.from_pretrained("ibm-granite/granite-4.0-1b-speech", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
efe09cb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cbc16c9712d1174fa77dcfba36b6bfa32961ec6c713d9494fce8d61b657809be
size 2143963456
|