abdulfatir
commited on
Commit
•
27004f4
1
Parent(s):
1962549
Update README
Browse files
README.md
CHANGED
@@ -10,29 +10,40 @@ tags:
|
|
10 |
- time-series
|
11 |
---
|
12 |
|
13 |
-
# Chronos-Bolt
|
14 |
|
15 |
-
Chronos-Bolt is a family of pretrained time series forecasting models which can be used for zero-shot forecasting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
|
18 |
<div align="center">
|
19 |
|
20 |
| Model | Parameters | Based on |
|
21 |
| ----------------------------------------------------------------------------- | ---------- | ---------------------------------------------------------------------- |
|
22 |
-
| [**chronos-bolt-tiny**](https://huggingface.co/
|
23 |
-
| [**chronos-bolt-mini**](https://huggingface.co/
|
24 |
-
| [**chronos-bolt-small**](https://huggingface.co/
|
25 |
-
| [**chronos-bolt-base**](https://huggingface.co/
|
26 |
|
27 |
</div>
|
28 |
|
29 |
|
30 |
## Usage with AutoGluon
|
31 |
|
32 |
-
|
33 |
-
> Chronos-Bolt models will be available in the next stable release of AutoGluon, so the following instructions will only work once AutoGluon 1.2 has been released.
|
34 |
-
|
35 |
-
The recommended way of using Chronos for production use cases is through [AutoGluon](https://auto.gluon.ai/stable/index.html), which features effortless fine-tuning, ensembling with other statistical and machine learning models for time series forecasting as well as seamless deployments on AWS with SageMaker.
|
36 |
Check out the AutoGluon Chronos [tutorial](https://auto.gluon.ai/stable/tutorials/timeseries/forecasting-chronos.html).
|
37 |
|
38 |
A minimal example showing how to perform zero-shot inference using Chronos-Bolt with AutoGluon:
|
@@ -98,10 +109,12 @@ If you find Chronos or Chronos-Bolt models useful for your research, please cons
|
|
98 |
|
99 |
```
|
100 |
@article{ansari2024chronos,
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
|
|
|
|
105 |
}
|
106 |
```
|
107 |
|
|
|
10 |
- time-series
|
11 |
---
|
12 |
|
13 |
+
# Chronos-Bolt⚡ (Mini)
|
14 |
|
15 |
+
Chronos-Bolt is a family of pretrained time series forecasting models which can be used for zero-shot forecasting. It is based on the [T5 encoder-decoder architecture](https://arxiv.org/abs/1910.10683) and has been trained on nearly 100 billion time series observations. It chunks the historical time series context into patches of multiple observations, which are then input into the encoder. The decoder then uses these representations to directly generate quantile forecasts across multiple future steps—a method known as direct multi-step forecasting. Chronos-Bolt models are up to 250 times faster and 20 times more memory-efficient than the [original Chronos](https://arxiv.org/abs/2403.07815) models of the same size.
|
16 |
+
|
17 |
+
The following plot compares the inference time of Chronos-Bolt against the original Chronos models for forecasting 1024 time series with a context length of 512 observations and a prediction horizon of 64 steps.
|
18 |
+
|
19 |
+
<center>
|
20 |
+
<img src="https://autogluon.s3.amazonaws.com/images/chronos_bolt_speed.svg" width="50%"/>
|
21 |
+
</center>
|
22 |
+
|
23 |
+
Chronos-Bolt models are not only significantly faster but also more accurate than the original Chronos models. The following plot reports the probabilistic and point forecasting performance of Chronos-Bolt in terms of the [Weighted Quantile Loss (WQL)](https://auto.gluon.ai/stable/tutorials/timeseries/forecasting-metrics.html#autogluon.timeseries.metrics.WQL) and the [Mean Absolute Scaled Error (MASE)](https://auto.gluon.ai/stable/tutorials/timeseries/forecasting-metrics.html#autogluon.timeseries.metrics.MASE), respectively, aggregated over 27 datasets (see the [Chronos paper](https://arxiv.org/abs/2403.07815) for details on this benchmark). Remarkably, despite having no prior exposure to these datasets during training, the zero-shot Chronos-Bolt models outperform commonly used statistical models and deep learning models that have been trained on these datasets (highlighted by *). Furthermore, they also perform better than other FMs, denoted by a +, which indicates that these models were pretrained on certain datasets in our benchmark and are not entirely zero-shot. Notably, Chronos-Bolt (Base) also surpasses the original Chronos (Large) model in terms of the forecasting accuracy while being over 600 times faster.
|
24 |
+
|
25 |
+
<center>
|
26 |
+
<img src="https://autogluon.s3.amazonaws.com/images/chronos_bolt_accuracy.svg" width="80%"/>
|
27 |
+
</center>
|
28 |
+
|
29 |
+
Chronos-Bolt models are available in the following sizes.
|
30 |
|
31 |
|
32 |
<div align="center">
|
33 |
|
34 |
| Model | Parameters | Based on |
|
35 |
| ----------------------------------------------------------------------------- | ---------- | ---------------------------------------------------------------------- |
|
36 |
+
| [**chronos-bolt-tiny**](https://huggingface.co/amazon/chronos-bolt-tiny) | 9M | [t5-efficient-tiny](https://huggingface.co/google/t5-efficient-tiny) |
|
37 |
+
| [**chronos-bolt-mini**](https://huggingface.co/amazon/chronos-bolt-mini) | 21M | [t5-efficient-mini](https://huggingface.co/google/t5-efficient-mini) |
|
38 |
+
| [**chronos-bolt-small**](https://huggingface.co/amazon/chronos-bolt-small) | 48M | [t5-efficient-small](https://huggingface.co/google/t5-efficient-small) |
|
39 |
+
| [**chronos-bolt-base**](https://huggingface.co/amazon/chronos-bolt-base) | 205M | [t5-efficient-base](https://huggingface.co/google/t5-efficient-base) |
|
40 |
|
41 |
</div>
|
42 |
|
43 |
|
44 |
## Usage with AutoGluon
|
45 |
|
46 |
+
The recommended way of using Chronos for production use cases is through [AutoGluon](https://auto.gluon.ai/stable/index.html), which features effortless fine-tuning, augmenting Chronos models with exogenous information through covariate regressors, ensembling with other statistical and machine learning models, as well as seamless deployments on AWS with SageMaker.
|
|
|
|
|
|
|
47 |
Check out the AutoGluon Chronos [tutorial](https://auto.gluon.ai/stable/tutorials/timeseries/forecasting-chronos.html).
|
48 |
|
49 |
A minimal example showing how to perform zero-shot inference using Chronos-Bolt with AutoGluon:
|
|
|
109 |
|
110 |
```
|
111 |
@article{ansari2024chronos,
|
112 |
+
title={Chronos: Learning the Language of Time Series},
|
113 |
+
author={Ansari, Abdul Fatir and Stella, Lorenzo and Turkmen, Caner and Zhang, Xiyuan, and Mercado, Pedro and Shen, Huibin and Shchur, Oleksandr and Rangapuram, Syama Syndar and Pineda Arango, Sebastian and Kapoor, Shubham and Zschiegner, Jasper and Maddix, Danielle C. and Mahoney, Michael W. and Torkkola, Kari and Gordon Wilson, Andrew and Bohlke-Schneider, Michael and Wang, Yuyang},
|
114 |
+
journal={Transactions on Machine Learning Research},
|
115 |
+
issn={2835-8856},
|
116 |
+
year={2024},
|
117 |
+
url={https://openreview.net/forum?id=gerNCVqqtR}
|
118 |
}
|
119 |
```
|
120 |
|