Skip to main content

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:

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


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

If you're not sure about the file name format, learn more about wheel file names.

infini_gram-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

infini_gram-2.2.3-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (4.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ i686

infini_gram-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

infini_gram-2.2.3-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (4.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

infini_gram-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

infini_gram-2.2.3-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (4.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

File details

Details for the file infini_gram-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for infini_gram-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba7043bd5da8d5e22f75aab31f36fa8f9a7b0e13240bc0a6db19fe918ed289a3
MD5 d107aee8c313f0b92c82a4a47b06cbfd
BLAKE2b-256 9b770702f087becd91aff7360bd674796781b700a1e16238e7ad584be8ef7bff

See more details on using hashes here.

File details

Details for the file infini_gram-2.2.3-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for infini_gram-2.2.3-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7ca0e579890be169778c7a46c317a1957e37949637f28b5e57c1948d1480c192
MD5 e0cec6896274d75f8cc4fba489fc208c
BLAKE2b-256 5a474ec960913a503d6454eb946475817e6ca879fd69bdcd2610d6a12921fbca

See more details on using hashes here.

File details

Details for the file infini_gram-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for infini_gram-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d700b63ae9180f6bc8d97d9460cc2724c0fafda18b7f671e4630eab6f99c2d4b
MD5 2d01d9c70bdf7d6fa5e4e6b2f8a7cc12
BLAKE2b-256 c68ca81dc774e99ca89dcc967fe7b0a58e645e14e6e8782046f57b5e69ed6a1a

See more details on using hashes here.

File details

Details for the file infini_gram-2.2.3-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for infini_gram-2.2.3-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 17e89e0fa66c296872c019f8dd96c52e0d86578452cf858eee390ff4e7e6e911
MD5 1cc468c8fd9253d02a01a4b52d6b557c
BLAKE2b-256 796bc746a98b6c6e3d706d694262ad48a919a973d4b1e25e6bef80d9f1f183cf

See more details on using hashes here.

File details

Details for the file infini_gram-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for infini_gram-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fd7ac02d22323410ca4cc6005b4de0828c1ce4e76643b044ea3cc965f8a16e7
MD5 e22360e260ed25515564fc7db716bb39
BLAKE2b-256 fd8ff4241a0e4b2b1df94262f3e67a2d023f089df313edf0b1a52c65c8d1f039

See more details on using hashes here.

File details

Details for the file infini_gram-2.2.3-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for infini_gram-2.2.3-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c4c952cdee879e891af7f1b739bec1d1cbed2983487db562617835b3c0d8719a
MD5 38eeed1eaf3eff0ee5b9e2d3e046245b
BLAKE2b-256 0b803bdd7f110fc384fb49cce14b3759ebc73afb02adf9e1e1cdb7605aa6aa52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page