Instructions to use aomocelin/moonshine_tiny_pt_v06 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aomocelin/moonshine_tiny_pt_v06 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="aomocelin/moonshine_tiny_pt_v06")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("aomocelin/moonshine_tiny_pt_v06") model = AutoModelForSpeechSeq2Seq.from_pretrained("aomocelin/moonshine_tiny_pt_v06", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "decoder_start_token_id": 1, | |
| "do_sample": false, | |
| "early_stopping": true, | |
| "eos_token_id": [ | |
| 2 | |
| ], | |
| "length_penalty": 1.2, | |
| "max_length": 194, | |
| "no_repeat_ngram_size": 2, | |
| "num_beams": 5, | |
| "pad_token_id": 2, | |
| "repetition_penalty": 1.2, | |
| "transformers_version": "5.12.1" | |
| } | |