Time Series Forecasting
Chronos
Safetensors
t5
time series
forecasting
foundation models
pretrained models
Instructions to use amazon/chronos-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chronos
How to use amazon/chronos-2 with Chronos:
pip install chronos-forecasting
import pandas as pd from chronos import BaseChronosPipeline pipeline = BaseChronosPipeline.from_pretrained("amazon/chronos-2", 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
Fix broken link in README
Browse files
README.md
CHANGED
|
@@ -50,7 +50,7 @@ Chronos-2 is also **highly efficient**, delivering over 300 time series forecast
|
|
| 50 |
| Max. Context Length | 8192 | 2048 | 512 |
|
| 51 |
| Max. Prediction Length | 1024 | 64 | 64 |
|
| 52 |
|
| 53 |
-
🧩 Chronos & Chronos-Bolt do not natively support future covariates, but they can be combined with external covariate regressors (see [AutoGluon tutorial](https://auto.gluon.ai/
|
| 54 |
|
| 55 |
|
| 56 |
## Usage
|
|
|
|
| 50 |
| Max. Context Length | 8192 | 2048 | 512 |
|
| 51 |
| Max. Prediction Length | 1024 | 64 | 64 |
|
| 52 |
|
| 53 |
+
🧩 Chronos & Chronos-Bolt do not natively support future covariates, but they can be combined with external covariate regressors (see [AutoGluon tutorial](https://auto.gluon.ai/1.4.0/tutorials/timeseries/forecasting-chronos.html#incorporating-the-covariates)). This only models per-timestep effects, not effects across time. In contrast, Chronos-2 supports all covariate types natively.
|
| 54 |
|
| 55 |
|
| 56 |
## Usage
|