Views
No views yet
[None, 1, 512, 1][None, 1, 256, 16]| Metric | Value |
|---|---|
| Truth PRD vs clean (%) | 1.38 |
| Truth PRD at native noise (%) | 38.09 |
| Faithful PRD vs input (%) | 2.31 |
| PRD degradation slope (PRD%/dB) | 3.97 |
| PRD at 0 dB SNR (%) | 50.90 |
| PRD at -6 dB SNR (%) | 78.97 |
| Pure-noise imprint autocorr | 0.2481 |
| Metric | Mean | Median | P90 |
|---|---|---|---|
| PRD vs input — faithfulness (%) | 2.3062 | 2.1363 | 3.1904 |
| RMSE | 0.0222 | 0.0205 | 0.0306 |
| Cosine Similarity | 0.9997 | 0.9998 | 0.9999 |
| Encoder | P90 PRD | Worst PRD | Status |
|---|---|---|---|
| FP16 | 0.19% | 0.78% | recommended |
| INT16X8 | 0.70% | 2.36% | recommended |
| INT8 | 3.01% | 4.72% | recommended |
1from compressionkit.runtime import RVQCodec
2
3codec = RVQCodec.from_pretrained("Ambiq/compressionkit-ecg-2x-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}