Spatial-Temporal Graph Transformer (Bs200 Short) - PEMS-BAY

Spatial-Temporal Graph Transformer (Bs200 Short) (STGFORMER_BS200_SHORT) trained on PEMS-BAY dataset for traffic speed forecasting.

Model Description

Baseline STGFormer with batch_size=200 for faster training

Dataset

PEMS-BAY: Traffic speed data from highway sensors.

Usage

from utils.stgformer import load_from_hub

# Load model from Hub
model, scaler = load_from_hub("PEMS-BAY", hf_repo_prefix="STGFORMER_BS200_SHORT")

# Get predictions
from utils.stgformer import get_predictions
predictions = get_predictions(model, scaler, test_dataset)

Training

Model was trained using the STGFORMER_BS200_SHORT implementation with default hyperparameters.

Citation

If you use this model, please cite the original STGFORMER_BS200_SHORT paper:

@inproceedings{lan2022stgformer,
  title={STGformer: Spatial-Temporal Graph Transformer for Traffic Forecasting},
  author={Lan, Shengnan and Ma, Yong and Huang, Weijia and Wang, Wanwei and Yang, Hui and Li, Peng},
  booktitle={IEEE Transactions on Neural Networks and Learning Systems},
  year={2022}
}

License

This model checkpoint is released under the same license as the training code.

Downloads last month
12
Safetensors
Model size
1.92M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support