Run this model with HF Jobs
Run Xenova/nb-whisper-tiny-beta on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Xenova/nb-whisper-tiny-beta. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Xenova/nb-whisper-tiny-beta on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Xenova/nb-whisper-tiny-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/nb-whisper-tiny-beta with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'Xenova/nb-whisper-tiny-beta');
Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#1)
Browse files- Add/update the quantized ONNX model files and README.md for Transformers.js v3 (f2008c1d52e9c3416d91a28d8e44bfa27f896bac)
Co-authored-by: Yuichiro Tachibana <whitphx@users.noreply.huggingface.co>
Files changed (17)
- README.md+17
- onnx/decoder_model_bnb4.onnxAdded+3
- onnx/decoder_model_fp16.onnxAdded+3
- onnx/decoder_model_int8.onnxAdded+3
- onnx/decoder_model_q4.onnxAdded+3
- onnx/decoder_model_q4f16.onnxAdded+3
- onnx/decoder_model_uint8.onnxAdded+3
- onnx/decoder_with_past_model_bnb4.onnxAdded+3
- onnx/decoder_with_past_model_fp16.onnxAdded+3
- onnx/decoder_with_past_model_int8.onnxAdded+3
- onnx/decoder_with_past_model_q4.onnxAdded+3
- onnx/decoder_with_past_model_q4f16.onnxAdded+3
- onnx/decoder_with_past_model_uint8.onnxAdded+3
- onnx/encoder_model_bnb4.onnxAdded+3
- onnx/encoder_model_q4.onnxAdded+3
- onnx/encoder_model_q4f16.onnxAdded+3
- onnx/encoder_model_uint8.onnxAdded+3
4 unmodified lines56784 unmodified lineshttps://huggingface.co/NbAiLab/nb-whisper-tiny-beta with ONNX weights to be compatible with Transformers.js.Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using [🤗 Optimum](https://huggingface.co/docs/optimum/index) and structuring your repo like this one (with ONNX weights located in a subfolder named `onnx`).4 unmodified lines56789101112131415161718192021222324254 unmodified lineshttps://huggingface.co/NbAiLab/nb-whisper-tiny-beta with ONNX weights to be compatible with Transformers.js.## Usage (Transformers.js)If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:```bashnpm i @huggingface/transformers```**Example:** Transcribe audio from a URL.```jsimport { pipeline } from '@huggingface/transformers';const transcriber = await pipeline('automatic-speech-recognition', 'Xenova/nb-whisper-tiny-beta');const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/jfk.wav';const output = await transcriber(url);```Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using [🤗 Optimum](https://huggingface.co/docs/optimum/index) and structuring your repo like this one (with ONNX weights located in a subfolder named `onnx`).
123version https://git-lfs.github.com/spec/v1oid sha256:a05f650b77a656a9c624201ea9f5dbcc6602b361d32a55c3811e38576f8a30casize 85954063123version https://git-lfs.github.com/spec/v1oid sha256:d9543ae2bc0a6bd1ac37fb4bc9139bdd2b005861e2216f9f8824fcdcfea36472size 59284531123version https://git-lfs.github.com/spec/v1oid sha256:fa66bf887b92be53c48160c5b5f86d00035441c46bfc659afd21ceac014b4212size 110041957123version https://git-lfs.github.com/spec/v1oid sha256:d556997d05881fdc8b2c6d414b1b2371aef0d668b1ad4d31c4e3c68846d1e4absize 86543639123version https://git-lfs.github.com/spec/v1oid sha256:df8eebcd258d3eaf78a60bd91d34ad7265ffcd257faaa075c289c1258b61016asize 45724502123version https://git-lfs.github.com/spec/v1oid sha256:00fde4796b7c2dd14e4e0309e5b26b87905638934552b80d51ee9cfe3d49f8dfsize 110041984123version https://git-lfs.github.com/spec/v1oid sha256:9bd1331ccf5eb253a6ad061b5c906f1f69322ae79c98f58983c5197f575b27aasize 85287005123version https://git-lfs.github.com/spec/v1oid sha256:a846b48f977c14ea6c12ec52aa78ec24b1e3dde4c2ffaa1c287dd6ab79579917size 56928509123version https://git-lfs.github.com/spec/v1oid sha256:8d46ada688ffef07d343f43c9f351a97f07107b6692eb9ceb3ca2758640edf66size 108852032123version https://git-lfs.github.com/spec/v1oid sha256:9ee6f175f1779f7389dfe869f4b6f15a1a054eba0d75754a69e3e64e4b77f876size 85802901123version https://git-lfs.github.com/spec/v1oid sha256:74bd531ec1a244b407460b88a9c24143970b61a038549163f7e994891314b63csize 45063048123version https://git-lfs.github.com/spec/v1oid sha256:a7819a95be70d526d1b769f110430a6ccd336a5de305efd4f31e13f46c46f5d5size 108852053123version https://git-lfs.github.com/spec/v1oid sha256:ed659ec3be96837e7d02aa80496b92b7a72429e0e2b41fac44e77c646a7d7a54size 8563828123version https://git-lfs.github.com/spec/v1oid sha256:304e25ce6b773300994198ce391af74f99d655c80c4a7f3c57a2e783c9994a69size 9006044123version https://git-lfs.github.com/spec/v1oid sha256:cc7078cc09f95d410a8ac7271cc6340cdc585fec039086407611cafaa1d26e9esize 6303086123version https://git-lfs.github.com/spec/v1oid sha256:bc1a3aed2176b2849fa14ca32485a1c0a2471056b5df132411701c1c8b109f76size 10079602README.md+17
onnx/decoder_model_bnb4.onnxAdded+3
onnx/decoder_model_fp16.onnxAdded+3
onnx/decoder_model_int8.onnxAdded+3
onnx/decoder_model_q4.onnxAdded+3
onnx/decoder_model_q4f16.onnxAdded+3
onnx/decoder_model_uint8.onnxAdded+3
onnx/decoder_with_past_model_bnb4.onnxAdded+3
onnx/decoder_with_past_model_fp16.onnxAdded+3
onnx/decoder_with_past_model_int8.onnxAdded+3
onnx/decoder_with_past_model_q4.onnxAdded+3
onnx/decoder_with_past_model_q4f16.onnxAdded+3
onnx/decoder_with_past_model_uint8.onnxAdded+3
onnx/encoder_model_bnb4.onnxAdded+3
onnx/encoder_model_q4.onnxAdded+3
onnx/encoder_model_q4f16.onnxAdded+3
onnx/encoder_model_uint8.onnxAdded+3