Downloads · 30 days
0
PaulKrzakala/GRALE-128-32
GRALE-128-32 is a graph machine learning model from PaulKrzakala. Use it for the graph machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
[](https://arxiv.org/abs/2505.22109) [](https://huggingface.co/PaulKrzakala/GRALE-128-32) [](https://neurips.cc/virtual/2025/loc/san-diego/poster/117714)
Downloads · 30 days
0
Access
Public
Updated Dec 12, 2025
Repo size
186 MB
Likes
0
Public
Click a slice to open those files.
.ckpt186 MB · 100%
From the Hugging Face model README

GRALE is a novel graph autoencoder that encodes and decodes graphs of varying sizes into a shared embedding space. Built on an Evoformer-based attention architecture (AlphaFold's core component), GRALE uses an Optimal Transport-inspired loss and differentiable node matching to enable general pre-training for diverse downstream tasks—from classification and regression to graph interpolation, editing, matching, and prediction.
from GRALE.main import GRALE_model
from huggingface_hub import hf_hub_download
# Load pretrained model
checkpoint = hf_hub_download(repo_id="PaulKrzakala/GRALE-128-32", filename="last.ckpt")
model = GRALE_model.load_from_checkpoint(checkpoint)
# Encode and decode graphs
embeddings = model.encode(graph_data)
reconstructed = model.decode(embeddings)
See demo.ipynb for full examples.
# Python Version: 3.11.14
# Clone the repo
git clone https://github.com/KrzakalaPaul/GRALE.git
cd GRALE
# Create your environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install torch==2.8.0 # --index-url https://download.pytorch.org/whl/cu126 (cuda version)
pip install -r requirements.txt
@article{krzakala2025quest,
title={The quest for the GRAph Level autoEncoder (GRALE)},
author={Krzakala, Paul and Melo, Gabriel and Laclau, Charlotte and d'Alch{\'e}-Buc, Florence and Flamary, R{\'e}mi},
journal={arXiv preprint arXiv:2505.22109},
year={2025}
}