You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+81-6
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,87 @@
1
-
## My Project
1
+
#Chronos: Learning the Language of Time Series
2
2
3
-
TODO: Fill this README out!
3
+
Chronos is a family of **pretrained time series forecasting models** based on language model architectures. A time series is transformed into a sequence of tokens via scaling and quantization, and a language model is trained on these tokens using the cross-entropy loss. Once trained, probabilistic forecasts are obtained by sampling multiple future trajectories given the historical context. Chronos models have been trained on a large corpus of publicly available time series data, as well as synthetic data generated using Gaussian processes.
4
4
5
-
Be sure to:
5
+
For details on Chronos models, training data and procedures, and experimental results, please refer to the paper [Chronos: Learning the Language of Time Series](https://arxiv.org/abs/2403.07815).
6
6
7
-
* Change the title in this README
8
-
* Edit your repository description on GitHub
7
+
<palign="center">
8
+
<imgsrc="figures/main-figure.png"width="100%">
9
+
<br />
10
+
<span>
11
+
Fig. 1: High-level depiction of Chronos. (<b>Left</b>) The input time series is scaled and quantized to obtain a sequence of tokens. (<b>Center</b>) The tokens are fed into a language model which may either be an encoder-decoder or a decoder-only model. The model is trained using the cross-entropy loss. (<b>Right</b>) During inference, we autoregressively sample tokens from the model and map them back to numerical values. Multiple trajectories are sampled to obtain a predictive distribution.
12
+
</span>
13
+
</p>
14
+
15
+
---
16
+
17
+
## Architecture
18
+
19
+
The models in this repository are based on the [T5 architecture](https://arxiv.org/abs/1910.10683). The only difference is in the vocabulary size: Chronos-T5 models use 4096 different tokens, compared to 32128 of the original T5 models, resulting in fewer parameters.
If you find Chronos models useful for your research, please consider citing the associated [paper](https://arxiv.org/abs/2403.07815):
76
+
77
+
```
78
+
@article{ansari2024chronos,
79
+
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},
80
+
title = {Chronos: Learning the Language of Time Series},
81
+
journal = {arXiv preprint arXiv:2403.07815},
82
+
year = {2024}
83
+
}
84
+
```
9
85
10
86
## Security
11
87
@@ -14,4 +90,3 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform
14
90
## License
15
91
16
92
This project is licensed under the Apache-2.0 License.
0 commit comments