HiMGA
HiMGA is a Hierarchical Multi-Graph Architecture for conversational memory.
Installation
User
Core install — includes exact_match, F1, ROUGE, BLEU, METEOR:
pip install himga
Full eval metrics — adds BERTScore and Sentence-BERT:
pip install "himga[eval]"
GPU acceleration (BERTScore / SBERT auto-detect CUDA, no code changes needed):
# Install CUDA-compatible PyTorch first, then eval extras
pip install torch --index-url https://download.pytorch.org/whl/cu118
pip install "himga[eval]"
Contributor
Project uses uv for dependency management.
git clone https://github.com/colehank/HiMGA
cd HiMGA
uv sync --dev # installs all deps including eval extras
uv run pre-commit install --hook-type pre-commit --hook-type pre-push --hook-type commit-msg
Copy .env_example to .env and fill in the required values.
Running tests:
uv run pytest tests/ # fast tests only (default)
uv run pytest tests/ --run-slow # include BERTScore / SBERT model tests
uv run pytest tests/ --run-integration # include real API calls (requires .env)
Releasing to PyPI:
git tag vx.x.x
git push origin vx.x.x # triggers build + publish to PyPI
Benchmarks
HiMGA is evaluated on locomo and longmemeval.
Set DATASETS_ROOT in .env (defaults to .cache/datasets) to the directory where datasets
exist or should be downloaded.
from himga.utils import get_dataset
locomo = get_dataset("locomo") # downloads if not found locally, returns local path
longmem = get_dataset("longmemeval")
Metadata
Release files for himga 0.0.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 |
|---|---|---|---|---|
| himga-0.0.1.tar.gz | 2.9 MB | Without provenance | Details for himga-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| himga-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for himga-0.0.1-py3-none-any.whl |
Total release size: 3.0 MB
Release files / himga-0.0.1.tar.gz
| Download URL | himga-0.0.1.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fee0b87313c12ae2042b42f27e24c3c621f07922f2e4946e456d3e7e696a9a90
|
|
BLAKE2b-256 checksum How to use checksums |
0c14240ed00a7a933311458ce9b107ed92b5041eeca8e5bda8b7a719cbc02bba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / himga-0.0.1-py3-none-any.whl
| Download URL | himga-0.0.1-py3-none-any.whl |
|---|---|
| Size | 34.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a1407f775ba86093c8ea764c6860489228b3519261698b6f0b547f89abe29a3
|
|
BLAKE2b-256 checksum How to use checksums |
08a3aa894e8cd57bacd5c79c06c1d46b903eb81faf08bae64fe96d1b26d3d0c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for himga 0.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.