GZIP is all you need


### Good for text classification
gzip with a k-nearest-neighbor classifier. The method achieves competitive results with non-pretrained deep learning methods on six in-distribution datasets and outperforms BERT on all five out-of-distribution datasets, including four low-resource languages
[npc_gzip](https://github.com/bazingagin/npc_gzip)



> [David Sauerwein on LinkedIn: What a fantastic result!  A 0-parameter 14-line Python script using gzip… | 178 comments](https://www.linkedin.com/feed/update/urn:li:activity:7085349430819700737/)

> [Untitled](https://aclanthology.org/2023.findings-acl.426.pdf)

> [Luke Gessler | @lgessler@lingo.lol on Twitter](https://twitter.com/LukeGessler/status/1679211291292889100)




