Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: coreml
|
| 4 |
+
tags:
|
| 5 |
+
- coreml
|
| 6 |
+
- audio-classification
|
| 7 |
+
- audioset
|
| 8 |
+
- ced
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# CED AudioSet sound-event classifiers — CoreML (coremlit)
|
| 12 |
+
|
| 13 |
+
CoreML conversions of the four official **CED** (Consistent Ensemble Distillation) AudioSet sound-event taggers, one fp16 `mel → logits` graph per size, for [`coremlit`](https://github.com/findit-studio/coremlit)'s `audio::ced` module.
|
| 14 |
+
|
| 15 |
+
| size | embed_dim / heads | source |
|
| 16 |
+
|---|---|---|
|
| 17 |
+
| `ced-tiny` | 192 / 3 | [mispeech/ced-tiny](https://huggingface.co/mispeech/ced-tiny) |
|
| 18 |
+
| `ced-mini` | 256 / 4 | [mispeech/ced-mini](https://huggingface.co/mispeech/ced-mini) |
|
| 19 |
+
| `ced-small` | 384 / 6 | [mispeech/ced-small](https://huggingface.co/mispeech/ced-small) |
|
| 20 |
+
| `ced-base` | 768 / 12 | [mispeech/ced-base](https://huggingface.co/mispeech/ced-base) |
|
| 21 |
+
|
| 22 |
+
Each `ced-<size>/ced_<size>.mlmodelc` takes a 64-bin log-mel spectrogram and emits **pre-sigmoid** logits over the 527 AudioSet classes (the caller applies the sigmoid). The log-mel front-end runs in Rust (`coremlit`'s `MelExtractor`), so the graph starts at the mel, not the waveform.
|
| 23 |
+
|
| 24 |
+
## Provenance
|
| 25 |
+
|
| 26 |
+
Converted from-official by `coremlit/crates/coremlit/conversion/ced/` — pinned source revisions + per-file SHA-256 in each `ced-<size>/MANIFEST.json` and `coremlit`'s `tests/ced/model_io.rs`. fp32 parity vs the **unmodified PyTorch pre-sigmoid** oracle: cosine `1.0000000`, max|Δlogit| ~1e-5; shipped fp16 ≥ 0.99999. The weight VALUES are unchanged; the stated graph changes are the mel-front-end lift and the dropped final `sigmoid`.
|
| 27 |
+
|
| 28 |
+
## License & attribution
|
| 29 |
+
|
| 30 |
+
Apache-2.0. Upstream: **Xiaomi Corporation — CED** (Dinkel et al., 2023; arXiv 2308.11957; RicherMans/CED). Retain the Apache-2.0 license and copyright notices, and state changes, when redistributing.
|