/ Модель

Характеристики

Контекст
1 024 токена
Лицензия
Apache 2.0
Библиотека
timessm
Опубликована
11 окт 2026

timessm-2.5m

Прогноз временных рядовTime_series → time_series

Компактная модель с архитектурой S4D для zero-shot прогнозирования одномерных временных рядов с выдачей девяти квантилей.

17скачиваний за 30 дней4лайкавеса обновлены12 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

TimeSSM-2.5M — компактная модель прогнозирования временных рядов, созданная одним разработчиком и обученная с нуля. Она содержит около 2,53 млн параметров и использует шесть блоков S4D с диагональным линейным пространством состояний. Модель обучена на 15,85 млрд наблюдений из открытых временных рядов и предназначена для прогнозирования без дообучения на каждом отдельном наборе данных.

Модель принимает одномерный временной ряд и заданную частоту дискретизации, затем за один проход строит прогноз на горизонт произвольной длины и выдаёт девять квантилей от 0,1 до 0,9. Частота дискретизации задаётся во время инференса; автор также описывает слой повторной выборки для повышения качества прогнозов на средних и длинных горизонтах, который увеличивает вычислительные затраты в 20–40 раз. В оценке GIFT-Eval модель показала результаты лучше сезонного наивного прогноза в среднем по 97 конфигурациям, однако качество зависит от типа ряда и горизонта.

Модель подходит для экспериментального использования в задачах прогнозирования спроса, нагрузки и других числовых рядов, когда частота данных известна. Она ограничена одномерными рядами, не определяет частоту автоматически и слабее работает на некоторых коротких облачных трассах, рядах с недельной сезонностью и низкочастотных экономических рядах. Лицензия — Apache 2.0.

Сценарии применения

  • прогнозирование будущей нагрузки серверов
  • оценка спроса по историческим наблюдениям
  • построение вероятностных прогнозов временного ряда
  • прогнозирование числовых сигналов и датчиков
  • сравнение прогноза с сезонным наивным методом

Ограничения

Модель одномерная и требует заранее заданной частоты дискретизации; она не определяет частоту автоматически. Базовая версия ориентирована на короткий горизонт, а слой повторной выборки для средних и длинных горизонтов увеличивает затраты инференса в 20–40 раз; качество слабее на некоторых облачных трассах, рядах с недельным циклом и низкочастотных экономических рядах.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

TimeSSM-2.5M

TimeSSM-2.5M forecasting a fluid simulation it has never seen, every pixel as an independent series: ground truth, forecast median, forecast mean, uncertainty

A 2.5M-parameter zero-shot time series forecaster built on a diagonal linear state space model (S4D), trained from scratch on 15.85 billion observations of public time series. It forecasts any horizon in one pass, outputs nine quantiles, and exposes its sampling interval as an inference-time knob: the same weights run a series at any rate.

It was trained by one person on three RTX 3090s, outside of any lab or company.

The animation is a lattice-Boltzmann flow past an obstacle shaped like the letters, 48 by 96 pixels, each pixel forecast as its own series 256 frames ahead from 1024 frames of context, with the sampling interval set from the shedding period. The red frame marks the end of the context. Mean absolute error over the horizon: 0.0094 against 0.0458 for freezing the last frame; empirical 80 % coverage 0.785.

GIFT-Eval results

97 configurations, zero-shot. MASE and CRPS are geometric means of the ratio to the official seasonal naive, as on the leaderboard. Lower is better. All numbers come from the released checkpoint, the last one of its training run; no checkpoint was picked on GIFT-Eval. The evaluation harness reproduces t0-beta's official per-configuration results on 97 of 97 configurations.

With inference-time backtest resampling

MASECRPS
TimeSSM-2.5M + backtest resampling0.75440.5128

The context is resampled at several rates (decimation by 2 to 48, upsampling by 2 to 4) and forecast at each; a causal backtest on the series' own past weights the candidates and the forecasts are mixed per quantile level, with sign-flip averaging. The quantile fan is widened by nine per-level factors calibrated on the training corpus. Nothing is fitted on GIFT-Eval data. It costs 20 to 40 forecasts per series instead of one.

