Automatic Speech Recognition
Transformers
Safetensors
German
moonshine_streaming
moonshine
streaming
asr
german
Instructions to use moonshine-ai/moonshine-streaming-tiny-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moonshine-ai/moonshine-streaming-tiny-de with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="moonshine-ai/moonshine-streaming-tiny-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("moonshine-ai/moonshine-streaming-tiny-de") model = AutoModelForSpeechSeq2Seq.from_pretrained("moonshine-ai/moonshine-streaming-tiny-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from moonshine-ai/moonshine-streaming-tiny-de: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/moonshine-ai/moonshine-streaming-tiny-de/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://moonshine-ai/moonshine-streaming-tiny-de/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/moonshine-ai/moonshine-streaming-tiny-de/resolve/main/preprocessor_config.json
195 Bytes
| { | |
| "feature_extractor_type": "Wav2Vec2FeatureExtractor", | |
| "sampling_rate": 16000, | |
| "padding_value": 0.0, | |
| "do_normalize": false, | |
| "return_attention_mask": true, | |
| "pad_to_multiple_of": 80 | |
| } | |