File size: 800 Bytes
4d3fffb b36c268 4d3fffb b36c268 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
license: apache-2.0
small_model: KBLab/kb-whisper-small
library_name: transformers.js
---
# kb-whisper-small-onnx
This is a conversion of KBLab's [kb-whisper-small](https://huggingface.co/KBLab/kb-whisper-small) model to the [ONNX](https://onnx.ai) format with the [🤗 Optimum](https://huggingface.co/docs/optimum/index) library.
This conversion allows to use the model in the browser using [🤗 Transformers.js](https://huggingface.co/docs/transformers.js/en/index).
## How to convert the model yourself
Clone 🤗 Transformers.js:
```bash
git clone https://github.com/huggingface/transformers.js.git
cd transformers.js
pip install -r scripts/requirements.txt
```
Then run:
```bash
python -m scripts.convert --quantize --model_id KBLab/kb-whisper-small
```
|