Time Series Forecasting
Chronos
Safetensors
t5
time series
forecasting
foundation models
pretrained models
Instructions to use PYTHAI/chronos-2-fork with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chronos
How to use PYTHAI/chronos-2-fork with Chronos:
pip install chronos-forecasting
import pandas as pd from chronos import BaseChronosPipeline pipeline = BaseChronosPipeline.from_pretrained("PYTHAI/chronos-2-fork", device_map="cuda") # Load historical data context_df = pd.read_csv("https://autogluon.s3.us-west-2.amazonaws.com/datasets/timeseries/misc/AirPassengers.csv") # Generate predictions pred_df = pipeline.predict_df( context_df, prediction_length=36, # Number of steps to forecast quantile_levels=[0.1, 0.5, 0.9], # Quantiles for probabilistic forecast id_column="item_id", # Column identifying different time series timestamp_column="Month", # Column with datetime information target="#Passengers", # Column(s) with time series values to predict ) - Notebooks
- Google Colab
- Kaggle
File size: 556 Bytes
2ba6c02 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"source_repo": "autogluon/chronos-2",
"source_commit": "60088152a34e242427b44c3100014473a0157d53",
"mode": "full",
"forked_at_utc": "2026-11-26T08:32:34Z",
"licence": "apache-2.0",
"licence_file": null,
"licence_sha256": null,
"files_copied": 4,
"bytes_copied": 477940832,
"weights_left_at_source": [],
"role": "time-series forecasting, 120M \u2014 uni/multivariate, covariates",
"selection_source": "KDnuggets, \"7 Most Downloaded AI Models on Hugging Face\", Abid Ali Awan, 2026-11-24",
"load": "from_pretrained('PYTHAI/chronos-2-fork')"
} |