Instructions to use onnx-community/whisper-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/whisper-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'onnx-community/whisper-small');
Download tokenizer.json from onnx-community/whisper-small: direct link, hf CLI and curl.
- Browser
- Download file 2.48 MB
-
https://huggingface.co/onnx-community/whisper-small/resolve/main/tokenizer.json
- Command line
-
hf download hf://onnx-community/whisper-small/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/onnx-community/whisper-small/resolve/main/tokenizer.json
2.48 MB
File too large to display, you can check the raw version instead.