Downloads · 30 days
4
5% of all-time downloads
shreyaspullehf/supervision-alignn-tc-prediction
supervision-alignn-tc-prediction is a machine learning model from shreyaspullehf. Use it for the 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.
This model predicts superconductor critical temperatures (Tc) using ALIGNN (Atomistic Line Graph Neural Network) fine-tuned on 3D crystal structure graphs.
Downloads · 30 days
4
5% of all-time downloads
All-time downloads
81
Public
Repo size
49.8 MB
Likes
0
Public
Click a slice to open those files.
.bin49.8 MB · 100%
From the Hugging Face model README
This model predicts superconductor critical temperatures (Tc) using ALIGNN (Atomistic Line Graph Neural Network) fine-tuned on 3D crystal structure graphs.
Key Features:
Primary Use Case:
Users:
Dataset: 3DSC (3D Superconductor Dataset)
Data Sources:
Preprocessing:
| Metric | Value |
|---|---|
| MAE | 5.34 K |
| RMSE | 10.27 K |
| R² | 0.7186 |
| Method | MAE (K) | Improvement |
|---|---|---|
| Random Forest (Stanev et al. 2018) | ~9.5 | 44% |
| GNN (Konno et al. 2021) | ~12 | 56% |
| SuperVision ALIGNN (ours) | 5.34 | State-of-the-art |
| Aspect | ALIGNN | DINOv3 | ALIGNN Advantage |
|---|---|---|---|
| Training Time | 3 hrs | 40 hrs | 13× faster |
| Inference Speed | 50 ms | 120 ms | 2.4× faster |
| Model Size | 4.2M params | 86M params | 20× smaller |
| Memory Usage | 8 GB | 16 GB | 50% less |
from alignn.pretrained import get_figshare_model
from jarvis.core.atoms import Atoms
from jarvis.io.vasp.inputs import Poscar
import torch
# Load model
model = torch.load("alignn_best.pth")
model.eval()
# Load crystal structure from CIF
atoms = Atoms.from_cif("material.cif")
# Convert to ALIGNN graph
from alignn.graphs import Graph
g, lg = Graph.atom_dgl_multigraph(atoms)
# Predict critical temperature
with torch.no_grad():
tc_prediction = model(g, lg)
print(f"Predicted Tc: {tc_prediction.item():.2f} K")
Use ALIGNN if:
Use DINOv3 if:
@software{supervision2024,
title={SuperVision: Transfer Learning for Superconductor Tc Prediction},
author={Your Name},
year={2024},
url={https://github.com/yourusername/SuperVision}
}
MIT License