thuml/UTSD

Dataset

38

stars

23

commits

2

linked in READMEs

Jun 19, 2025

updated

time series
time series analysis
time series forecasting

README

Unified Time Series Dataset (UTSD)

Updates

:triangular_flag_on_post: News (2024.10) We release the numpy format of UTSD. An easier and more efficient dataloader can be found here.

Introduction

We curate Unified Time Series Dataset (UTSD) that includes 7 domains with up to 1 billion time points with hierarchical four volumes to facilitate research of large models and pre-training in the field of time series.

Unified Time Series Dataset (UTSD) is meticulously assembled from a blend of publicly accessible online data repositories and empirical data derived from real-world machine operations.

All datasets are classified into seven distinct domains by their source: Energy, Environment, Health, Internet of Things (IoT), Nature, Transportation, and Web with diverse sampling frequencies.

See this paper for more information.

Usage

You can access and load UTSD based on this GitHub.

# huggingface-cli login
# export HF_ENDPOINT=https://hf-mirror.com 

python ./scripts/UTSD/download_dataset.py

# dataloader
python ./scripts/UTSD/utsdataset.py

It should be noted that due to the construction of our dataset with diverse lengths, the sequence lengths of different samples vary. You can construct the data organization logic according to your own needs.

In addition, we provide code dataset_evaluation.py for evaluating time series datasets, which you can use to evaluate your Huggingface formatted dataset. The usage of this script is as follows:

python ./scripts/UTSD/dataset_evaluation.py --root_path <dataset root path> --log_path <output log path>

Dataset Description

We analyze each dataset, examining the time series through the lenses of stationarity and forecastability to allow us to characterize the level of complexity inherent to each dataset.

DomainDatasetTime PointsFile SizeFreq.ADF.Forecast.Source
EnergyLondon Smart Meters166.50M4120MHourly-13.1580.173[1]
EnergyWind Farms7.40M179M4 sec-29.1740.811[1]
EnergyAus. Electricity Demand1.16M35M30 min-27.5540.730[1]
EnvironmentAustraliaRainfall11.54M54MHourly-150.100.458[2]
EnvironmentBeijingPM25Quality3.66M26MHourly-31.4150.404[2]
EnvironmentBenzeneConcentration16.34M206MHourly-65.1870.526[2]
HealthMotorImagery72.58M514M0.001 sec-3.1320.449[3]
HealthSelfRegulationSCP13.02M18M0.004 sec-3.1910.504[3]
HealthSelfRegulationSCP23.06M18M0.004 sec-2.7150.481[3]
HealthAtrialFibrillation0.04M1M0.008 sec-7.0610.167[3]
HealthPigArtPressure0.62M7M--7.6490.739[3]
HealthPigCVP0.62M7M--4.8550.577[3]
HealthIEEEPPG15.48M136M0.008 sec-7.7250.380[2]
HealthBIDMC32HR63.59M651M--14.1350.523[2]
HealthTDBrain72.30M1333M0.002 sec-3.1670.967[5]
IoTSensorData165.4M2067M0.02 sec-15.8920.917Real-world machine logs
NaturePhoneme2.16M25M--8.5060.243[3]
NatureEigenWorms27.95M252M--12.2010.393[3]
NatureERA5 Surface58.44M574M3 h-28.2630.493[4]
NatureERA5 Pressure116.88M1083M3h-22.0010.853[4]
NatureTemperature Rain23.25M109MDaily-10.9520.133[1]
NatureStarLightCurves9.46M109M--1.8910.555[3]
NatureSaugen River Flow0.02M1MDaily-19.3050.300[1]
NatureKDD Cup 20182.94M67MHourly-10.1070.362[1]
NatureUS Births0.00M1MDaily-3.3520.675[1]
NatureSunspot0.07M2MDaily-7.8660.287[1]
NatureWorms0.23M4M0.033 sec-3.8510.395[3]
TransportPedestrian Counts3.13M72MHourly-23.4620.297[1]
WebWeb Traffic116.49M388MDaily-8.2720.299[1]

You can find the specific source address in source.csv.

[1]: Monash Time Series Forecasting Archive [2]: Time series extrinsic regression Predicting numeric values from time series data [3]: The UCR Time Series Archive [4]: ERA5-Land: a state-of-the-art global reanalysis dataset for land applications [5]: Contrast Everything: A Hierarchical Contrastive Framework for Medical Time-Series

Hierarchy of Datasets

UTSD is constructed with hierarchical capacities, namely UTSD-1G, UTSD-2G, UTSD-4G, and UTSD-12G, where each smaller dataset is a subset of the larger ones. A larger subset means greater data difficulty and diversity, allowing you to conduct detailed scaling experiments.

Acknowledgments

UTSD is mostly built from the Internet public time series dataset, which comes from different research teams and providers. We sincerely thank all individuals and organizations who have contributed the data. Without their generous sharing, this dataset would not have existed.

Citation

If you're using UTSD in your research or applications, please cite it using this BibTeX:

BibTeX:

@inproceedings{liutimer,
  title={Timer: Generative Pre-trained Transformers Are Large Time Series Models},
  author={Liu, Yong and Zhang, Haoran and Li, Chenyu and Huang, Xiangdong and Wang, Jianmin and Long, Mingsheng},
  booktitle={Forty-first International Conference on Machine Learning}
}

Contributors

Yong99

13 commits

ZDandsomSP

10 commits

