AI SeedbankHelp preserve open and free AI for humanity's future

← All models

amazon_chronos-t5-small

amazon · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 pipeline_tag: time-series-forecasting tags:

  • time series
  • forecasting
  • pretrained models
  • foundation models
  • time series foundation models
  • time-series library_name: chronos-forecasting new_version: amazon/chronos-2

Chronos-T5 (Small)

🚀 Update Feb 14, 2025: Chronos-Bolt & original Chronos models are now available on Amazon SageMaker JumpStart! Check out the tutorial notebook to learn how to deploy Chronos endpoints for production use in a few lines of code.

🚀 Update Nov 27, 2024: We have released Chronos-Bolt⚡️ models that are more accurate (5% lower error), up to 250 times faster and 20 times more memory-efficient than the original Chronos models of the same size. Check out the new models here.

Chronos is a family of pretrained time series forecasting models based on language model architectures. A time series is transformed into a sequence of tokens via scaling and quantization, and a language model is trained on these tokens using the cross-entropy loss. Once trained, probabilistic forecasts are obtained by sampling multiple future trajectories given the historical context. Chronos models have been trained on a large corpus of publicly available time series data, as well as synthetic data generated using Gaussian processes.

For details on Chronos models, training data and procedures, and experimental results, please refer to the paper Chronos: Learning the Language of Time Series.


Fig. 1: High-level depiction of Chronos. (Left) The input time series is scaled and quantized to obtain a sequence of tokens. (Center) The tokens are fed into a language model which may either be an encoder-decoder or a decoder-only model. The model is trained using the cross-entropy loss. (Right) During inference, we autoregressively sample tokens from the model and map them back to numerical values. Multiple trajectories are sampled to obtain a predictive distribution.


Architecture

The models in this repository are based on the T5 architecture. The only difference is in the vocabulary size: Chronos-T5 models use 4096 different tokens, compared to 32128 of the original T5 models, resulting in fewer parameters.

Model Parameters Based on
chronos-t5-tiny 8M t5-efficient-tiny
chronos-t5-mini 20M t5-efficient-mini
chronos-t5-small 46M t5-efficient-small
chronos-t5-base 200M t5-efficient-base
chronos-t5-large 710M t5-efficient-large

Usage

To perform inference with Chronos models, install the package in the GitHub companion repo by running:

pip install git+https://github.com/amazon-science/chronos-forecasting.git

A minimal example showing how to perform inference using Chronos models:

import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import torch
from chronos import ChronosPipeline

pipeline = ChronosPipeline.from_pretrained(
  "amazon/chronos-t5-small",
  device_map="cuda",
  torch_dtype=torch.bfloat16,
)

df = pd.read_csv("https://raw.githubusercontent.com/AileenNielsen/TimeSeriesAnalysisWithPython/master/data/AirPassengers.csv")

# context must be either a 1D tensor, a list of 1D tensors,
# or a left-padded 2D tensor with batch as the first dimension
context = torch.tensor(df["#Passengers"])
prediction_length = 12
forecast = pipeline.predict(context, prediction_length)  # shape [num_series, num_samples, prediction_length]

# visualize the forecast
forecast_index = range(len(df), len(df) + prediction_length)
low, median, high = np.quantile(forecast[0].numpy(), [0.1, 0.5, 0.9], axis=0)

plt.figure(figsize=(8, 4))
plt.plot(df["#Passengers"], color="royalblue", label="historical data")
plt.plot(forecast_index, median, color="tomato", label="median forecast")
plt.fill_between(forecast_index, low, high, color="tomato", alpha=0.3, label="80% prediction interval")
plt.legend()
plt.grid()
plt.show()

Citation

If you find Chronos models useful for your research, please consider citing the associated paper:

@article{ansari2024chronos,
    title={Chronos: Learning the Language of Time Series},
    author={Ansari, Abdul Fatir and Stella, Lorenzo and Turkmen, Caner and Zhang, Xiyuan, and Mercado, Pedro and Shen, Huibin and Shchur, Oleksandr and Rangapuram, Syama Syndar and Pineda Arango, Sebastian and Kapoor, Shubham and Zschiegner, Jasper and Maddix, Danielle C. and Mahoney, Michael W. and Torkkola, Kari and Gordon Wilson, Andrew and Bohlke-Schneider, Michael and Wang, Yuyang},
    journal={Transactions on Machine Learning Research},
    issn={2835-8856},
    year={2024},
    url={https://openreview.net/forum?id=gerNCVqqtR}
}

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:9f133155bb6647087cd7cf3c33d241793a05bfdf&dn=amazon_chronos-t5-small

Open magnet in torrent client · infohash 9f133155bb6647087cd7cf3c33d241793a05bfdf

Files & hashes

PathSizesha1sha256
README.md6.0 KB (6,149 B)95e180bb39a7cd53761ba43cbba685b0d872e1a875d6b65b15700271750f7ed9c9d01a13e6983929c8d2cf66a1832ec33a439464
config.json1.1 KB (1,113 B)b9ce8d0e4e0eee976236d60380470d74b210328b76b7445a93491851e434733a138b67e26eda4375f83e08f80a07383c6b3f571a
figures/main-figure.png226.8 KB (232,294 B)329b89017adfeac8a7c51e5a513bddb2d7fc52d15be3368b7c92972fcd68505591a4a685db9fc2fa156f9df5adc01601cbd365e7
generation_config.json142 B (142 B)7528dbb1b6ce860d242aff71294a5fef12a415728f6833851ce53496a43ef87a975c766f7a3049e2d598ecef609a526ca6308534
model.safetensors176.1 MB (184,632,480 B)6a748bdfdb7d4835908ae3a72815142c839dd81a9c8b6fde5300f72b01c173153bf9288fa0a200614275bf0585071ad71a6a3d43

Cite this release

Canonical URL
https://aiseedbank.org/models/amazon_chronos-t5-small/
Slug
amazon_chronos-t5-small
Infohash
9f133155bb6647087cd7cf3c33d241793a05bfdf
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: amazon_chronos-t5-small.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryamazon/chronos-t5-small
Revision (pinned)a971ba21945c4f1796b17a91fe69214b5f4ad472
Fetched at2026-09-03T20:54:57Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T20:55:01Z

apache-2.0176.3 MB (184,872,178 bytes)chronos-forecastingsafetensorst5time seriesforecastingpretrained modelsfoundation modelstime series foundation modelstime-seriestime-series-forecastingpaper: 2403.07815paper: 1910.10683