Get ZPAQ here. https://mattmahoney.net/dc/zpaq.html

The command to compress with order 0 and 1 CM is:

zpaq a archive.zpaq inputfile -ms6.0c100.0c100.0.255m

-m means method.

s means streaming format. It has less overhead than journaling (x).

6 means 2^6 MB block size. If the block size is smaller than your input
file then it will split the input and compress each block in a separate
thread. This is faster but compression is worse. Also, most components are
allocated memory equal to the block size, so using larger blocks reduces
hash table collisions. This should not be an issue for low order models.

0 means no transform like LZ77 or BWT.

c followed by 1-255 is a CM. 0 means ICM. You can try different numbers to
get better compression. A CM maps a context hash directly to a bit
probability. The prediction is updated by 1/count, where 100 is 1/4 the
maximum count. For stationary sources like text, higher numbers work better.

0 means no special contexts. The only one that might be useful might be
1010, which means the count to the last occurrence of a 10 (line feed) for
text based tables.

255 is the context mask (0xFF) which selects all of the bits of most recent
whole byte. This is hashed together with the previous bits of the current
byte. If you want order 2, use c100.0.255.255 and so on.

m is the final mixer.


-- Matt Mahoney, [email protected]

On Sun, Dec 21, 2025, 1:02 AM <[email protected]> wrote:

> https://encode.su/threads/342-paq8px?p=86059&viewfull=1#post86059
> The AI is telling me I can't run this with commands like that and that its
> only for ZPAQ not version 67 linked above ... ? paq8px_v209fix1.exe
>
> Also wait, to be more specific, I want order 0 and order 1 mixed, with no
> ICM / SSE etc. I just want to see what it's power is for the bare basic.
> *Artificial General Intelligence List <https://agi.topicbox.com/latest>*
> / AGI / see discussions <https://agi.topicbox.com/groups/agi> +
> participants <https://agi.topicbox.com/groups/agi/members> +
> delivery options <https://agi.topicbox.com/groups/agi/subscription>
> Permalink
> <https://agi.topicbox.com/groups/agi/Tf0bedfcd44454678-Mff9c0e06ca03362de73bae51>
>

------------------------------------------
Artificial General Intelligence List: AGI
Permalink: 
https://agi.topicbox.com/groups/agi/Tf0bedfcd44454678-Mfd15f1b9cfaf7d24dee86c45
Delivery options: https://agi.topicbox.com/groups/agi/subscription

Reply via email to