Upload STGFORMER_TEST_E2E model trained on METR-LA
Browse files- README.md +7 -7
- hub_metadata.json +3 -2
- metadata.json +2 -2
- model.safetensors +1 -1
- pretrained_checkpoint/metadata.json +1 -1
README.md
CHANGED
|
@@ -3,18 +3,18 @@ tags:
|
|
| 3 |
- traffic-forecasting
|
| 4 |
- time-series
|
| 5 |
- graph-neural-network
|
| 6 |
-
-
|
| 7 |
datasets:
|
| 8 |
- metr-la
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# Spatial-Temporal Graph Transformer (
|
| 12 |
|
| 13 |
-
Spatial-Temporal Graph Transformer (
|
| 14 |
|
| 15 |
## Model Description
|
| 16 |
|
| 17 |
-
STGFormer
|
| 18 |
|
| 19 |
|
| 20 |
|
|
@@ -28,7 +28,7 @@ STGFormer pretrained checkpoint for METR-LA. This checkpoint contains pretrained
|
|
| 28 |
from utils.stgformer import load_from_hub
|
| 29 |
|
| 30 |
# Load model from Hub
|
| 31 |
-
model, scaler = load_from_hub("METR-LA", hf_repo_prefix="
|
| 32 |
|
| 33 |
# Get predictions
|
| 34 |
from utils.stgformer import get_predictions
|
|
@@ -37,11 +37,11 @@ predictions = get_predictions(model, scaler, test_dataset)
|
|
| 37 |
|
| 38 |
## Training
|
| 39 |
|
| 40 |
-
Model was trained using the
|
| 41 |
|
| 42 |
## Citation
|
| 43 |
|
| 44 |
-
If you use this model, please cite the original
|
| 45 |
|
| 46 |
```bibtex
|
| 47 |
@inproceedings{lan2022stgformer,
|
|
|
|
| 3 |
- traffic-forecasting
|
| 4 |
- time-series
|
| 5 |
- graph-neural-network
|
| 6 |
+
- stgformer_test_e2e
|
| 7 |
datasets:
|
| 8 |
- metr-la
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Spatial-Temporal Graph Transformer (Test E2E) - METR-LA
|
| 12 |
|
| 13 |
+
Spatial-Temporal Graph Transformer (Test E2E) (STGFORMER_TEST_E2E) trained on METR-LA dataset for traffic speed forecasting.
|
| 14 |
|
| 15 |
## Model Description
|
| 16 |
|
| 17 |
+
STGFormer E2E test: pretrain->save->load->impute->train
|
| 18 |
|
| 19 |
|
| 20 |
|
|
|
|
| 28 |
from utils.stgformer import load_from_hub
|
| 29 |
|
| 30 |
# Load model from Hub
|
| 31 |
+
model, scaler = load_from_hub("METR-LA", hf_repo_prefix="STGFORMER_TEST_E2E")
|
| 32 |
|
| 33 |
# Get predictions
|
| 34 |
from utils.stgformer import get_predictions
|
|
|
|
| 37 |
|
| 38 |
## Training
|
| 39 |
|
| 40 |
+
Model was trained using the STGFORMER_TEST_E2E implementation with default hyperparameters.
|
| 41 |
|
| 42 |
## Citation
|
| 43 |
|
| 44 |
+
If you use this model, please cite the original STGFORMER_TEST_E2E paper:
|
| 45 |
|
| 46 |
```bibtex
|
| 47 |
@inproceedings{lan2022stgformer,
|
hub_metadata.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"dataset": "METR-LA",
|
| 3 |
-
"
|
| 4 |
"framework": "PyTorch",
|
| 5 |
-
"hf_repo_prefix": "STGFORMER_TEST_E2E"
|
|
|
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"dataset": "METR-LA",
|
| 3 |
+
"metrics": {},
|
| 4 |
"framework": "PyTorch",
|
| 5 |
+
"hf_repo_prefix": "STGFORMER_TEST_E2E",
|
| 6 |
+
"implementation": "internal"
|
| 7 |
}
|
metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"dataset": "METR-LA",
|
| 3 |
-
"upload_date": "2025-12-08T14:
|
| 4 |
"metrics": {},
|
| 5 |
"framework": "PyTorch",
|
| 6 |
-
"model_type": "
|
| 7 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"dataset": "METR-LA",
|
| 3 |
+
"upload_date": "2025-12-08T14:24:03.974807",
|
| 4 |
"metrics": {},
|
| 5 |
"framework": "PyTorch",
|
| 6 |
+
"model_type": "STGFORMER_TEST_E2E"
|
| 7 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7231112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e53c220f7c2ff97a85951f4027bf8afa90ca47861ea1ba094ab41ed22fed344
|
| 3 |
size 7231112
|
pretrained_checkpoint/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"dataset": "METR-LA",
|
| 3 |
-
"upload_date": "2025-12-08T14:
|
| 4 |
"metrics": {},
|
| 5 |
"framework": "PyTorch",
|
| 6 |
"model_type": "STGFORMER_PRETRAINED"
|
|
|
|
| 1 |
{
|
| 2 |
"dataset": "METR-LA",
|
| 3 |
+
"upload_date": "2025-12-08T14:20:40.447316",
|
| 4 |
"metrics": {},
|
| 5 |
"framework": "PyTorch",
|
| 6 |
"model_type": "STGFORMER_PRETRAINED"
|