Downloads · 30 days
38
19% of all-time downloads
SamuelM0422/PatchTST-Hourly-Electricity-Demand-Brazil
PatchTST-Hourly-Electricity-Demand-Brazil is a time series forecasting model from SamuelM0422. Use it for the time series forecasting task on the model card, and read the license before you ship it in a product. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
38
19% of all-time downloads
All-time downloads
203
Public
Parameters
138K
603 KB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors558 KB · 82%
From the Hugging Face model README
This model is a fine-tuned version of PatchTST model on the Brazilian Hourly Electricity Demand dataset. It achieves the following results on the evaluation set:

PatchTST is a Transformer-based architecture optimized for univariate and multivariate time series forecasting. It introduces a patching mechanism (inspired by Vision Transformers) to capture local temporal patterns, enhancing both performance and efficiency for long input sequences.
This model was fine-tuned for the task of predicting hourly electricity demand in Brazil, more specifically, the North East region, and demonstrates robust performance over the test set.
This model is best suited for:
The model was trained using the Hourly-Electricity-Demand-Brazil dataset, which contains hourly energy demand data from 2015 to 2024.
The following hyperparameters were used during training:
OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.4183 | 1.0 | 249 | 0.4237 |
| 0.2361 | 2.0 | 498 | 0.3208 |
| 0.1963 | 3.0 | 747 | 0.2892 |
| 0.1809 | 4.0 | 996 | 0.2761 |
| 0.1714 | 5.0 | 1245 | 0.2682 |
| 0.1637 | 6.0 | 1494 | 0.2611 |
| 0.1564 | 7.0 | 1743 | 0.2533 |
| 0.1508 | 8.0 | 1992 | 0.2464 |
| 0.1461 | 9.0 | 2241 | 0.2444 |
| 0.1421 | 10.0 | 2490 | 0.2392 |
| 0.1387 | 11.0 | 2739 | 0.2367 |
| 0.1361 | 12.0 | 2988 | 0.2364 |
| 0.1335 | 13.0 | 3237 | 0.2312 |
| 0.1315 | 14.0 | 3486 | 0.2310 |
| 0.1296 | 15.0 | 3735 | 0.2310 |
| 0.1282 | 16.0 | 3984 | 0.2295 |
| 0.1266 | 17.0 | 4233 | 0.2277 |
| 0.1256 | 18.0 | 4482 | 0.2255 |
| 0.1247 | 19.0 | 4731 | 0.2268 |
| 0.1239 | 20.0 | 4980 | 0.2285 |
| 0.1232 | 21.0 | 5229 | 0.2252 |
| 0.1223 | 22.0 | 5478 | 0.2260 |
| 0.1215 | 23.0 | 5727 | 0.2225 |
| 0.121 | 24.0 | 5976 | 0.2232 |
| 0.1204 | 25.0 | 6225 | 0.2253 |
| 0.1202 | 26.0 | 6474 | 0.2268 |
| 0.1195 | 27.0 | 6723 | 0.2243 |
| 0.119 | 28.0 | 6972 | 0.2205 |
| 0.1186 | 29.0 | 7221 | 0.2203 |
| 0.118 | 30.0 | 7470 | 0.2228 |
| 0.1174 | 31.0 | 7719 | 0.2235 |
| 0.1171 | 32.0 | 7968 | 0.2217 |
| 0.1167 | 33.0 | 8217 | 0.2193 |
| 0.1162 | 34.0 | 8466 | 0.2221 |
| 0.1157 | 35.0 | 8715 | 0.2223 |
| 0.1155 | 36.0 | 8964 | 0.2195 |
| 0.115 | 37.0 | 9213 | 0.2183 |
| 0.1146 | 38.0 | 9462 | 0.2230 |
| 0.1142 | 39.0 | 9711 | 0.2242 |
| 0.1141 | 40.0 | 9960 | 0.2214 |
| 0.1138 | 41.0 | 10209 | 0.2235 |
| 0.1134 | 42.0 | 10458 | 0.2227 |
| 0.113 | 43.0 | 10707 | 0.2201 |
| 0.1128 | 44.0 | 10956 | 0.2256 |
| 0.1126 | 45.0 | 11205 | 0.2197 |
| 0.1123 | 46.0 | 11454 | 0.2250 |
| 0.112 | 47.0 | 11703 | 0.2218 |