Audio Classification
Transformers
Safetensors
Chinese
gru-audio-binary
speaker_dialect_classification
Instructions to use stingray-harpist/demo-model-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stingray-harpist/demo-model-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="stingray-harpist/demo-model-test")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("stingray-harpist/demo-model-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from stingray-harpist/demo-model-test: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/stingray-harpist/demo-model-test/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://stingray-harpist/demo-model-test/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/stingray-harpist/demo-model-test/resolve/main/preprocessor_config.json
167 Bytes
| { | |
| "feature_type": "fbank", | |
| "sampling_rate": 16000, | |
| "n_mels": 40, | |
| "n_fft": 400, | |
| "hop_length": 160, | |
| "max_len_frames": 300, | |
| "log_db": true, | |
| "mono": true | |
| } |