Downloads · 30 days
0
whyujjwalraj/mechgraph-checkpoints
mechgraph-checkpoints is a machine learning model from whyujjwalraj. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Pre-trained checkpoints for MechGraph: Neuro-Symbolic Molecular Mechanism Prediction.
Downloads · 30 days
0
Access
Public
Updated Nov 27, 2025
Repo size
80 MB
Likes
0
Public
Click a slice to open those files.
.pt80 MB · 100%
From the Hugging Face model README
Pre-trained checkpoints for MechGraph: Neuro-Symbolic Molecular Mechanism Prediction.
| File | Description |
|---|---|
neuromatch_best.pt | NeuroMatch encoder with order embeddings for subgraph retrieval |
alignment_best.pt | Alignment stage checkpoint (graph-LLM alignment) |
import torch
from mechgraph.models.graph_encoder import GINEncoder, NeuroMatch
from mechgraph.models.projector import Graph2TokenProjector
# Load NeuroMatch
checkpoint = torch.load("checkpoints/neuromatch_best.pt", map_location="cpu")
encoder = GINEncoder(input_dim=9, hidden_dim=256, output_dim=256)
encoder.load_state_dict(checkpoint["encoder_state_dict"])
neuromatch = NeuroMatch(encoder)
neuromatch.load_state_dict(checkpoint["neuromatch_state_dict"])
Trained using three-stage pipeline:
Apache 2.0