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

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

infini_gram-2.3.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ i686

infini_gram-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

infini_gram-2.3.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (4.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

infini_gram-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

infini_gram-2.3.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

File details

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

File metadata

File hashes

Hashes for infini_gram-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b3a6d5ffc61415526d7de98ff17333db4631046691e13f9eac47754ebccc81c
MD5 ac969072c8dfc7d3ab1cca34cf9aa176
BLAKE2b-256 7abe04a9a60dfd7914b10e697c2b280385fcdf4e291b8255980bac65e56886fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.3.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4eb9d08672802e8dd069df60eb230e61187be8c76dcb69b1049d7feb0f26e3f3
MD5 e4c8a9cc81a3f1fdafdb58d4114a8969
BLAKE2b-256 bc2796cbc0fdcf1f9a4ab17428ac2aaa3cf66efd8a1bbdbebc650bd1594eec6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f729eb7d20a54dda8f08a44217e7397a339f3bd965d13afd95d805dfd00020e7
MD5 9e226ce020f480bf9ad1627b6b151064
BLAKE2b-256 d396d9d549868e6aa60d4602e54233201750c2547e911035a923d547baba56af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.3.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 790e6793da8e3e3fca522e96713be29e04e2faeef62468fa29aa18c1750418f7
MD5 d22603039114b3c8c55a3a7bd3ec7d0c
BLAKE2b-256 b1162b3cc93e84597086be219b5ee52311c7bfed70cb9df1f93a90ac8eba2c17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d1b1d3d66c32cb5c06ee29fe6926c3bc84b6bb6da9739bea88d74ee1de568cc
MD5 b08a075b7335bb21095fbe4c79227eec
BLAKE2b-256 830b94e57c014fd09fae62b344cb44372ce5ccb472963e5e3bb0b6fa78ea95ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infini_gram-2.3.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e3bdcb3835840ba1905e4721b8b794de7cdc55c3077681343501c5b48d7d2c53
MD5 468d728dee7e9ab4ab0b9a1bd023e73b
BLAKE2b-256 5c0ef25618dcd47e5fb193cf59fcbd79233664c5664ed657c90a7a35bafaaf2b

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