Downloads · 30 days
2
8% of all-time downloads
witgaw/STGFORMER_BS100_SHORT_METR-LA
STGFORMER_BS100_SHORT_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.
Spatial-Temporal Graph Transformer (Bs100 Short) (STGFORMERBS100SHORT) trained on METR-LA dataset for traffic speed forecasting.
Downloads · 30 days
2
8% of all-time downloads
All-time downloads
25
Public
Parameters
1.8M
21.7 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.2 MB · 97%
From the Hugging Face model README
Spatial-Temporal Graph Transformer (Bs100 Short) (STGFORMER_BS100_SHORT) trained on METR-LA dataset for traffic speed forecasting.
Baseline STGFormer with batch_size=100 for comparison with Mamba with same batch size
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", hf_repo_prefix="STGFORMER_BS100_SHORT")
# Get predictions
from utils.stgformer import get_predictions
predictions = get_predictions(model, scaler, test_dataset)
Model was trained using the STGFORMER_BS100_SHORT implementation with default hyperparameters.
If you use this model, please cite the original STGFORMER_BS100_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}
}
This model checkpoint is released under the same license as the training code.