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 preprocessor_config.json from MigoXV/SenseVoiceSmall: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/MigoXV/SenseVoiceSmall/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://MigoXV/SenseVoiceSmall/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/MigoXV/SenseVoiceSmall/resolve/main/preprocessor_config.json
374 Bytes
| { | |
| "cmvn_file": "cmvn.npy", | |
| "dither": 1.0, | |
| "feature_extractor_type": "SenseVoiceFeatureExtractor", | |
| "feature_size": 560, | |
| "frame_length": 25, | |
| "frame_shift": 10, | |
| "lfr_m": 7, | |
| "lfr_n": 6, | |
| "n_mels": 80, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000, | |
| "snip_edges": true, | |
| "upscale_samples": true | |
| } | |