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');
File size: 340 Bytes
bfd8beb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"feature_extractor": {
"do_normalize": false,
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
"feature_size": 1,
"pad_to_multiple_of": 80,
"padding_side": "right",
"padding_value": 0.0,
"return_attention_mask": true,
"sampling_rate": 16000
},
"processor_class": "MoonshineStreamingProcessor"
}
|