/ Модель

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

Контекст
10 000 токенов
Параметры
83,9 млн
Лицензия
Apache 2.0
Архитектура
timer · dense
Библиотека
timer
Опубликована
23 ноя 2024

timer-base-84m

Генерация текстаТекст → текст5 профессий

Лёгкий авторегрессионный Transformer THUML для zero-shot прогнозирования одномерных временных рядов.

4 120скачиваний за 30 дней67лайковвеса обновлены3 авг 2025

Бенчмарки

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

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

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

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

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

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

Timer-Base-84M — однофакторная модель временных рядов, опубликованная командой THUML. Это авторегрессионный Transformer с архитектурой decoder-only, обученный на 260 млрд временных точек; в версии 83,9 млн параметров, 8 слоёв и длина патча 96. Модель предназначена для генеративного прогнозирования временных рядов без дообучения (zero-shot), включая проверку на наборах TSLib.

Модель принимает числовой временной ряд и предсказывает его будущие значения. В README указана длина контекста до 2880 точек, тогда как метаданные каталога указывают нативный контекст 10 000 токенов. Репозиторий использует библиотеку timer и формат safetensors; лицензия — Apache-2.0. README отмечает, что качество модели ещё можно улучшать.

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

  • zero-shot прогнозирование будущих значений временного ряда
  • прогнозирование временных рядов без дополнительного обучения
  • проверка моделей прогнозирования на бенчмарках TSLib

Ограничения

Модель предварительно обучена для одномерных временных рядов; README отмечает, что качество ещё можно улучшать. Максимальный контекст указан по-разному: до 2880 точек в README и 10 000 токенов в метаданных.

Для каких профессий подходит5

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

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

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

Открыть на Hugging Face

Time-Series Transformer (Timer)

Update (2025.5): We release a generative time series foundation model Sundial on HuggingFace.

Update (2025.2) We release OpenLTM for pre-training/fine-tuning large time-series models.

Timer is a large time-series model introduced in this paper and enhanced by subsequent work.

image/png

This version is univariate pre-trained on 260B time points with 84M parameters, a lightweight generative Transformer for zero-shot point forecasting.

We evaluate the model on the following benchmark: TSLib Dataset.

For more information, please see the GitHub.

There's indeed room for improvement on this model. We are actively working around it and are glad to see constructive suggestions and noteworthy cases :)

Quickstart

pip install transformers==4.40.1 # Use this version and Python 3.10 for stable compatibility
import torch
from transformers import AutoModelForCausalLM

# load pretrain model
model = AutoModelForCausalLM.from_pretrained('thuml/timer-base-84m', trust_remote_code=True)

# prepare input
batch_size, lookback_length = 1, 2880
seqs = torch.randn(batch_size, lookback_length)

# generate forecast
prediction_length = 96
output = model.generate(seqs, max_new_tokens=prediction_length)

print(output.shape)

A notebook example is also provided here. Try it out!

Specification

  • Architecture: Causal Transformer (Decoder-only)
  • Pre-training Scale: 260B time points
  • Context Length: up to 2880
  • Parameter Count: 84M
  • Patch Length: 96
  • Number of Layers: 8

Adaptation

For developers interest in fine-tune this model, we provide model checkpoint and code implementation in OpenLTM.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (62022050 and U2342217), the BNRist Innovation Fund (BNR2024RC01010), and the National Engineering Research Center for Big Data Software.

The model 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 model would not have existed.

Citation

If you find Timer or Timer-XL helpful for your research, please cite our paper:

@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}
}

@article{liu2024timer,
  title={Timer-XL: Long-Context Transformers for Unified Time Series Forecasting},
  author={Liu, Yong and Qin, Guo and Huang, Xiangdong and Wang, Jianmin and Long, Mingsheng},
  journal={arXiv preprint arXiv:2410.04803},
  year={2024}
}

Contact

If you have any questions or want to use the code, feel free to contact:

License

This model is licensed under the Apache-2.0 License.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
TimerForPrediction
Ревизия весов
70077a7

0 моделей