Views
No views yet
[None, 1, 512, 1][None, 1, 128, 16]| Metric | Value |
|---|---|
| Truth PRD vs clean (%) | 2.33 |
| Truth PRD at native noise (%) | 38.03 |
| Faithful PRD vs input (%) | 3.63 |
| PRD degradation slope (PRD%/dB) | 3.97 |
| PRD at 0 dB SNR (%) | 51.15 |
| PRD at -6 dB SNR (%) | 79.05 |
| Pure-noise imprint autocorr | 0.2496 |
| Metric | Mean | Median | P90 |
|---|---|---|---|
| PRD vs input — faithfulness (%) | 3.6256 | 3.2914 | 5.2169 |
| RMSE | 0.0349 | 0.0316 | 0.0495 |
| Cosine Similarity | 0.9992 | 0.9995 | 0.9997 |
| Encoder | P90 PRD | Worst PRD | Status |
|---|---|---|---|
| FP16 | 0.38% | 1.52% | recommended |
| INT16X8 | 1.53% | 9.95% | recommended |
| INT8 | 4.16% | 10.53% | recommended |
1from compressionkit.runtime import RVQCodec
2
3codec = RVQCodec.from_pretrained("Ambiq/compressionkit-ecg-4x-v1.0")
4
5# Encode: float32 signal → RVQ indices
6indices = codec.encode(signal)
7
8# Decode: RVQ indices → reconstructed signal
9recon = codec.decode(indices)codec = RVQCodec("path/to/deploy/")| File | Description |
|---|---|
encoder_int8.tflite | INT8 quantized encoder (on-device) |
encoder_float32.tflite | Float32 encoder for browser/server runtimes |
encoder_fp16.tflite | FP16 encoder variant for supported edge runtimes |
encoder_int16x8.tflite | INT16x8 encoder variant for supported edge runtimes |
encoder.h | C header for encoder |
encoder.keras | Float32 Python reference encoder (training/inspection use) |
decoder_float32.tflite | Float32 decoder (server-side evaluation) |
decoder_int8.tflite | INT8 decoder (optional, on-device) |
decoder.keras | Float32 Python reference decoder (training/inspection use) |
codebook.npz | RVQ codebook tables |
codebook.h | C header for codebook |
config.json | Deployment manifest |
sample_stimulus.npz | Synthetic test data |
demo_recordings.npz | 10 real, quality-gated browser-demo recordings |
demo_recordings_manifest.json | Recording provenance, license, and quality metadata |
quality_scorecard.json | Full evaluation metrics |
LICENSE-MODEL-WEIGHTS.md for full terms.1@software{compressionkit,
2 author = {Ambiq AI},
3 title = {compressionKIT: Signal Compression for Edge AI},
4 url = {https://github.com/AmbiqAI/compressionkit}
5}