Instructions to use onnx-community/granite-4.0-1b-speech-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/granite-4.0-1b-speech-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'onnx-community/granite-4.0-1b-speech-ONNX');
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 100257, | |
| "eos_token_id": 100257, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "pad_token_id": 100256, | |
| "transformers_version": "5.3.0.dev0", | |
| "use_cache": true | |
| } | |