Run this model with HF Jobs

Run amazon/chronos-3-tiny on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/amazon/chronos-3-tiny. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/amazon/chronos-3-tiny on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Chronos-3

Chronos-3 is a family of pretrained time series forecasting models in 5 sizes. It supports zero-shot univariate, multivariate, and covariate-informed forecasting. Forecasts can optionally be steered with text (see Forecasting with text), but Chronos-3 is highly accurate even without it: it achieves state-of-the-art zero-shot accuracy on fev-bench, GIFT-Eval, and TIME, and even the smallest Chronos-3 model is more accurate than Chronos-2, so we recommend upgrading.

💻 GitHub · 📘 Quick-start notebook · 📰 Amazon Science Blog

Overview

Chronos-3 compared to its predecessor, Chronos-2:

Capability Chronos-3 Chronos-2
Univariate, multivariate, and covariate-informed forecasting ✅ ✅
Max. context length 32,768 8,192
Quantile levels 103 (0.001 to 0.999) 21 (0.01 to 0.99)
Aggregate forecasts (sum, max, min) ✅ ❌
Steering with text ✅ ❌
Model sizes 5 (25M to 1.5B) 2 (28M and 120M)
Fine-tuning ❌ (coming soon) ✅

Chronos-3 comes in 5 sizes:

Model Parameters File size Recommended for
chronos-3-tiny 25M 49.5MB Fastest on CPU; edge devices or strict latency limits
chronos-3-mini 46M 92.9MB Edge devices and CPUs with few cores; more accurate than tiny at almost the same cost
chronos-3-small 156M 311MB CPUs with many cores, or high-throughput inference on GPU
chronos-3-base 473M 947MB Near-best accuracy at about half the cost of large; requires a GPU
chronos-3-large 1.5B 3.02GB Best accuracy; requires a GPU

Usage

Install the package

pip install "chronos-forecasting>=3.0"

Make zero-shot predictions using the pandas API

import pandas as pd  # requires: pip install 'pandas[pyarrow]'
from chronos import Chronos3Pipeline

pipeline = Chronos3Pipeline.from_pretrained("amazon/chronos-3-tiny", device_map="cuda")

# Load historical target values and past values of covariates
context_df = pd.read_parquet("https://autogluon.s3.amazonaws.com/datasets/timeseries/electricity_price/train.parquet")

# (Optional) Load future values of covariates
future_df = pd.read_parquet("https://autogluon.s3.amazonaws.com/datasets/timeseries/electricity_price/test.parquet").drop(columns="target")

# Generate predictions with covariates
pred_df = pipeline.predict_df(
    context_df,
    future_df=future_df,
    prediction_length=24,  # Number of steps to forecast
    quantile_levels=[0.001, 0.1, 0.5, 0.9, 0.999],  # Quantiles for probabilistic forecast
    id_column="id",  # Column identifying different time series
    timestamp_column="timestamp",  # Column with datetime information
    target="target",  # Column(s) with time series values to predict
)

Chronos-3 can also directly forecast the sum, maximum, or minimum of a series over the forecast horizon. For example, to forecast the peak price over the next day (one row per series):

peak_df = pipeline.predict_df(context_df, future_df=future_df, prediction_length=24, id_column="id", aggregation="max")

Forecasting with text

Chronos-3 can be steered with a natural language description of upcoming events, in two steps: an LLM translates the text into statements the model reads, then predict_df forecasts with them. For example, to forecast the CPU demand of a deployment whose traffic is scheduled to return after a failover (translating calls Claude on Amazon Bedrock and needs pip install "chronos-forecasting[text]>=3.0" and AWS credentials):

from chronos.chronos3.text import BedrockTranslator

context_df = pd.read_parquet("https://autogluon.s3.amazonaws.com/chronos-3/examples/failover/context.parquet")
text = "The traffic that failed over to another region on 2019-01-27 is scheduled to return here at 2019-01-31 12:00, over about 3 hours."

translator = BedrockTranslator("us.anthropic.claude-opus-5-5", region_name="us-east-1", context_length=pipeline.model_context_length)
forecast_texts = translator.translate_df(context_df, text, prediction_length=576)
pred_df = pipeline.predict_df(context_df, text=forecast_texts, prediction_length=576)

See the text notebook for how it works.

Benchmark results

Probabilistic forecast skill in % relative to the Seasonal Naive baseline (higher is better): SQL on fev-bench, WQL on GIFT-Eval and TIME.

Model fev-bench GIFT-Eval TIME
chronos-3-large 53.5 56.9 48.5
chronos-3-base 53.1 56.4 48.4
chronos-3-small 52.6 55.9 48.1
chronos-3-mini 51.2 54.9 47.2
chronos-3-tiny 49.9 53.8 46.3
chronos-2 47.3 51.5 44.4
Point forecast skill (MASE, %)
Model fev-bench GIFT-Eval TIME
chronos-3-large 43.0 36.3 38.5
chronos-3-base 42.6 35.6 38.4
chronos-3-small 41.9 34.9 37.9
chronos-3-mini 40.3 33.6 37.0
chronos-3-tiny 38.8 32.3 36.1
chronos-2 35.5 30.2 33.8

Details

Architecture

Chronos-3 is an encoder-only transformer. It splits each series into patches and forecasts the quantiles of many future steps at once, without autoregressive sampling. The quantiles are non-crossing by construction: each one is the median plus or minus a cumulative sum of non-negative increments. Each layer combines self-attention along time with group attention across related series and covariates, which lets the model learn in context from them. An aggregation head on top forecasts the total, maximum, and minimum over the forecast horizon. For steering with text, a Qwen3-Embedding-0.6B encoder embeds the translated text, and a small projection turns each embedding into a token placed in front of the series tokens, so every layer can attend to the text along with the history. The text encoder is downloaded on first use (0.6B parameters, 1.2GB).

Training data

Chronos-3 was trained on a mix of real-world and synthetic data. See TRAINING_DATA.md for the full list of real-world data sources and their licenses.

  • Training cutoff: 2025-01-15. The model has seen no data after this date.
  • Benchmark decontamination. We removed from the training data every series used for evaluation in fev-bench and TIME, both their train and test portions, so Chronos-3 is zero-shot on these benchmarks. For GIFT-Eval, the training data includes the train portions of a few of its datasets (e.g. Solar and Electricity) but none of its test portions, so Chronos-3 counts as a pretrained model in GIFT-Eval's terms, with no test leakage. Series were matched by their values, not only by item IDs.
Downloads last month
2
Safetensors
Model size
24.7M params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train amazon/chronos-3-tiny

Collection including amazon/chronos-3-tiny