chronos-forecasting/test/dummy-chronos2-model/config.json
Abdul Fatir 15ffe8835d
Add Chronos-2 (#319)
*Issue #, if available:*

*Description of changes:* This PR adds the Chronos-2 model.

* Chronos-2 modeling and pipeline code, including tests.
* Updated `pyproject.toml`. Merge `training` and `evaluation` extras
into a single `dev` extra. This stuff is only relevant for the Chronos
models.
* Added `predict_fev` to `BaseChronosPipeline`.
* Changes to `InstanceNorm` for Chronos-Bolt to make it general and
compatible with Chronos-2.
* Minor renaming and polishing in the inference code for Chronos and
Chronos-Bolt.

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 <oleks.shchur@gmail.com>
2025-10-20 10:34:20 +02:00

57 lines
1 KiB
JSON

{
"architectures": [
"Chronos2Model"
],
"chronos_config": {
"context_length": 8192,
"input_patch_size": 16,
"input_patch_stride": 16,
"max_output_patches": 64,
"output_patch_size": 16,
"quantiles": [
0.01,
0.05,
0.1,
0.15,
0.2,
0.25,
0.3,
0.35,
0.4,
0.45,
0.5,
0.55,
0.6,
0.65,
0.7,
0.75,
0.8,
0.85,
0.9,
0.95,
0.99
],
"time_encoding_scale": 8192,
"use_arcsinh": true,
"use_reg_token": true
},
"chronos_pipeline_class": "Chronos2Pipeline",
"d_ff": 8,
"d_kv": 4,
"d_model": 6,
"dense_act_fn": "relu",
"dropout_rate": 0.1,
"feed_forward_proj": "relu",
"initializer_factor": 0.05,
"is_gated_act": false,
"layer_norm_epsilon": 1e-06,
"model_type": "t5",
"num_heads": 4,
"num_layers": 2,
"pad_token_id": 0,
"reg_token_id": 1,
"rope_theta": 10000.0,
"torch_dtype": "float32",
"transformers_version": "4.54.1",
"vocab_size": 2
}