Time Series Forecasting
Chronos
Safetensors
t5
time series
forecasting
pretrained models
foundation models
time series foundation models
time-series
Instructions to use amazon/chronos-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chronos
How to use amazon/chronos-t5-small with Chronos:
pip install chronos-forecasting
import pandas as pd from chronos import BaseChronosPipeline pipeline = BaseChronosPipeline.from_pretrained("amazon/chronos-t5-small", 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
๐ Documentation Enhancement Suggestion
#9 opened 3 months ago
by
CroviaTrust
TypeError: not a string
#8 opened 10 months ago
by
NithikJoseph
Adding exogenous variables or finetune on own data
1
#5 opened over 1 year ago
by
lorenzolaudato
Amazon Chronos T5 Small Forecasting Google Colab Notebook
๐ 1
2
#4 opened almost 2 years ago
by
JamesBentley