A Python package for infini-gram
Project description
infini-gram
To use this package, please check out its documentation here: https://infini-gram.io/pkg_doc
To learn more about infini-gram:
- Paper: https://arxiv.org/abs/2401.17377
- Project Home: https://infini-gram.io
- Web Interface: https://infini-gram.io/demo
- API Endpoint: https://infini-gram.io/api_doc
License
This package is licensed under the UW Academic Software License. Use by universities and non-profit institutions is allowed. Commercial use is not allowed. A copy of the license is enclosed with the package distribution.
The suffix array implementation is adapted from Lee et al. (2021), which is distributed under Apache-2.0.
Citation
If you find infini-gram useful, please kindly 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}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for infini_gram-2.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 048f0707afb3cf8823af596bac423ec7879400b3680060f255ae3cdf61367470 |
|
MD5 | 7b0467c5f3eca6f665c7af5424eb57d3 |
|
BLAKE2b-256 | f595b8f4ec013df100b607ba35b08ecccf82d2a171ca4d502e2b54fb4dc2c83f |
Close
Hashes for infini_gram-2.1.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f8d947940d7d44e7b12b28a0d63caf065d01524df9ec5e1a76ce13c8d2ca0e |
|
MD5 | a899905f309d092bb0bf3d0ad4536a75 |
|
BLAKE2b-256 | cdde3600efd914ae9211d2691083faa76312d2bd0c78a96b79c4a3c7dc2b129a |
Close
Hashes for infini_gram-2.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a553d760a54bb7296631c6894be44d15a33600785571d8b30444315cc99e6ae |
|
MD5 | 5a73f4a531f2e91def6d37c6ad67cfff |
|
BLAKE2b-256 | 1941de997415cec5eaf584dbd6e468c9f140dd9957ad3087f7c6e88c85d1d64c |
Close
Hashes for infini_gram-2.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6db97cb7ffca00b6734fda06eb047c7d994c786d4091c44ac1bcde3772b2a0b |
|
MD5 | c524615b757a14c0f0718162a446aab3 |
|
BLAKE2b-256 | b154314cae7cd99bf91a2af50d09cc0ba4760236bab3fc282d928bde275becb6 |
Close
Hashes for infini_gram-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ccc2c628292239be60e85d23432a6243b3f562f62b8ba27ef0c4eefc11869aa |
|
MD5 | fdbf4f3fb99e75572c50daa7fb2d41b3 |
|
BLAKE2b-256 | 02eef08c48130b50a6302279b2b48b834721d37850d01744bb50d40487c58b61 |
Close
Hashes for infini_gram-2.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c888d741ac54b1676ef80c6662d33b4cc361c11fc4b82cf77df4c10360a3786 |
|
MD5 | a3e71f030275c4c026a1e30bca264f2c |
|
BLAKE2b-256 | df772ab96e770316dcd4df48ed48e61210af6d606a1411cb137e517c727c1895 |
Close
Hashes for infini_gram-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b639d0602793a20ec63144cad8e07975fdc5fbad4476d78d48d69d0527a9c636 |
|
MD5 | 3a05b74dff6a505015a5d3347c1ded8f |
|
BLAKE2b-256 | bcf5a1d55194ad4f28bdbfaf366a01e20223656b25d90f130182c8aae87c0ad1 |
Close
Hashes for infini_gram-2.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f65846b2fcca2371d565cc418ec8af5bd74836c9a757ce6087814ef55c33a78 |
|
MD5 | 667897e7c04878a7cae74ea8106e14e6 |
|
BLAKE2b-256 | 0cae792d0f5ac5953614456f7d7c6b45d0e5754cfad1ae3ae5dfa9f35198e2b7 |
Close
Hashes for infini_gram-2.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949799c0ea403ef7e89644c42432a221900f028d50dcc259261966e4272bb53f |
|
MD5 | d37092ee5ae7d432685ec89517a7a9de |
|
BLAKE2b-256 | 5ef9a04e1535bce37f6d601239d1f714506c77a3bd83c948fdf314f063ae1134 |
Close
Hashes for infini_gram-2.1.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfe093f865d49e4d57ebf765553291e3f579b0829dea773d3af132b7fd71b0d5 |
|
MD5 | ea58b421bbf0cd37381632ebe0cb11dc |
|
BLAKE2b-256 | b67be99736545201a7fe55dcc7f6a1db7133a60e6379c945f2b82153a6eb756e |