Downloads · 30 days
0
DanielJeongsooLee/gtn-base-v4
gtn-base-v4 is a machine learning model from DanielJeongsooLee. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
This repository contains the GTN-Base v4 surrogate model trained for the Shared Energy project.
Downloads · 30 days
0
Access
Public
Updated Jun 20, 2026
Repo size
425 KB
Likes
0
Public
Click a slice to open those files.
.pt425 KB · 58%
From the Hugging Face model README
This repository contains the GTN-Base v4 surrogate model trained for the Shared Energy project.
The model is a Graph Transformer Network (GTN) that acts as a fast surrogate evaluator. It maps a power converter topology graph $T$ and a target duty cycle $d$ to the predicted efficiency ($\eta$) and normalized output voltage ($V_{\text{out}}$).
gtn_dataset_5comp_v2_corrected_cleaned.jsonl)topology_random (Topology-disjoint split. Train, Val, and Test topologies are completely mutually exclusive.)gtn_surrogate_model.pt: Model weights (model_state_dict), config, and training metadata.manifest.json: Training and evaluation manifest summary.training_history.jsonl: Metrics per epoch.test_predictions.jsonl: Model predictions on the test set.validation_predictions.jsonl: Model predictions on the validation set.import torch
from shared_energy.gtn_surrogate import GTNSurrogateModel
checkpoint_path = "gtn_surrogate_model.pt"
payload = torch.load(checkpoint_path, map_location="cpu")
model = GTNSurrogateModel(**payload["model_config"])
model.load_state_dict(payload["model_state_dict"])
model.eval()