Abdul Fatir Ansari commited on
Commit
bbe123c
1 Parent(s): 7d9e690

Add model, update README

Browse files
Files changed (3) hide show
  1. README.md +57 -3
  2. config.json +51 -0
  3. model.safetensors +3 -0
README.md CHANGED
@@ -1,3 +1,57 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: time-series-forecasting
4
+ tags:
5
+ - time series
6
+ - forecasting
7
+ - pretrained models
8
+ - foundation models
9
+ - time series foundation models
10
+ - time-series
11
+ ---
12
+
13
+ # Chronos-Bolt
14
+
15
+ Pre-release of Chronos-Bolt pretrained time series forecasting models.
16
+
17
+ ## Usage
18
+
19
+ A minimal example showing how to perform inference using Chronos-Bolt with AutoGluon:
20
+
21
+ ```
22
+ pip install --pre autogluon
23
+ ```
24
+
25
+ ```python
26
+ from autogluon.timeseries import TimeSeriesPredictor, TimeSeriesDataFrame
27
+
28
+ df = TimeSeriesDataFrame("https://autogluon.s3.amazonaws.com/datasets/timeseries/m4_hourly/train.csv")
29
+
30
+ predictions = TimeSeriesPredictor().fit(
31
+ df,
32
+ hyperparameters={
33
+ "Chronos": [
34
+ {"model_path": "autogluon/chronos-bolt-base"},
35
+ ]
36
+ },
37
+ ).predict(
38
+ df
39
+ )
40
+ ```
41
+
42
+ ## Citation
43
+
44
+ If you find Chronos models useful for your research, please consider citing the associated [paper](https://arxiv.org/abs/2403.07815):
45
+
46
+ ```
47
+ @article{ansari2024chronos,
48
+ 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},
49
+ title = {Chronos: Learning the Language of Time Series},
50
+ journal = {arXiv preprint arXiv:2403.07815},
51
+ year = {2024}
52
+ }
53
+ ```
54
+
55
+ ## License
56
+
57
+ This project is licensed under the Apache-2.0 License.
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "autogluon/chronos-bolt-base",
3
+ "architectures": [
4
+ "ChronosBoltModelForForecasting"
5
+ ],
6
+ "chronos_config": {
7
+ "context_length": 2048,
8
+ "input_patch_size": 16,
9
+ "input_patch_stride": 16,
10
+ "prediction_length": 64,
11
+ "quantiles": [
12
+ 0.1,
13
+ 0.2,
14
+ 0.3,
15
+ 0.4,
16
+ 0.5,
17
+ 0.6,
18
+ 0.7,
19
+ 0.8,
20
+ 0.9
21
+ ],
22
+ "use_reg_token": true
23
+ },
24
+ "chronos_pipeline_class": "ChronosBoltPipeline",
25
+ "classifier_dropout": 0.0,
26
+ "d_ff": 3072,
27
+ "d_kv": 64,
28
+ "d_model": 768,
29
+ "decoder_start_token_id": 0,
30
+ "dense_act_fn": "relu",
31
+ "dropout_rate": 0.1,
32
+ "eos_token_id": 1,
33
+ "feed_forward_proj": "relu",
34
+ "initializer_factor": 0.05,
35
+ "is_encoder_decoder": true,
36
+ "is_gated_act": false,
37
+ "layer_norm_epsilon": 1e-06,
38
+ "model_type": "t5",
39
+ "n_positions": 512,
40
+ "num_decoder_layers": 12,
41
+ "num_heads": 12,
42
+ "num_layers": 12,
43
+ "pad_token_id": 0,
44
+ "reg_token_id": 1,
45
+ "relative_attention_max_distance": 128,
46
+ "relative_attention_num_buckets": 32,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.46.1",
49
+ "use_cache": true,
50
+ "vocab_size": 2
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31f875483a3215bc6880a0837ea608a13ce55f88ad90538c3cdd0b29aeb60b36
3
+ size 821203576