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")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("aoiandroid/granite-4.0-1b-speech") model = AutoModelForMultimodalLM.from_pretrained("aoiandroid/granite-4.0-1b-speech", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from aoiandroid/granite-4.0-1b-speech: direct link, hf CLI and curl.
- Browser
- Download file 7.15 MB
-
https://huggingface.co/aoiandroid/granite-4.0-1b-speech/resolve/main/tokenizer.json
- Command line
-
hf download hf://aoiandroid/granite-4.0-1b-speech/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/aoiandroid/granite-4.0-1b-speech/resolve/main/tokenizer.json
7.15 MB
File too large to display, you can check the raw version instead.