Instructions to use Serkali-sudo/AutoSub-Voice-Classifier-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use Serkali-sudo/AutoSub-Voice-Classifier-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download speechx.json from Serkali-sudo/AutoSub-Voice-Classifier-LiteRT: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/Serkali-sudo/AutoSub-Voice-Classifier-LiteRT/resolve/main/speechx.json
- Command line
-
hf download hf://Serkali-sudo/AutoSub-Voice-Classifier-LiteRT/speechx.json
-
curl -L -o speechx.json https://huggingface.co/Serkali-sudo/AutoSub-Voice-Classifier-LiteRT/resolve/main/speechx.json
1.75 kB
| { | |
| "format": "autosub-speechx-voice-litert-v1", | |
| "source": { | |
| "repository": "AhmedReda25300/SpeechX", | |
| "revision": "3a4532c759f6f6d1e31c12b7b39b0ab4aea946f8", | |
| "base_config_revision": "e37978b90ca9030d5170a5c07aadb050351a65bb", | |
| "weights_sha256": "bd7d02ca4521cacec8fc1bb01e32177bdefeee1fd76f67f5e3268cfe2c979272" | |
| }, | |
| "weight_storage": "fp16", | |
| "fp16_weight_tensors": 40, | |
| "runtime": "litert-cpu", | |
| "signature": "classify", | |
| "model_file": "speechx-fp16.tflite", | |
| "input": { | |
| "name": "mel", | |
| "shape": [ | |
| 1, | |
| 80, | |
| 3000 | |
| ], | |
| "dtype": "float32", | |
| "layout": "batch,mel,frame", | |
| "sampling_rate": 16000, | |
| "samples": 480000, | |
| "fft_size": 400, | |
| "hop_length": 160, | |
| "mel_filter_file": "mel_filters_f32le.bin", | |
| "mel_filter_shape": [ | |
| 80, | |
| 201 | |
| ], | |
| "mel_filter_dtype": "float32-le", | |
| "waveform_prep": "unit-scaled mono PCM; truncate from the right or zero-pad on the right to 480000 samples", | |
| "mel_prep": "centered reflect STFT; periodic Hann; discard the last STFT frame; mel power; log10 with 1e-10 floor; clamp at peak minus 8; (x + 4) / 4" | |
| }, | |
| "output": { | |
| "name": "logits", | |
| "shape": [ | |
| 1, | |
| 2 | |
| ], | |
| "dtype": "float32", | |
| "quantity": "logits", | |
| "labels": [ | |
| "female", | |
| "male" | |
| ] | |
| }, | |
| "versions": { | |
| "litert-torch": "0.10.0", | |
| "ai-edge-litert": "2.3.0", | |
| "transformers": "4.57.1", | |
| "torch": "2.11.0+cpu" | |
| }, | |
| "sha256": { | |
| "speechx-fp16.tflite": "720b780a5f20b1ec36e483c787078ec53ae26bb008f9807634c4e1c8bc022d4b", | |
| "mel_filters_f32le.bin": "2150c30cbbeb6029f52002ffa666c1c72d83dbf53f463cb8462052055806e891", | |
| "validation.json": "5e340abbb548bb4f5aa617c6a94bf1bb2d27d8830e710809dc4a7e909567fa09" | |
| } | |
| } |