PhyGHT mu200
physics event analysis model checkpoint
2 min readupdated
PhyGHT mu200 handles tabular regression (predicting numerical values from structured tables) based on particle collision physics simulations. Trained from scratch on 8,000 events, it predicts energy and mass fractions (energy_fraction and mass_fraction). Its architecture uses a hidden dimension of 128, 4 attention heads, and 3 Transformer layers. This checkpoint is built for high-energy physics researchers and developers working with complex tabular data and graph simulations.
Key features
- Trained for 200 epochs using a validation hybrid loss.
- Strong R2 scores across validation and test sets (up to 0.93 for energy).
- Fully reproducible inference using fixed CUDA settings.
- Native integration with PyTorch and torch-geometric.
What you can do
- Run local Python inference to analyze test events included in the repository.
- Benchmark energy and mass fraction predictions on your own simulation datasets.
- Integrate the model into high-energy physics data processing pipelines.
Example
import json, sys, os
os.environ.setdefault("CUBLAS_WORKSPACE_CONFIG", ":4096:8")
from pathlib import Path
import torch
from huggingface_hub import snapshot_download
folder = Path(snapshot_download("Rakib/PhyGHT-mu200"))
sys.path.insert(0, str(folder))
from portable_io import load_model, predict_event
device = "cuda" if torch.cuda.is_available() else "cpu"
model = load_model(folder, device=device)
event = json.loads((folder / "example_event.json").read_text())
predictions = predict_event(model, event, device=device)
Read more
DetailsTest metrics energy_fraction R2: 0.9346, MAE: 0.0124
Test metrics mass_fraction R2: 0.8366, MAE: 0.0095
Requirements: Python 3.10.18, PyTorch 2.6.0+cu124, torch-geometric
Limitations: simulated top-quark-pair events; real-world data requires validation










Comments