Instructions to use aomocelin/moonshine_tiny_pt_v08 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aomocelin/moonshine_tiny_pt_v08 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="aomocelin/moonshine_tiny_pt_v08")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("aomocelin/moonshine_tiny_pt_v08") model = AutoModelForSpeechSeq2Seq.from_pretrained("aomocelin/moonshine_tiny_pt_v08", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 343 Bytes
55e735a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"_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.13.0"
}
|