Downloads · 30 days
4
7% of all-time downloads
inoryQwQ/sherpa-onnx-ced-mini-ax650
sherpa-onnx-ced-mini-ax650 is a audio classification model from inoryQwQ. Use it for the audio classification task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
CED (CNN-based Encoder-Decoder) audio tagging model converted to AX650 AXMODEL for on-device inference via sherpa-onnx. Detects 527 AudioSet event classes.
Downloads · 30 days
4
7% of all-time downloads
All-time downloads
55
Public
Repo size
11.8 MB
Likes
0
Public
Click a slice to open those files.
.axmodel11.8 MB · 99%
From the Hugging Face model README
CED (CNN-based Encoder-Decoder) audio tagging model converted to AX650 AXMODEL for on-device inference via sherpa-onnx. Detects 527 AudioSet event classes.
| File | Size | Description |
|---|---|---|
ced-mini.axmodel | 11.2 MB | AX650 compiled model |
class_labels_indices.csv | - | 527 AudioSet class labels |
test.wav | - | Sample test audio |
| Metric | Value |
|---|---|
| RTF | 0.007 |
| Top-1 Accuracy vs ONNX | 100% |
| Top-5 Accuracy vs ONNX | 60% |
| Max Absolute Error vs ONNX | 0.035 |
| ONNX Size (original) | 37 MB |
| AXMODEL Size | 11.2 MB |
| Compression Ratio | 3.3x |
Tested on AX650 NPU3 with 3-second 16kHz mono audio.
./sherpa-onnx-offline-audio-tagging \
--ced-model=ced-mini.axmodel \
--labels=class_labels_indices.csv \
--provider=axera \
test.wav
Or via Python:
import sherpa_onnx
config = sherpa_onnx.AudioTaggingConfig()
config.model.ced = "ced-mini.axmodel"
config.model.provider = "axera"
config.labels = "class_labels_indices.csv"
tagger = sherpa_onnx.AudioTagging(config)
stream = tagger.create_stream()
stream.accept_waveform(16000, samples)
results = tagger.compute(stream)
Apache 2.0