--- license: apache-2.0 base_model: NbAiLab/nb-whisper-small library_name: transformers.js --- # nb-whisper-small-ONNX This is a conversion of NBAiLab's [nb-whisper-small](https://huggingface.co/NbAiLab/nb-whisper-small) model to the [ONNX](https://onnx.ai) format. 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 ### Option 1: Use the ONXX community space Just follow the instructions at [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx). ### Option 2: Local conversion 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 NbAiLab/nb-whisper-small ```