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
Added speculative decoding notebook
Browse files
README.md
CHANGED
|
@@ -309,7 +309,7 @@ To enhance safety, we recommend using granite-4.0-1b-speech alongside Granite Gu
|
|
| 309 |
|
| 310 |
**Resources**
|
| 311 |
- 📄 Read the technical report: https://arxiv.org/abs/2505.08699
|
| 312 |
-
- 🔧
|
| 313 |
- ⭐️ Learn about the latest updates with Granite: https://www.ibm.com/granite
|
| 314 |
- 🚀 Get started with tutorials, best practices, and prompt engineering advice: https://www.ibm.com/granite/docs/
|
| 315 |
- 💡 Learn about the latest Granite learning resources: https://ibm.biz/granite-learning-resources
|
|
|
|
| 309 |
|
| 310 |
**Resources**
|
| 311 |
- 📄 Read the technical report: https://arxiv.org/abs/2505.08699
|
| 312 |
+
- 🔧 Notebooks: [Speculative decoding](https://github.com/ibm-granite/granite-speech-models/blob/main/notebooks/speculative_decoding_notebook.ipynb), [finetune on custom data](https://github.com/ibm-granite/granite-speech-models/blob/main/notebooks/fine_tuning_granite_speech.ipynb)
|
| 313 |
- ⭐️ Learn about the latest updates with Granite: https://www.ibm.com/granite
|
| 314 |
- 🚀 Get started with tutorials, best practices, and prompt engineering advice: https://www.ibm.com/granite/docs/
|
| 315 |
- 💡 Learn about the latest Granite learning resources: https://ibm.biz/granite-learning-resources
|