Automatic Speech Recognition
Transformers
Safetensors
sensevoice_small
sensevoice
speech-recognition
Instructions to use MigoXV/SenseVoiceSmall with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MigoXV/SenseVoiceSmall with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="MigoXV/SenseVoiceSmall")# pip install -U transformers accelerate # Load model directly from transformers import SenseVoiceSmall model = SenseVoiceSmall.from_pretrained("MigoXV/SenseVoiceSmall", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from MigoXV/SenseVoiceSmall: direct link, hf CLI and curl.
- Browser
- Download file 604 Bytes
-
https://huggingface.co/MigoXV/SenseVoiceSmall/resolve/main/config.json
- Command line
-
hf download hf://MigoXV/SenseVoiceSmall/config.json
-
curl -L -o config.json https://huggingface.co/MigoXV/SenseVoiceSmall/resolve/main/config.json
604 Bytes
| { | |
| "architectures": [ | |
| "SenseVoiceSmall" | |
| ], | |
| "blank_id": 0, | |
| "dtype": "float32", | |
| "encoder_conf": { | |
| "attention_dropout_rate": 0.1, | |
| "attention_heads": 4, | |
| "dropout_rate": 0.1, | |
| "input_layer": "pe", | |
| "kernel_size": 11, | |
| "linear_units": 2048, | |
| "normalize_before": true, | |
| "num_blocks": 50, | |
| "output_size": 512, | |
| "positional_dropout_rate": 0.1, | |
| "sanm_shfit": 0, | |
| "selfattention_layer_type": "sanm", | |
| "tp_blocks": 20 | |
| }, | |
| "input_size": 560, | |
| "model_type": "sensevoice_small", | |
| "query_size": 16, | |
| "transformers_version": "4.57.6", | |
| "vocab_size": 25055 | |
| } | |