Bare model

MASECRPS
TimeSSM-2.5M0.79850.5451

One forward pass per series, no averaging, no resampling, no calibration.

Where it stands

Among the models of the GIFT-Eval leaderboard under 10M parameters, sorted by CRPS (leaderboard numbers and parameter counts from its metadata; the two TimeSSM rows and the Chronos-Bolt rows from this harness):

ModelParametersCRPS ratio
FlowState-9.1M9.1M0.502
TimeSSM-2.5M + backtest resampling2.5M0.513
TTM-R31.4M0.520
Toto-2.0-4m4.1M0.524
Chronos-Bolt tiny + the same resampling layer9M0.532
TempoPFNn/a0.533
TinyCast0.1M0.545
TimeSSM-2.5M2.5M0.545
goia-forecast-nano4.7M0.553
Kairos-10m9.9M0.554
Metamorph-4.5Mn/a0.555
Chronos-Bolt tiny9M0.601
YingLong-6m7.3M0.609

TTM-R3 saw GIFT-Eval data in pretraining. Above 10M for scale: Chronos-Bolt small (48M) is at 0.564 bare and 0.515 with the same resampling layer; bare against bare, TimeSSM-2.5M beats it on both metrics.

Per configuration

Ratios to the official seasonal naive, released checkpoint, with backtest resampling and bare.

ConfigurationMASE (resampling)CRPS (resampling)MASE (bare)CRPS (bare)
bitbrains_fast_storage/5T/long0.8970.6810.8510.764
bitbrains_fast_storage/5T/medium0.9100.6120.8610.578
bitbrains_fast_storage/5T/short0.7140.3500.6830.339
bitbrains_fast_storage/H/short0.9350.6580.8900.671
bitbrains_rnd/5T/long0.9920.5630.9890.464
bitbrains_rnd/5T/medium0.9970.4960.9930.465
bitbrains_rnd/5T/short0.9330.4000.8990.377
bitbrains_rnd/H/short1.0010.4720.9880.441
bizitobs_application/10S/long1.1091.2151.2441.410
bizitobs_application/10S/medium1.0661.0441.4661.373
bizitobs_application/10S/short0.8680.4910.8590.579
bizitobs_l2c/5T/long0.3100.3110.8520.931
bizitobs_l2c/5T/medium0.3750.3790.6890.704
bizitobs_l2c/5T/short0.2910.2930.3580.377
bizitobs_l2c/H/long0.3760.2620.3900.272
bizitobs_l2c/H/medium0.3180.2510.3290.264
bizitobs_l2c/H/short0.3880.3850.4280.421
bizitobs_service/10S/long0.9990.9691.7711.324
bizitobs_service/10S/medium0.8920.6211.7731.187
bizitobs_service/10S/short0.7370.3700.9920.502
car_parts/M/short0.7830.6220.6980.560
covid_deaths/D/short0.8430.2890.8230.338
electricity/15T/long0.7870.6890.8060.713
electricity/15T/medium0.7790.7070.7860.714
electricity/15T/short0.6820.6200.6510.587
electricity/D/short0.7610.5690.7520.570
electricity/H/long0.9180.6850.9590.753
electricity/H/medium0.8260.6410.8420.686
electricity/H/short0.7110.6350.7310.658
electricity/W/short0.6730.4840.7030.532
ett1/15T/long0.8460.6790.8880.749
ett1/15T/medium0.8390.7220.8880.797
ett1/15T/short0.7660.6890.7960.724
ett1/D/short0.9450.6760.9520.679
ett1/H/long0.9260.5800.9470.629
ett1/H/medium0.8300.6040.8840.656
ett1/H/short0.8510.7510.8760.776
ett1/W/short0.8370.8090.8910.882
ett2/15T/long0.8980.7200.9540.757
ett2/15T/medium0.8450.7370.9140.806
ett2/15T/short0.7120.6980.7270.712
ett2/D/short1.1190.7470.9990.643
ett2/H/long1.0200.5690.9870.547
ett2/H/medium0.9130.6070.8970.608
ett2/H/short0.8530.7930.8720.811
ett2/W/short1.1650.7381.3090.845
hierarchical_sales/D/short0.6690.3380.6590.335
hierarchical_sales/W/short0.7000.4070.6920.399
hospital/M/short0.8600.8780.8800.895
jena_weather/10T/long0.8490.2040.8500.209
jena_weather/10T/medium0.8450.2260.8590.231
jena_weather/10T/short0.3870.1740.4080.191
jena_weather/D/short0.6930.2200.6830.230
jena_weather/H/long0.8080.1400.8380.146
jena_weather/H/medium0.9610.1511.1130.165
jena_weather/H/short0.7200.2730.7430.275
kdd_cup_2018/D/short0.7850.5540.8000.562
kdd_cup_2018/H/long0.7620.4790.7850.490
kdd_cup_2018/H/medium0.7320.5630.7460.573
kdd_cup_2018/H/short0.7130.6990.7290.719
loop_seattle/5T/long0.6520.5720.8050.719
loop_seattle/5T/medium0.7530.6550.8190.730
loop_seattle/5T/short0.7160.5820.7740.635
loop_seattle/D/short0.5170.4210.5170.430
loop_seattle/H/long0.6070.3390.6570.369
loop_seattle/H/medium0.6680.4220.6800.427
loop_seattle/H/short0.6750.5880.7010.609
m4_daily/D/short1.1141.0081.1891.060
m4_hourly/H/short1.4190.7091.5430.750
m4_monthly/M/short0.8270.8280.8400.846
m4_quarterly/Q/short0.7950.8040.8350.842
m4_weekly/W/short0.9090.6590.9940.696
m4_yearly/A/short0.9210.9350.8960.898
m_dense/D/short0.4320.3070.4240.301
m_dense/H/long0.5970.3490.5890.346
m_dense/H/medium0.4830.3330.4870.335
m_dense/H/short0.5580.5020.5810.520
restaurant/D/short0.6920.3880.6840.385
saugeen/D/short0.8360.5810.9270.660
saugeen/M/short0.7450.6530.7180.623
saugeen/W/short0.5830.4770.5910.490
solar/10T/long1.0310.5141.1010.546
solar/10T/medium0.9330.5200.9720.526
solar/10T/short1.0020.6831.0170.628
solar/D/short0.8810.5230.9270.530
solar/H/long0.9730.3370.9110.326
solar/H/medium0.9430.3450.9300.355
solar/H/short0.9110.5590.8990.552
solar/W/short0.6550.6180.7820.740
sz_taxi/15T/long0.7360.4570.7280.455
sz_taxi/15T/medium0.7610.5370.7520.534
sz_taxi/15T/short0.7170.6550.7190.660
sz_taxi/H/short0.7600.6350.7870.664
temperature_rain/D/short0.6720.4370.6690.438
us_births/D/short0.2550.2090.2940.239
us_births/M/short1.1101.0710.9100.875
us_births/W/short0.7640.7450.7070.645

How to read the numbers

  • The model receives the declared sampling frequency of the series and sets its sampling interval to 24 / season, the convention of FlowState (Graf et al., 2025). It was trained this way. Evaluated without the frequency it is not the model of this card.
  • Zero-shot: the training corpus excludes the GIFT-Eval sources by construction.
  • The harness recomputes the leaderboard metrics from the raw data with the official seasonal-naive denominators. Chronos-Bolt numbers are from chronos-forecasting 2.3.2, whose medium- and long-horizon results differ from the leaderboard's.

Model

Six gated S4D blocks (complex diagonal state, d_model 192, d_state 32), one token per time step, a learned future token for the horizon, a quantile head with cross-attention on the context. 2,525,771 parameters. Robust arcsinh scaling and instance normalization from the context. Any horizon, no autoregressive loop. Nine quantiles, 0.1 to 0.9.

Trained on three RTX 3090s with a pinball loss on the nine quantiles, on a corpus of 106 files (LOTSA subsets at a pinned revision, four Chronos datasets, synthetic families).

Limitations

  • The bare model is a short-horizon model; the resampling layer carries the medium and long terms.
  • Weakest groups: 10-second cloud-operations traces, hourly data with a weekly cycle (m4_hourly), low-frequency economic series (m4 weekly and yearly).
  • The resampling layer multiplies inference cost by 20 to 40.
  • Univariate. The frequency must be declared; there is no detector.

Inference

pip install git+https://github.com/IUseAMouse/TimeSSM.git
import numpy as np
import torch
from timessm import from_pretrained, delta_scale

model = from_pretrained("IUseAMouse/timessm-2.5m")   # or a local directory; device="cuda" to run there

series = np.sin(np.arange(1024) * 2 * np.pi / 24)   # your history: raw values, any scale
context = torch.tensor(series, dtype=torch.float32).unsqueeze(0)   # [1, length]
w = delta_scale(24, *model.delta_range)   # season length in steps: 24 for hourly data with a daily cycle
with torch.no_grad():
    out = model.forecast(context, 48, w=w)
quantiles = out["quantiles_denorm"][0]   # [48, 9], levels 0.1 to 0.9; column 4 is the median

The first argument of delta_scale is the season length of the declared frequency, in steps: 96 for 15-minute data, 24 for hourly, 7 for daily data with a weekly cycle, 12 for monthly. The function divides 24 by it and clamps the result to the range the model was trained on, so w is 0.25 for 15-minute data and 1 for hourly data. The backtest resampling layer runs through the evaluation harness, see the repository.

Reproduction

The submitted number (MASE 0.7544, CRPS 0.5128) is produced by one command of the TimeSSM repository, whose config configs/timessm_2.5m_gift.yaml carries every inference setting of this card: the frequency rule, sign-flip averaging, backtest resampling (decimation by 2 to 48, upsampling by 2 to 4, pooled backtest on four windows) and the calibration file. The bare number is the second command.

git clone https://github.com/IUseAMouse/TimeJEPA && git clone https://github.com/IUseAMouse/TimeSSM
cd TimeJEPA && make gift-download && cd ../TimeSSM && uv sync --extra train
hf download IUseAMouse/timessm-2.5m epoch00_valloss1.2814.ckpt --local-dir .   # the checkpoint
CK=epoch00_valloss1.2814.ckpt
EVAL_CONFIG=timessm_2.5m_gift scripts/eval_ssm.sh $CK                      # MASE 0.7544, CRPS 0.5128
EVAL_CONFIG=ssm_mini_v3_freq_eval scripts/eval_ssm.sh $CK +freq_delta=true # bare: MASE 0.7985, CRPS 0.5451

The harness writes all_results.csv in the leaderboard's format and a JSON per configuration. It recomputes the leaderboard metrics from the raw data with gluonts' conventions and reproduces t0-beta's official per-configuration results on 97 of 97 configurations.

Files and license

  • Weights: model.safetensors with config.json (read by timessm.from_pretrained), the calibration factors, the frequency table, and the original Lightning checkpoint epoch00_valloss1.2814.ckpt for exact reproduction through the harness.
  • Code: TimeSSM (model, Apache-2.0) and TimeJEPA (harness, MIT).
  • Weights license: Apache-2.0, the same as the code.

Citation

@misc{vincent2026timessm,
  author = {Vincent, Yvann},
  title  = {TimeSSM: a state space forecaster with a rate knob},
  year   = {2026},
  url    = {https://github.com/IUseAMouse/TimeSSM}
}

The frequency rule follows FlowState:

@article{graf2025flowstate,
  title   = {FlowState: Sampling Rate Invariant Time Series Forecasting},
  author  = {Graf, Lars and Ortner, Thomas and Wo{\'z}niak, Stanis{\l}aw and Pantazi, Angeliki},
  journal = {arXiv preprint arXiv:2508.05287},
  year    = {2025}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · timessm

Нельзя запустить

Временные ряды пока не поддерживаются.

Ревизия весов
ab8b8e1

0 моделей