Instructions to use UsefulSensors/moonshine-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UsefulSensors/moonshine-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="UsefulSensors/moonshine-tiny")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("UsefulSensors/moonshine-tiny") model = AutoModelForSpeechSeq2Seq.from_pretrained("UsefulSensors/moonshine-tiny") - Notebooks
- Google Colab
- Kaggle
Update config.json
#3
by njeffrie - opened
- config.json +2 -1
config.json
CHANGED
|
@@ -28,5 +28,6 @@
|
|
| 28 |
"torch_dtype": "float32",
|
| 29 |
"transformers_version": "4.48.0.dev0",
|
| 30 |
"use_cache": true,
|
| 31 |
-
"vocab_size": 32768
|
|
|
|
| 32 |
}
|
|
|
|
| 28 |
"torch_dtype": "float32",
|
| 29 |
"transformers_version": "4.48.0.dev0",
|
| 30 |
"use_cache": true,
|
| 31 |
+
"vocab_size": 32768,
|
| 32 |
+
"pad_head_dim_to_multiple_of": 8
|
| 33 |
}
|