compressionkit E2A2 codec, redistributed from danjacobellis/E2A2 with the author's permission
adce33d Download encoder/entropy.json from Ambiq/compressionkit-e2a2-clean-speech-v0.3: direct link, hf CLI and curl.
- Browser
- Download file 10.7 kB
-
https://huggingface.co/Ambiq/compressionkit-e2a2-clean-speech-v0.3/resolve/main/encoder/entropy.json
- Command line
-
hf download hf://Ambiq/compressionkit-e2a2-clean-speech-v0.3/encoder/entropy.json
-
curl -L -o entropy.json https://huggingface.co/Ambiq/compressionkit-e2a2-clean-speech-v0.3/resolve/main/encoder/entropy.json
10.7 kB
| {"spec": "e2a2 stream layout v1 over [GGDLPC v1: unified coder (one learned causal FIR predictor per channel with arithmetic-mean fallback; one stateless pooled statistic: mean of the causal template abs differences and the last 16 coded abs residuals in scan order; two per-channel affine laws -> analytic folded GGD conditionals on the tau=2^(1/4) scale grid; canonical Huffman tables under the derived quotient split, <= 63 windowed hi values + escape at any bit depth; derived zero-run mode with elementary Golomb codes and exclusion tables, always available); inputs in [-N, N], N <= 65536; one call = one byte-padded bitstream, channel prefixes are literal bit prefixes]: two_stream = global[first scale group, whole plane, one pad] + per-macroregion detail streams (scale groups >= 1, coarse-to-fine, channel-major, one pad per region); all_detail = NO global stream, every channel per macroregion, each region decodable from its own bytes alone; one GGDLPC channel record per latent channel (global index); op-point streams are literal bit-prefixes", "version": 5, "stream_mode": "all_detail", "rank": 1, "macroregion": 256, "N": 31, "scale_groups": [[256, 0, 4], [128, 4, 12], [64, 12, 20], [32, 20, 32], [16, 32, 40]], "channels": [{"channel": 0, "mu": 0.005923485846630173, "a": 0.0, "b": 0.41763605700970285, "u": 0.37854465872652554, "v": 0.0, "wq": [0, 0], "bq": 0, "n_samples": 26376192}, {"channel": 1, "mu": -0.004251485582149235, "a": 0.0, "b": 0.3614046764239063, "u": 0.36139967115668514, "v": 0.0, "wq": [0, 0], "bq": 0, "n_samples": 26376192}, {"channel": 2, "mu": 0.009092745457721874, "a": 0.0, "b": 0.377503156607408, "u": 0.3775546601975996, "v": 0.0, "wq": [0, 0], "bq": 0, "n_samples": 26376192}, {"channel": 3, "mu": 0.014506832525331935, "a": 0.0, "b": 0.3992776171112435, "u": 0.3977903279776543, "v": 0.0, "wq": [0, 0], "bq": 0, "n_samples": 26376192}, {"channel": 4, "mu": 0.00038544229584012735, "a": 0.8871017254983561, "b": 0.40476366783415385, "u": 0.7442362289722145, "v": 0.31335432273210995, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 5, "mu": -0.0004344637770304371, "a": 0.9861673208936954, "b": 0.31021442243192027, "u": 0.3095918421558283, "v": 0.0, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 6, "mu": -3.4519766917074306e-05, "a": 0.9267034006079888, "b": 0.4096044239550294, "u": 0.7127280977119365, "v": 0.3022977494569028, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 7, "mu": 3.973280145974066e-05, "a": 0.9470433633573575, "b": 0.3517311340333953, "u": 0.7608461074297478, "v": 0.30340488539946825, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 8, "mu": 0.0006423785510812175, "a": 0.8857848870442108, "b": 0.45514588966181646, "u": 0.6983258340021298, "v": 0.3213671390058231, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 9, "mu": -0.00034011733005279913, "a": 0.8630204980410168, "b": 0.4586110127464234, "u": 0.724210331281705, "v": 0.33630829780348737, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 10, "mu": 9.69245295151021e-05, "a": 0.9765074988571092, "b": 0.4567537169982148, "u": 0.639911953210913, "v": 0.2847939514507709, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 11, "mu": 0.0004850396903389238, "a": 0.9048328389463781, "b": 0.4111466868090816, "u": 0.737107740166321, "v": 0.30875442772645945, "wq": [0, 0], "bq": 0, "n_samples": 52752384}, {"channel": 12, "mu": 0.0007716049382716049, "a": 0.6506718782261014, "b": 0.1539569605870832, "u": 0.7551260350446185, "v": 0.2014622028093935, "wq": [-2, 0], "bq": 0, "n_samples": 105504768}, {"channel": 13, "mu": -0.0002093080760103657, "a": 0.6363065811988716, "b": 0.1321818412773916, "u": 0.7546773271934436, "v": 0.18638815108119752, "wq": [4, 0], "bq": 0, "n_samples": 105504768}, {"channel": 14, "mu": -0.0003033227844261977, "a": 0.6504576243391069, "b": 0.15674162609140146, "u": 0.740185140979661, "v": 0.19774205519258783, "wq": [-1, 0], "bq": 0, "n_samples": 105504768}, {"channel": 15, "mu": 0.00038089273842107307, "a": 0.6539200222895778, "b": 0.1490554782101119, "u": 0.756697421924481, "v": 0.19997976034375956, "wq": [1, 0], "bq": 0, "n_samples": 105504768}, {"channel": 16, "mu": 0.00011859179672334809, "a": 0.6553377676753365, "b": 0.1401033858197649, "u": 0.6967933736611328, "v": 0.1721941141282231, "wq": [5, 0], "bq": 0, "n_samples": 105504768}, {"channel": 17, "mu": -5.200712824656417e-05, "a": 0.6534190260262467, "b": 0.14340244693100962, "u": 0.6722839359755907, "v": 0.16507076257725523, "wq": [-1, 0], "bq": 0, "n_samples": 105504768}, {"channel": 18, "mu": 8.905758647798742e-05, "a": 0.6660643509982982, "b": 0.14875625019572133, "u": 0.656128516641246, "v": 0.16240887411165403, "wq": [-1, 0], "bq": 0, "n_samples": 105504768}, {"channel": 19, "mu": 0.00010502842866779253, "a": 0.6519215257903802, "b": 0.136194376923463, "u": 0.7092911897536568, "v": 0.17394866472372345, "wq": [-1, 0], "bq": 0, "n_samples": 105504768}, {"channel": 20, "mu": -0.0002841577737984316, "a": 0.6428166411901955, "b": 0.0625, "u": 0.5396896255441362, "v": 0.08903169436987497, "wq": [2, 0], "bq": 0, "n_samples": 211009536}, {"channel": 21, "mu": 0.0006278152282179323, "a": 0.6220530069791362, "b": 0.07887593995569231, "u": 0.7082589816446376, "v": 0.15037244192999621, "wq": [-2, 1], "bq": 0, "n_samples": 211009536}, {"channel": 22, "mu": -0.0007405210350303789, "a": 0.6405792496282379, "b": 0.07968376155163084, "u": 0.6788444883494325, "v": 0.1426581882287989, "wq": [7, 0], "bq": 0, "n_samples": 211009536}, {"channel": 23, "mu": -0.0005667942893348669, "a": 0.6397317174217357, "b": 0.06312286691657853, "u": 0.6097614410420551, "v": 0.11356597460420217, "wq": [-1, 0], "bq": 0, "n_samples": 211009536}, {"channel": 24, "mu": -0.00020106674231064136, "a": 0.6287425560390923, "b": 0.08532864330004551, "u": 0.7034216870837923, "v": 0.15457468339443622, "wq": [1, 0], "bq": 0, "n_samples": 211009536}, {"channel": 25, "mu": 0.000362234813880639, "a": 0.6222091203497376, "b": 0.07974865578123323, "u": 0.7705596190868392, "v": 0.169051310763675, "wq": [3, 1], "bq": 0, "n_samples": 211009536}, {"channel": 26, "mu": 0.000539752857425363, "a": 0.5789571923075102, "b": 0.35917665368856033, "u": 0.9988338698963127, "v": 0.4055927583088331, "wq": [-110, -53], "bq": 0, "n_samples": 211009536}, {"channel": 27, "mu": -0.00023266247076151098, "a": 0.635658424394927, "b": 0.09443374548207174, "u": 0.7528589000120868, "v": 0.16006423010538307, "wq": [-5, 0], "bq": 0, "n_samples": 211009536}, {"channel": 28, "mu": -0.0030341282775011645, "a": 0.6304067231865671, "b": 0.36568770829486186, "u": 1.0112010419124025, "v": 0.4764352576824642, "wq": [-62, 3], "bq": -1, "n_samples": 211009536}, {"channel": 29, "mu": 0.002523710587184079, "a": 0.5744643664989177, "b": 0.35372098267310775, "u": 0.9879266222460096, "v": 0.3934231862433722, "wq": [-113, -52], "bq": 1, "n_samples": 211009536}, {"channel": 30, "mu": -0.0002648885024798121, "a": 0.6526604465330591, "b": 0.06594507394036214, "u": 0.6115347579383571, "v": 0.11526495351816961, "wq": [1, 0], "bq": 0, "n_samples": 211009536}, {"channel": 31, "mu": 0.00018035677780932138, "a": 0.6573460738897018, "b": 0.0625, "u": 0.5447253374813611, "v": 0.09005663500741179, "wq": [0, 0], "bq": 0, "n_samples": 211009536}, {"channel": 32, "mu": 0.0009438720342951704, "a": 0.704110685886364, "b": 0.0625, "u": 0.7314933275278225, "v": 0.13143083498513128, "wq": [-38, -5], "bq": 0, "n_samples": 422019072}, {"channel": 33, "mu": -0.0013543274176954733, "a": 0.7243284718087676, "b": 0.0625, "u": 0.5937715120454236, "v": 0.09183101105452343, "wq": [-1, 0], "bq": 0, "n_samples": 422019072}, {"channel": 34, "mu": 0.0005011929887377223, "a": 0.7374374184244834, "b": 0.0625, "u": 0.5481789305381324, "v": 0.08062147598037527, "wq": [-9, 0], "bq": 0, "n_samples": 422019072}, {"channel": 35, "mu": 0.00036441007102162436, "a": 0.6772768439959314, "b": 0.09518524073193771, "u": 0.9699679463376089, "v": 0.2133653463548772, "wq": [-72, -15], "bq": 0, "n_samples": 422019072}, {"channel": 36, "mu": -0.00017217942226080247, "a": 0.6780309549966953, "b": 0.08519555348669643, "u": 0.9720992027938715, "v": 0.20485803758423513, "wq": [-68, -14], "bq": 0, "n_samples": 422019072}, {"channel": 37, "mu": 0.0013262955092228628, "a": 0.7263809373200237, "b": 0.0625, "u": 0.6032122529852503, "v": 0.09842841312149307, "wq": [-3, -1], "bq": 0, "n_samples": 422019072}, {"channel": 38, "mu": -0.000282863993407388, "a": 0.725047460818374, "b": 0.0625, "u": 0.5831508719683223, "v": 0.09340351963039432, "wq": [-6, 1], "bq": 0, "n_samples": 422019072}, {"channel": 39, "mu": 0.00013303901109000118, "a": 0.7013482942894307, "b": 0.06375347505167027, "u": 0.8596842842389782, "v": 0.17131323613262472, "wq": [-24, 8], "bq": 0, "n_samples": 422019072}], "groups": [{"channels": [0, 4], "ps": 256, "stream": "detail", "slicing": "tile f=1", "rank": 1, "stream_mode": "all_detail", "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "ggdlpc_fit": {"N": 31, "rank": 1, "K_beta": 8, "order1": 2, "dense": true, "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "passes": ["predictor moments", "dense h(S, r) histogram"]}}, {"channels": [4, 12], "ps": 128, "stream": "detail", "slicing": "tile f=2", "rank": 1, "stream_mode": "all_detail", "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "ggdlpc_fit": {"N": 31, "rank": 1, "K_beta": 8, "order1": 2, "dense": true, "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "passes": ["predictor moments", "dense h(S, r) histogram"]}}, {"channels": [12, 20], "ps": 64, "stream": "detail", "slicing": "tile f=4", "rank": 1, "stream_mode": "all_detail", "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "ggdlpc_fit": {"N": 31, "rank": 1, "K_beta": 8, "order1": 2, "dense": true, "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "passes": ["predictor moments", "dense h(S, r) histogram"]}}, {"channels": [20, 32], "ps": 32, "stream": "detail", "slicing": "tile f=8", "rank": 1, "stream_mode": "all_detail", "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "ggdlpc_fit": {"N": 31, "rank": 1, "K_beta": 8, "order1": 2, "dense": true, "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "passes": ["predictor moments", "dense h(S, r) histogram"]}}, {"channels": [32, 40], "ps": 16, "stream": "detail", "slicing": "tile f=16", "rank": 1, "stream_mode": "all_detail", "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "ggdlpc_fit": {"N": 31, "rank": 1, "K_beta": 8, "order1": 2, "dense": true, "dataset": "danjacobellis/librispeech:train[:45792]", "seed": 0, "passes": ["predictor moments", "dense h(S, r) histogram"]}}]} |