quantize
Compress numerical data like prices and sensor readings to 1–4 bits using random rotation and quantization. Reduces size with minimal error on correlated data.
Instructions
TurboQuant: Extreme compression for numerical data (prices, sensor readings, embeddings, vectors). Based on Google TurboQuant (ICLR 2026). Converts numbers to 1-4 bits using random rotation + quantization. Lossy but near-zero error on correlated data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | JSON array of numbers, e.g., "[1.5, 2.3, 3.1]" or comma-separated "1.5,2.3,3.1" | |
| bits | No | Bits per value: 1, 2, 3, or 4. Lower = more compression, more error. Default: 4 |