Instructions to use Workmind/moonshine-streaming-small-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Workmind/moonshine-streaming-small-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'Workmind/moonshine-streaming-small-ONNX');
| { | |
| "do_normalize": false, | |
| "feature_extractor_type": "Wav2Vec2FeatureExtractor", | |
| "feature_size": 1, | |
| "pad_to_multiple_of": 80, | |
| "padding_side": "right", | |
| "padding_value": 0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000, | |
| "processor_class": "MoonshineProcessor" | |
| } | |