Views
No views yet
| Model | Params / M | Rel. RTFx | Short-Form OOD WER | Long-Form OOD WER |
|---|---|---|---|---|
| large-v3-turbo | 809 | 1.0 | 7.30 | 10.25 |
| distil-large-v3 | 756 | 1.44 | 7.53 | 11.6 |
| distil-large-v3.5 | 756 | 1.46 | 7.08 | 11.39 |
npm i @huggingface/transformers1import { pipeline } from '@huggingface/transformers';
2
3const transcriber = await pipeline('automatic-speech-recognition', 'distil-whisper/distil-large-v3.5-ONNX');
4
5const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/jfk.wav';
6const output = await transcriber(url);
7// { text: "And so, my fellow Americans, ask not what your country can do for you. Ask what you can do for your country." }