What to do when billion-context compresses frequently?
A few cases to tell apart:
- Unlike traditional compression software, billion-context only does incremental compression, never whole-context (global) compression. So seeing it compress more often than a classic tool is normal.
- In some cases it will still compress frequently: if a compression happens every three or five calls, the model is most likely reading huge amounts of logs, code, etc., which trips the incremental threshold. If you have many such scenarios, raising
nudge(default 50k) to 80k–100k improves things noticeably. - If none of the above applies, it's probably a bug — report it at github.com/ranxianglei/billion-context/issues, with your log attached if possible. Usually resolved within the week.