Skip to content

Commit c5aa5f4

Browse files
abdulfatirshchur
andauthored
Update Notebooks and README (#356)
*Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Co-authored-by: Oleksandr Shchur <[email protected]>
1 parent dc5c438 commit c5aa5f4

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ To perform inference with Chronos, the easiest way is to install this package th
5656
pip install chronos-forecasting
5757
```
5858

59+
> [!TIP]
60+
> For reliable production use, we recommend using Chronos-2 models through [Amazon SageMaker JumpStart](https://aws.amazon.com/sagemaker/ai/jumpstart/). Check out [this tutorial](notebooks/deploy-chronos-to-amazon-sagemaker.ipynb) to learn how to deploy Chronos-2 inference endpoints to AWS with just a few lines of code.
61+
62+
5963
### Forecasting
6064

6165
A minimal example showing how to perform forecasting using Chronos-2:
@@ -111,8 +115,15 @@ plt.legend()
111115
## Example Notebooks
112116

113117
- [Chronos-2 Quick Start](notebooks/chronos-2-quickstart.ipynb)
114-
- [Deploy Chronos-Bolt on Amazon SageMaker](notebooks/deploy-chronos-bolt-to-amazon-sagemaker.ipynb)
115-
- Deploy Chronos-2 on Amazon SageMaker (coming soon!)
118+
&nbsp;
119+
<a href="https://studiolab.sagemaker.aws/import/github/amazon-science/chronos-forecasting/blob/main/notebooks/chronos-2-quickstart.ipynb">
120+
<img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open In SageMaker Studio Lab" height="18" align="absmiddle">
121+
</a>
122+
&nbsp;
123+
<a href="https://colab.research.google.com/github/amazon-science/chronos-forecasting/blob/main/notebooks/chronos-2-quickstart.ipynb">
124+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" height="18" align="absmiddle">
125+
</a>
126+
- [Deploy Chronos-2 on Amazon SageMaker](notebooks/deploy-chronos-to-amazon-sagemaker.ipynb)
116127

117128
## 📝 Citation
118129

notebooks/chronos-2-quickstart.ipynb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"source": [
88
"# Getting Started with Chronos-2\n",
99
"\n",
10+
"[![Open In SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/amazon-science/chronos-forecasting/blob/main/notebooks/chronos-2-quickstart.ipynb)\n",
11+
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](\n",
12+
"https://colab.research.google.com/github/amazon-science/chronos-forecasting/blob/main/notebooks/chronos-2-quickstart.ipynb)\n",
13+
"\n",
14+
"\n",
15+
"\n",
1016
"**Chronos-2** is a foundation model for time series forecasting that builds on [Chronos](https://arxiv.org/abs/2403.07815) and [Chronos-Bolt](https://aws.amazon.com/blogs/machine-learning/fast-and-accurate-zero-shot-forecasting-with-chronos-bolt-and-autogluon/). It offers significant improvements in capabilities and can handle diverse forecasting scenarios not supported by earlier models.\n",
1117
"\n",
1218
"| Capability | Chronos | Chronos-Bolt | Chronos-2 |\n",
@@ -31,7 +37,7 @@
3137
"metadata": {},
3238
"outputs": [],
3339
"source": [
34-
"%pip install -U 'chronos-forecasting>=2.0' 'pandas[pyarrow]' 'matplotlib'"
40+
"%pip install 'chronos-forecasting>=2.0' 'pandas[pyarrow]' 'matplotlib'"
3541
]
3642
},
3743
{
@@ -41,9 +47,9 @@
4147
"metadata": {},
4248
"outputs": [],
4349
"source": [
44-
"# Use only 1 GPU if available\n",
4550
"import os\n",
4651
"\n",
52+
"# Use only 1 GPU if available\n",
4753
"os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"0\"\n",
4854
"\n",
4955
"import pandas as pd\n",
@@ -1586,7 +1592,7 @@
15861592
"name": "python",
15871593
"nbconvert_exporter": "python",
15881594
"pygments_lexer": "ipython3",
1589-
"version": "3.11.11"
1595+
"version": "3.11.13"
15901596
}
15911597
},
15921598
"nbformat": 4,

0 commit comments

Comments
 (0)