# ETT (Electricity Transformer Temperature) (2021)

> Two years of load and oil temperature from two Chinese power transformers, the standard test for long-horizon forecasting.

Page: https://mralbu.github.io/ai-datasets/d/ett

## Key facts

- Category: Time series
- Task: Long-horizon multivariate forecasting
- Creators: Haoyi Zhou, Shanghang Zhang, Jieqi Peng and others (Beihang University), with State Grid data
- Size: 4 series of 7 variables, July 2016 to July 2018 (ETTh1, ETTh2 hourly; ETTm1, ETTm2 every 15 minutes)
- Splits: ETTh1 17,420, ETTh2 17,420, ETTm1 69,680, ETTm2 69,680
- Input: Six power-load measurements (high, middle and low voltage; useful and useless load)
- Labels: Oil temperature (OT), forecast with the loads 96 to 720 steps ahead
- License: CC BY-ND 4.0
- Paper: [Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting](https://arxiv.org/abs/2012.07436)
- Homepage: https://github.com/zhouhaoyi/ETDataset
- Hugging Face: [ailuntz/ETT-small](https://huggingface.co/datasets/ailuntz/ETT-small)
- Sampled at Hub revision c7177e374830f246f184dd3ef082642d94e7279e (2026-11-14)

## Why it matters

Informer (AAAI 2021 best paper) released ETT to test forecasting far ahead, and with Electricity, Traffic and Weather it became the benchmark set for long-horizon forecasting. Autoformer, FEDformer, PatchTST and iTransformer all report on it. In 2023 a paper asked "Are Transformers effective for time series forecasting?" and showed that one linear layer beat most of them on these datasets, a reminder of how easy it is to overfit a small benchmark.

## Worth knowing

- Oil temperature tracks the transformer's load and warns of overheating, which is why it is the target.
- The standard horizons are 96, 192, 336 and 720 steps; results are MSE and MAE on data normalized with the training set's statistics.
- The usual split is 12/4/4 months for training, validation and test.
- Some of the load columns go negative at times.
- The sample is a random two-week window (336 hours) of ETTh1, the most-used of the four.

## Get the data

A community copy of the four CSVs concatenated in one table (ETTh1, ETTh2, ETTm1, ETTm2, in that order). The originals are in the ETDataset repository.

```bash
# pip install -U huggingface_hub
hf download ailuntz/ETT-small --repo-type dataset \
  --local-dir ett
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("ailuntz/ETT-small")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/ailuntz/ETT-small@~parquet/default/train/*.parquet")
print(df.shape)
```

## Related datasets

- Electricity Load Diagrams: the Electricity set of the same benchmark (on this site: https://mralbu.github.io/ai-datasets/d/electricity)
- [Traffic (PeMS)](https://pems.dot.ca.gov/): hourly road occupancy from 862 San Francisco Bay Area sensors
- [Weather (Jena)](https://www.bgc-jena.mpg.de/wetter/): 21 weather variables every 10 minutes, Max Planck Institute for Biogeochemistry

## Landmark papers

- [Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting](https://arxiv.org/abs/2106.13008) (2021)
- [Are Transformers Effective for Time Series Forecasting? (DLinear)](https://arxiv.org/abs/2205.13504) (2023)
- [A Time Series is Worth 64 Words: Long-term Forecasting with Transformers (PatchTST)](https://arxiv.org/abs/2211.14730) (2023)

## Papers on this site that use it

- [Informer (2020)](https://mralbu.github.io/ai-datasets/p/informer.md): A Transformer made cheap enough to forecast hundreds of steps ahead, and the paper that introduced the ETT dataset.
- [PatchTST (2022)](https://mralbu.github.io/ai-datasets/p/patchtst.md): Cut each series into patches and treat them like words, and Transformers forecast better than the linear models that had just beaten them.
- [Chronos (2024)](https://mralbu.github.io/ai-datasets/p/chronos.md): Turn numbers into tokens, train an unmodified language model on them, and forecast series it has never seen.