thuml/UTSD

Dataset

38

stars

23

commits

2

linked in READMEs

Jun 19, 2025

updated

time series
time series analysis
time series forecasting

README

Unified Time Series Dataset (UTSD)

Updates

:triangular_flag_on_post: News (2024.10) We release the numpy format of UTSD. An easier and more efficient dataloader can be found here.

Introduction

We curate Unified Time Series Dataset (UTSD) that includes 7 domains with up to 1 billion time points with hierarchical four volumes to facilitate research of large models and pre-training in the field of time series.

Unified Time Series Dataset (UTSD) is meticulously assembled from a blend of publicly accessible online data repositories and empirical data derived from real-world machine operations.

All datasets are classified into seven distinct domains by their source: Energy, Environment, Health, Internet of Things (IoT), Nature, Transportation, and Web with diverse sampling frequencies.

See this paper for more information.

Usage

You can access and load UTSD based on this GitHub.

# huggingface-cli login
# export HF_ENDPOINT=https://hf-mirror.com 

python ./scripts/UTSD/download_dataset.py

# dataloader
python ./scripts/UTSD/utsdataset.py

It should be noted that due to the construction of our dataset with diverse lengths, the sequence lengths of different samples vary. You can construct the data organization logic according to your own needs.

In addition, we provide code dataset_evaluation.py for evaluating time series datasets, which you can use to evaluate your Huggingface formatted dataset. The usage of this script is as follows:

python ./scripts/UTSD/dataset_evaluation.py --root_path <dataset root path> --log_path <output log path>

Dataset Description

We analyze each dataset, examining the time series through the lenses of stationarity and forecastability to allow us to characterize the level of complexity inherent to each dataset.

DomainDatasetTime PointsFile SizeFreq.ADF.Forecast.Source
EnergyLondon Smart Meters166.50M4120MHourly-13.1580.173[1]
EnergyWind Farms7.40M179M4 sec-29.1740.811[1]
EnergyAus. Electricity Demand1.16M35M30 min-27.5540.730[1]
EnvironmentAustraliaRainfall11.54M54MHourly-150.100.458[2]
EnvironmentBeijingPM25Quality3.66M26MHourly-31.4150.404[2]
EnvironmentBenzeneConcentration16.34M206MHourly-65.1870.526[2]
HealthMotorImagery72.58M514M0.001 sec-3.1320.449[3]
HealthSelfRegulationSCP13.02M18M0.004 sec-3.1910.504[3]
HealthSelfRegulationSCP23.06M18M0.004 sec-2.7150.481[3]
HealthAtrialFibrillation0.04M1M0.008 sec-7.0610.167[3]
HealthPigArtPressure0.62M7M--7.6490.739[3]
HealthPigCVP0.62M7M--4.8550.577[3]
HealthIEEEPPG15.48M136M0.008 sec-7.7250.380[2]
HealthBIDMC32HR63.59M651M--14.1350.523[2]
HealthTDBrain72.30M1333M0.002 sec-3.1670.967[5]
IoTSensorData165.4M2067M0.02 sec-15.8920.917Real-world machine logs
NaturePhoneme2.16M25M--8.5060.243[3]
NatureEigenWorms27.95M252M--12.2010.393[3]
NatureERA5 Surface58.44M574M3 h-28.2630.493[4]
NatureERA5 Pressure116.88M1083M3h-22.0010.853[4]
NatureTemperature Rain23.25M109MDaily-10.9520.133[1]
NatureStarLightCurves9.46M109M--1.8910.555[3]
NatureSaugen River Flow0.02M1MDaily-19.3050.300[1]
NatureKDD Cup 20182.94M67MHourly-10.1070.362[1]
NatureUS Births0.00M1MDaily-3.3520.675[1]
NatureSunspot0.07M2MDaily-7.8660.287[1]
NatureWorms0.23M4M0.033 sec-3.8510.395[3]
TransportPedestrian Counts3.13M72MHourly-23.4620.297[1]
WebWeb Traffic116.49M388MDaily-8.2720.299[1]

You can find the specific source address in source.csv.

[1]: Monash Time Series Forecasting Archive [2]: Time series extrinsic regression Predicting numeric values from time series data [3]: The UCR Time Series Archive [4]: ERA5-Land: a state-of-the-art global reanalysis dataset for land applications [5]: Contrast Everything: A Hierarchical Contrastive Framework for Medical Time-Series

Hierarchy of Datasets

UTSD is constructed with hierarchical capacities, namely UTSD-1G, UTSD-2G, UTSD-4G, and UTSD-12G, where each smaller dataset is a subset of the larger ones. A larger subset means greater data difficulty and diversity, allowing you to conduct detailed scaling experiments.

Acknowledgments

UTSD is mostly built from the Internet public time series dataset, which comes from different research teams and providers. We sincerely thank all individuals and organizations who have contributed the data. Without their generous sharing, this dataset would not have existed.

Citation

If you're using UTSD in your research or applications, please cite it using this BibTeX:

BibTeX:

@inproceedings{liutimer,
  title={Timer: Generative Pre-trained Transformers Are Large Time Series Models},
  author={Liu, Yong and Zhang, Haoran and Li, Chenyu and Huang, Xiangdong and Wang, Jianmin and Long, Mingsheng},
  booktitle={Forty-first International Conference on Machine Learning}
}

Contributors

Yong99

13 commits

ZDandsomSP

10 commits