Instructions to use Matir/granite-speech-4.1-2b-plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Matir/granite-speech-4.1-2b-plus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Matir/granite-speech-4.1-2b-plus")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Matir/granite-speech-4.1-2b-plus") model = AutoModelForMultimodalLM.from_pretrained("Matir/granite-speech-4.1-2b-plus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Matir/granite-speech-4.1-2b-plus: direct link, hf CLI and curl.
- Browser
- Download file 7.15 MB
-
https://huggingface.co/Matir/granite-speech-4.1-2b-plus/resolve/main/tokenizer.json
- Command line
-
hf download hf://Matir/granite-speech-4.1-2b-plus/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Matir/granite-speech-4.1-2b-plus/resolve/main/tokenizer.json
7.15 MB
File too large to display, you can check the raw version instead.