AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Time series

    M4 Competition (2018)

    100,000 real series, from yearly to hourly, to see which forecasting methods actually work.

    Why it matters

    The M competitions have tested forecasting methods on real data since 1982, and M4 was the first at scale: 100,000 series from finance, industry, demography and economics. It settled an argument. Pure machine-learning methods did poorly, combinations of statistical methods did well, and the winner was a hybrid: Slawek Smyl's exponential smoothing fused with an LSTM. A year later N-BEATS beat it with deep learning alone, and M4 became the standard test for global forecasting models.

    Get the data

    # pip install -U huggingface_hub
    hf download autogluon/chronos_datasets --repo-type dataset \
      --local-dir m4

    The Chronos collection of forecasting datasets, one config per M4 frequency. The official CSVs, split into train and test, are in the M4 repository.

    Year
    2018
    Creators
    Spyros Makridakis, Evangelos Spiliotis, Vassilios Assimakopoulos (University of Nicosia, NTUA)
    Task
    Univariate point and interval forecasting, at six frequencies
    Size
    100,000 series (48,000 monthly, 24,000 quarterly, 23,000 yearly, 4,227 daily, 414 hourly, 359 weekly)
    Splits
    yearly 23,000 · quarterly 24,000 · monthly 48,000 · weekly 359 · daily 4,227 · hourly 414
    Input
    The history of one series, from 13 to over 9,000 observations
    Labels
    The next 6 (yearly) to 48 (hourly) values, scored with sMAPE and MASE
    License
    Free for research (M4 repository); the Hugging Face copy keeps each source's terms
    Paper
    The M4 Competition: Results, findings, conclusion and way forward

    Samples

    Showing 12 of 24 sampled series(from 100,000 in 6 tasks)
    T007737m4_yearlyMicro
    7,742123
    1960-12-312016-12-31
    T000653m4_quarterlyMacro
    2,2751,337
    2005-03-312016-09-30
    T018140m4_monthlyMicro
    2,050480
    2010-01-312017-03-31
    T000147m4_weeklyFinance
    2,967183.8
    2005-06-122016-12-04

    the last 600 of 1,657 points

    T003179m4_dailyFinance
    9,6125,434
    2011-02-172012-10-08

    the last 600 of 4,211 points

    T000280m4_hourlyOther
    24.212.9
    2010-08-22 12:002010-09-16 11:00

    the last 600 of 1,008 points

    T007740m4_yearlyMicro
    1,3711,000
    1986-12-312007-12-31
    T000657m4_quarterlyMacro
    1,218978.1
    2005-03-312016-09-30
    T018133m4_monthlyMicro
    17,5003,700
    2010-01-312017-03-31
    T000141m4_weeklyFinance
    5,6852,029
    2005-07-102017-01-01

    the last 600 of 862 points

    T003185m4_dailyFinance
    17,3504,676
    2011-02-152012-10-06

    the last 600 of 4,209 points

    T000284m4_hourlyOther
    2912.4
    2010-04-14 12:002010-05-09 11:00

    the last 600 of 1,008 points

    What one record actually looks like (raw JSON, row 7737)
    {
      "category": "Micro",
      "id": "T007737",
      "target": [134, 133, 123, 136, 148, 151, 155, 151, 158, 182, 208, 236, 228, 269, 319, 362, 442, 481, 517, 552, 613, 885, 885, 844, 944, 1198, 1393, 1543, 1848, 1866, 1864, 2231, 2252, 2001, 2333, 2305, 2691, 2349, 3012, 3430, … 17 more],
      "timestamp": ["1960-12-31T12:00:00", "1961-12-31T12:00:00", "1962-12-31T12:00:00", "1963-12-31T12:00:00", "1964-12-31T12:00:00", "1965-12-31T12:00:00", "1966-12-31T12:00:00", "1967-12-31T12:00:00", "1968-12-31T12:00:00", "1969-12-31T12:00:00", "1970-12-31T12:00:00", "1971-12-31T12:00:00", "1972-12-31T12:00:00", "1973-12-31T12:00:00", "1974-12-31T12:00:00", "1975-12-31T12:00:00", "1976-12-31T12:00:00", "1977-12-31T12:00:00", "1978-12-31T12:00:00", "1979-12-31T12:00:00", "1980-12-31T12:00:00", "1981-12-31T12:00:00", "1982-12-31T12:00:00", "1983-12-31T12:00:00", "1984-12-31T12:00:00", "1985-12-31T12:00:00", "1986-12-31T12:00:00", "1987-12-31T12:00:00", "1988-12-31T12:00:00", "1989-12-31T12:00:00", "1990-12-31T12:00:00", "1991-12-31T12:00:00", "1992-12-31T12:00:00", "1993-12-31T12:00:00", "1994-12-31T12:00:00", "1995-12-31T12:00:00", "1996-12-31T12:00:00", "1997-12-31T12:00:00", "1998-12-31T12:00:00", "1999-12-31T12:00:00", … 17 more]
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-14 from autogluon/chronos_datasets at revision eeecad0

    Worth knowing

    Related datasets

    Landmark papers