Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens