Downloads · 30 days
0
Yalt8826/maml-stgcn-lstm-weather
maml-stgcn-lstm-weather is a machine learning model from Yalt8826. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains Model v5.0, a meta-learning–based spatio-temporal graph neural network for weather forecasting, designed to generalize across global climate regions and rapidly adapt to new, unseen locations…
Downloads · 30 days
0
Access
Public
Updated Feb 1, 2026
Repo size
6.7 MB
Likes
0
Public
Click a slice to open those files.
.pt6.7 MB · 99%
From the Hugging Face model README
This repository contains Model v5.0, a meta-learning–based spatio-temporal graph neural network for weather forecasting, designed to generalize across global climate regions and rapidly adapt to new, unseen locations using limited local data.
The model integrates:
The system is trained on globally distributed climate regions and fine-tuned to specific regions (e.g., deserts, tropics, polar zones) using multi-year historical data.
| Component | Value |
|---|---|
| STGCN Hidden Channels | 256 |
| LSTM Hidden Size | 128 |
| LSTM Layers | 4 |
| Input Channels | 24 |
| Output Channels | 12 |
| Input Window | 24 time steps |
| Forecast Horizon | 8 time steps |
This model is trained using the ERA5 hourly single-levels reanalysis dataset from cds.climate.copernicus.eu
Dataset characteristics
ERA5 provides physically consistent and globally complete weather fields, making it suitable for spatio-temporal learning and climate generalization tasks.
Each training sample consists of:
After meta-training, the model is adapted to new regions using multi-year historical data.
Each training sample consists of:
After meta-training, the model is adapted to new regions using multi-year historical data.
The pretrained model has been adapted and evaluated on diverse regions, including:
MODEL_REGIONS = [
(18, 23, 75, 80), # India
(8, 13, 98, 103), # Thailand
(53, 58, 35, 40), # Russia
(12.5, 17.5, 102.5, 107.5), # Thailand/Cambodia
(22.5, 27.5, 19.5, 24.5), # Libya/Egypt
(43.5, 48.5, 7.5, 12.5), # Southern France
(35.5, 40.5, -5.5, -0.5), # Spain/Mediterranean
(32.5, 37.5, 137.5, 142.5), # Tokyo/Eastern Japan
(-23.5, -18.5, 132.5, 137.5), # Australia
(-20, -15, -70, -65), # Peru
(44.5, 49.5, 125.5, 130.5), # Northeast China
(29.5, 34.5, -101.5, -96.5), # Texas
(-9.5, -4.5, -67.5, -62.5), # Amazon Basin
(67.5, 72.5, -32.5, -27.5), # Greenland
(51.5, 56.5, -112.5, -107.5), # Alberta, Canada
]
Loss function: Mean Squared Error (MSE)
Validation performed on held-out regional datasets
Computationally intensive due to GNN + LSTM + MAML architecture
Requires gridded weather data in NetCDF format
Uses static spatial graphs
Not optimized for real-time inference
This project was developed as an academic research-oriented system focusing on:
Meta-learning for spatio-temporal forecasting
Climate-aware adaptation mechanisms
Graph-based representations of physical systems
The design emphasizes extensibility and reproducibility, making it suitable for research papers, final-year projects, and graduate-level coursework.
Yashas Gowda N AIML Undergraduate Research interests: Meta-Learning, Graph Neural Networks, Climate AI
MIT License