Instructions to use mazesmazes/tiny-audio-swift-bundle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mazesmazes/tiny-audio-swift-bundle with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="mazesmazes/tiny-audio-swift-bundle")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mazesmazes/tiny-audio-swift-bundle", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 630 Bytes
b63775a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | {
"mlx_format_version": 1,
"encoder": {
"encoder_dim": 1280,
"n_mels": 128,
"num_layers": 32,
"num_heads": 20,
"head_dim": 64,
"intermediate_size": 5120,
"rope_theta": 10000.0,
"quantization": {
"group_size": 64,
"bits": 8
}
},
"projector": {
"encoder_dim": 1280,
"llm_dim": 1024,
"hidden_dim": 2048,
"pool_stride": 4
},
"audio_token": "<audio>",
"audio_token_id": 151669,
"eos_token_ids": [
151643,
151645
],
"encoder_conv_layers": [
[
1,
3,
1
],
[
1,
3,
2
]
],
"hop_length": 160
} |