overview
What is Parmar?
Parmar is a subword-tokenization pre-filter tool developed by shallowbyte that enables researchers, developers, and data scientists to improve the efficiency of byte-level data compression. It functions as an offline research harness to test the effectiveness of using Byte Pair Encoding (BPE) tokenization as a pre-filter for standard byte-level compression algorithms like LZMA, xz, zstd, gzip, and bzip2. The tool's pipeline tokenizes text using tiktoken, packs the resulting token IDs, and then streams this processed data directly into a chosen compressor, often leading to both smaller file sizes and faster compression speeds.
