Downloads · 30 days
4
20% of all-time downloads
witgaw/STGFORMER_MAMBA_FAST_PEMS-BAY
STGFORMER_MAMBA_FAST_PEMS-BAY 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 (Mamba Fast) (STGFORMERMAMBAFAST) trained on PEMS-BAY dataset for traffic speed forecasting.
Downloads · 30 days
4
20% of all-time downloads
All-time downloads
20
Public
Parameters
2.2M
18 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9 MB · 96%
From the Hugging Face model README
Spatial-Temporal Graph Transformer (Mamba Fast) (STGFORMER_MAMBA_FAST) trained on PEMS-BAY dataset for traffic speed forecasting.
STGFormer with optimized Mamba SSM (fast config for validation)
PEMS-BAY: Traffic speed data from highway sensors.
from utils.stgformer import load_from_hub
# Load model from Hub
model, scaler = load_from_hub("PEMS-BAY", hf_repo_prefix="STGFORMER_MAMBA_FAST")
# Get predictions
from utils.stgformer import get_predictions
predictions = get_predictions(model, scaler, test_dataset)
Model was trained using the STGFORMER_MAMBA_FAST implementation with default hyperparameters.
If you use this model, please cite the original STGFORMER_MAMBA_FAST 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.