Downloads · 30 days
4
8% of all-time downloads
witgaw/STGFORMER_METR-LA
STGFORMER_METR-LA is a machine learning model from witgaw. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Spatio-Temporal Graph Transformer (STGformer) trained on METR-LA dataset for traffic speed forecasting.
Downloads · 30 days
4
8% of all-time downloads
All-time downloads
49
Public
Parameters
882K
3.5 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.5 MB · 100%
From the Hugging Face model README
Spatio-Temporal Graph Transformer (STGformer) trained on METR-LA dataset for traffic speed forecasting.
This model uses a transformer-based graph neural network architecture that combines:
METR-LA: Traffic speed data from highway sensors.
from utils.stgformer import load_from_hub
# Load model from Hub
model, scaler = load_from_hub("METR-LA")
# Get predictions
import numpy as np
x = np.random.randn(10, 12, 207, 2) # (batch, seq_len, nodes, [value, tod])
predictions = model.predict(x)
Model was trained using the STGformer implementation with configuration:
If you use this model, please cite the STGformer paper:
@article{stgformer,
title={STGformer: Spatio-Temporal Graph Transformer for Traffic Forecasting},
author={Author names},
journal={Conference/Journal},
year={Year}
}
This model checkpoint is released under the same license as the training code.