grtools
Core JAX/Flax training infrastructure for generative retrieval research: models (T5 seq2seq, diffusion denoisers), training loops, optimizers, callbacks (evaluation, checkpointing, monitoring), data pipeline transforms, and configs.
Contents
grtools.models— T5 encoder-decoder and diffusion (MDLM/BD3LM-style) backbones.grtools.training— ajax.lax.scan-based training loop, sharding, EMA, samplers.grtools.callbacks— periodic evaluation, checkpointing, and monitoring hooks.grtools.dataloading/grtools.pipeline— tokenization, docid codecs, and document/query transform steps for building generative-retrieval datasets.grtools.retrieval— grounding strategies (trie-constrained decode, Hamming-nearest snap) and retrieval evaluation metrics.grtools.configs— dataclass configs (simple_parsing.SerializableMixin) composing training, optimizer, schedule, and callback settings.
Requirements
Python 3.10–3.12. JAX with CUDA extras on Linux, CPU/Metal on macOS.
Installation
pip install grtools
Metadata
Release files for grtools 2026.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grtools-2026.9.1.tar.gz | 355.7 kB | With provenance | Details for grtools-2026.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grtools-2026.9.1-py3-none-any.whl | Python 3 | none | any | Details for grtools-2026.9.1-py3-none-any.whl |
Total release size: 793.5 kB
Release files / grtools-2026.9.1.tar.gz
| Download URL | grtools-2026.9.1.tar.gz |
|---|---|
| Size | 355.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
000e3e741529e802496a3d54343d342dce3bd95b267a768963b354019cfb54ac
|
|
BLAKE2b-256 checksum How to use checksums |
c7509f6835c9cd7cde8ca7e774b6f007061340a9358543d03a5bf14e1f5ed755
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / grtools-2026.9.1-py3-none-any.whl
| Download URL | grtools-2026.9.1-py3-none-any.whl |
|---|---|
| Size | 437.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
850907c7b940afed8101b2499d8055b89f865025879af3a8fcac95bc6b534cac
|
|
BLAKE2b-256 checksum How to use checksums |
ff8205357e16b397591a704e6637a97249b28182a2fd054c8b358ba9daf1e10b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logSecurity for grtools 2026.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for grtools-2026.9.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.