Instructions to use openlimi/Tunar-stt-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openlimi/Tunar-stt-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openlimi/Tunar-stt-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openlimi/Tunar-stt-tiny") model = AutoModelForSpeechSeq2Seq.from_pretrained("openlimi/Tunar-stt-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from openlimi/Tunar-stt-tiny: direct link, hf CLI and curl.
- Browser
- Download file 951 Bytes
-
https://huggingface.co/openlimi/Tunar-stt-tiny/resolve/main/config.json
- Command line
-
hf download hf://openlimi/Tunar-stt-tiny/config.json
-
curl -L -o config.json https://huggingface.co/openlimi/Tunar-stt-tiny/resolve/main/config.json
951 Bytes
| { | |
| "architectures": [ | |
| "MoonshineForConditionalGeneration" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "decoder_hidden_act": "silu", | |
| "decoder_num_attention_heads": 8, | |
| "decoder_num_hidden_layers": 6, | |
| "decoder_num_key_value_heads": 8, | |
| "decoder_start_token_id": 1, | |
| "dtype": "float32", | |
| "encoder_hidden_act": "gelu", | |
| "encoder_num_attention_heads": 8, | |
| "encoder_num_hidden_layers": 6, | |
| "encoder_num_key_value_heads": 8, | |
| "eos_token_id": 2, | |
| "hidden_size": 288, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1152, | |
| "is_encoder_decoder": true, | |
| "max_position_embeddings": 194, | |
| "model_type": "moonshine", | |
| "pad_head_dim_to_multiple_of": 8, | |
| "pad_token_id": 3, | |
| "rope_parameters": { | |
| "partial_rotary_factor": 0.9, | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.23.0", | |
| "use_cache": true, | |
| "vocab_size": 4096 | |
| } | |