Know Your Limits: Entropy Estimation Modeling for Compression and Generalization