Instructions to use distil-whisper/distil-large-v3.5-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use distil-whisper/distil-large-v3.5-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'distil-whisper/distil-large-v3.5-ONNX');
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,5 +44,5 @@ const transcriber = await pipeline('automatic-speech-recognition', 'distil-whisp
|
|
| 44 |
|
| 45 |
const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/jfk.wav';
|
| 46 |
const output = await transcriber(url);
|
| 47 |
-
// { text: "
|
| 48 |
```
|
|
|
|
| 44 |
|
| 45 |
const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/jfk.wav';
|
| 46 |
const output = await transcriber(url);
|
| 47 |
+
// { text: "And so, my fellow Americans, ask not what your country can do for you. Ask what you can do for your country." }
|
| 48 |
```
|