|
Download README.md from witgaw/STGFORMER_PRETRAIN_STAGE2ONLY_METR-LA: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/witgaw/STGFORMER_PRETRAIN_STAGE2ONLY_METR-LA/resolve/main/README.md
- Command line
-
hf download hf://witgaw/STGFORMER_PRETRAIN_STAGE2ONLY_METR-LA/README.md
-
curl -L -o README.md https://huggingface.co/witgaw/STGFORMER_PRETRAIN_STAGE2ONLY_METR-LA/resolve/main/README.md
1.43 kB
metadata
tags:
- traffic-forecasting
- time-series
- graph-neural-network
- stgformer_pretrain_stage2only
datasets:
- metr-la
Spatial-Temporal Graph Transformer (Pretrain Stage2Only) - METR-LA
Spatial-Temporal Graph Transformer (Pretrain Stage2Only) (STGFORMER_PRETRAIN_STAGE2ONLY) trained on METR-LA dataset for traffic speed forecasting.
Model Description
STGFormer with stage2-only pretraining (per-node masking, 10 epochs)
Dataset
METR-LA: Traffic speed data from highway sensors.
Usage
from utils.stgformer import load_from_hub
# Load model from Hub
model, scaler = load_from_hub("METR-LA", hf_repo_prefix="STGFORMER_PRETRAIN_STAGE2ONLY")
# Get predictions
from utils.stgformer import get_predictions
predictions = get_predictions(model, scaler, test_dataset)
Training
Model was trained using the STGFORMER_PRETRAIN_STAGE2ONLY implementation with default hyperparameters.
Citation
If you use this model, please cite the original STGFORMER_PRETRAIN_STAGE2ONLY 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.