--- 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 ```