HTTP/2 302
date: Wed, 31 Dec 2025 19:16:50 GMT
content-type: text/html; charset=utf-8
content-length: 0
location: https://infini-gram.readthedocs.io/en/latest/
server: cloudflare
cf-ray: 9b6c1d144937c19a-BLR
cf-cache-status: EXPIRED
cache-control: max-age=1200
content-language: en
strict-transport-security: max-age=31536000; includeSubDomains; preload
vary: Accept-Language, Accept-Encoding
cdn-cache-control: public
cross-origin-opener-policy: same-origin
referrer-policy: no-referrer-when-downgrade
x-backend: web-i-0575cd081bf99e83d
x-content-type-options: nosniff
x-rtd-domain: infini-gram.readthedocs.io
x-rtd-force-addons: true
x-rtd-project: infini-gram
x-rtd-project-method: public_domain
x-rtd-redirect: system
x-rtd-version-method: path
x-served: Django-Proxito
set-cookie: __cf_bm=xuVKBv2ENsnp5wkU7iRUeqd41cLceq_oZIzPwHQIJXg-1767208610-1.0.1.1-IHgrnJKHOur9.qb2T1X2R6xT4OCLl6IowAwLGvDVWoFSWwOg273sdQdXELwSkq3qOUrzMmVbxeZV7ihFqF1e79YIZCH3LwJDK.OhYbKEUec; path=/; expires=Wed, 31-Dec-25 19:46:50 GMT; domain=.readthedocs.io; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=d.dndqH23e_xFxO.yiNv3iFVpON4OZvodqSSq3uW8lU-1767208610921-0.0.1.1-604800000; path=/; domain=.readthedocs.io; HttpOnly; Secure; SameSite=None
alt-svc: h3=":443"; ma=86400
HTTP/2 200
date: Wed, 31 Dec 2025 19:16:51 GMT
content-type: text/html; charset=utf-8
server: cloudflare
cf-ray: 9b6c1d1a4b2ec19a-BLR
cf-cache-status: HIT
access-control-allow-origin: *
cache-control: max-age=1200
content-encoding: gzip
etag: W/"a23bc1aa46f62038b120543d078c79c3"
last-modified: Tue, 08 Apr 2025 14:23:52 GMT
strict-transport-security: max-age=31536000; includeSubDomains; preload
vary: Accept-Encoding
access-control-allow-methods: HEAD, OPTIONS, GET
cdn-cache-control: public
cross-origin-opener-policy: same-origin
referrer-policy: no-referrer-when-downgrade
x-amz-id-2: kTuWYgmfFJjSY3PmiryJLtHNHiwISDklVqHkMAbvzZ2fknPW7tfB7tEscFZ+YDS+R+ijC4I08mc=
x-amz-meta-mtime: 1744122229.886118337
x-amz-request-id: RJ31S5P6Z9WK6HP3
x-amz-server-side-encryption: AES256
x-backend: web-i-0b51af640e5a6121f
x-content-type-options: nosniff
x-rtd-domain: infini-gram.readthedocs.io
x-rtd-force-addons: true
x-rtd-path: /proxito/html/infini-gram/latest/index.html
x-rtd-project: infini-gram
x-rtd-project-method: public_domain
x-rtd-resolver-filename: /
x-rtd-version: latest
x-rtd-version-method: path
x-served: Nginx-Proxito-Sendfile
set-cookie: __cf_bm=dGhU.ZS5S1amC7a6EthbM2mdIS392OYIk9.5lv_TP0s-1767208611-1.0.1.1-Ra3GyHo3Xnlv0CeV09aih2NcoE9w5fRQdSj2hZRZXWIgjCl2P4GZcrI7Z5Q4O_02Ka0ockpNIDmirBLMosDWdo3MIiouJPzfiVUWjL6pBRE; path=/; expires=Wed, 31-Dec-25 19:46:51 GMT; domain=.readthedocs.io; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=u5Yfhk6NdteStRPYnBaNBaKm0wODjeSpdIPb4eb09Ew-1767208611831-0.0.1.1-604800000; path=/; domain=.readthedocs.io; HttpOnly; Secure; SameSite=None
alt-svc: h3=":443"; ma=86400
Infini-gram: An Efficient Text Search Engine — infini-gram 2.5.1 documentation
infini-gram
Infini-gram: An Efficient Text Search Engine
Citation
If you find Infini-gram useful in your research, please cite our paper:
@article { Liu2024InfiniGram ,
title = {Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens} ,
author = {Liu, Jiacheng and Min, Sewon and Zettlemoyer, Luke and Choi, Yejin and Hajishirzi, Hannaneh} ,
journal = {arXiv preprint arXiv:2401.17377} ,
year = {2024}
}
Acknowledgements
We would like to thank Zihao Ye for sharing his advice on building and distributing python packages.