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.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

infini_gram-2.2.4-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (4.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ i686

infini_gram-2.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

infini_gram-2.2.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (4.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

infini_gram-2.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

infini_gram-2.2.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (4.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

File details

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

File metadata

File hashes

Hashes for infini_gram-2.2.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a4c10f6034118d582a151f20d98dfa931722b889386fba32a0198daf7966933
MD5 6e8069a8a72bc30901093ebf46f88b21
BLAKE2b-256 fd674628732c91478fb01ddbb35e33c3f2d8a8aba1a59c738eafb79119f0fef7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.2.4-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0637d1b7821380ce96012dc9a08d1a30952e0ff8b0530dfc0c9fb66aee6324ed
MD5 4ba81e32147a51a3a22b1848fda9cf91
BLAKE2b-256 a756c83c221ceee1c732cdd1d2ac89ed8310b5b8476c585905d0320d969f1895

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ef4637c458af71e8cb025686ce81e4554eb1fe46578e9c8c09ce7ae52b46b66
MD5 dedf90f9aaf5a66f066a7e0ae6ec0336
BLAKE2b-256 f3deb1c184eb3adb5eaab79b09efaa16addac04ef2c9b980614068beaacaf9fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.2.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0c88c4fc41b2c2df6d8ac3bfe448480e42b479065be2fa736264c3c83d794683
MD5 d814f7a71a619975a37754db49002bd8
BLAKE2b-256 ee88d045e0c17f76f60aeca02051da46c68b6ac64625b008d434831375022112

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6442ce3abc1b7d5784de5601d5e0ae8e6b51d5acd51fd3bffcf70d905f0661bb
MD5 576025194e7da2df40c32884f368b768
BLAKE2b-256 8bdec80f2cfe50b291aa15e09090845557d0f69b3650acc7a292b4f63b5cd0aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.2.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 307275c95dd845cbde6e9007b995cddc32bd60ce7501eebbe68bca29b5774552
MD5 e9a17b866960e87701ea3dc99413e515
BLAKE2b-256 53a144293dace5b9b3f6f9a5097b8cd31de78b4488c0dfe4574a8c544da3b818

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