Instructions to use lyimo/moonshine-streaming-tiny-sw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lyimo/moonshine-streaming-tiny-sw with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="lyimo/moonshine-streaming-tiny-sw")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("lyimo/moonshine-streaming-tiny-sw") model = AutoModelForMultimodalLM.from_pretrained("lyimo/moonshine-streaming-tiny-sw") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "model_max_length": 4096, | |
| "pad_token": "<unk>", | |
| "processor_class": "MoonshineStreamingProcessor", | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>" | |
| } | |