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
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "</s>", | |
| "processor_class": "Wav2Vec2Processor", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |