Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 26, 2026·3 min de lecture

Chronos — Pretrained Foundation Models for Time Series Forecasting

A family of pretrained language model-based forecasting models from Amazon Science that tokenize time series values and generate probabilistic predictions zero-shot.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Chronos Overview
Commande d'installation directe
npx -y tokrepo@latest install 050e6c76-8910-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

Chronos is a family of pretrained time series forecasting models developed by Amazon Science. Built on the T5 architecture, Chronos treats time series as a language modeling problem by tokenizing real-valued observations into discrete bins. This approach allows a single pretrained model to forecast any time series zero-shot, without task-specific fine-tuning.

What Chronos Does

  • Provides pretrained foundation models (Tiny, Mini, Small, Base, Large) for zero-shot forecasting
  • Generates probabilistic forecasts with prediction intervals via sampling
  • Tokenizes continuous time series values into discrete tokens for language model processing
  • Supports fine-tuning on domain-specific datasets for improved accuracy
  • Integrates with Hugging Face Transformers for model loading and inference

Architecture Overview

Chronos is based on the T5 encoder-decoder architecture. Time series values are scaled and quantized into a fixed vocabulary of tokens. The encoder processes the context window of tokenized history, and the decoder autoregressively generates future token predictions. Multiple samples are drawn to produce probabilistic forecasts. Model sizes range from 8M parameters (Tiny) to 710M parameters (Large), trading speed for accuracy.

Self-Hosting & Configuration

  • Install via pip install chronos-forecasting
  • Load models from Hugging Face Hub: ChronosPipeline.from_pretrained("amazon/chronos-t5-small")
  • Set device_map="auto" to use GPU if available, or specify a device explicitly
  • Adjust num_samples in predict() to control the number of probabilistic forecast samples
  • Use torch_dtype=torch.float16 for faster inference on compatible hardware

Key Features

  • Zero-shot forecasting on unseen time series without training
  • Probabilistic predictions with configurable sample counts
  • Multiple model sizes from 8M to 710M parameters
  • Hugging Face integration for easy model distribution and versioning
  • Trained on a large corpus of public and synthetic time series data

Comparison with Similar Tools

  • Darts — Multi-model framework requiring per-dataset training; Chronos works zero-shot
  • TimesFM — Google's foundation model; Chronos is open-weight and uses a different tokenization
  • Lag-Llama — Autoregressive forecasting via LLM; Chronos uses encoder-decoder with binning
  • GluonTS — Probabilistic models needing training; Chronos provides pretrained weights
  • Prophet — Single statistical model; Chronos is a neural foundation model

FAQ

Q: Does Chronos require training on my data? A: No. Chronos works zero-shot out of the box. Fine-tuning is optional and can improve domain-specific accuracy.

Q: What hardware is needed to run Chronos? A: The Tiny and Mini models run on CPU. Small and Base benefit from a GPU. Large requires a GPU with sufficient memory.

Q: How does tokenization handle different value scales? A: Chronos normalizes each series by its mean absolute value before quantizing into bins, making it scale-invariant.

Q: What license is Chronos released under? A: Chronos is released under the Apache 2.0 license.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires