Features
-
Chronos 2 finetuning: Finetuning is now supported for Chronos 2. You can adapt the pre-trained model to your data before forecasting via
ChronosFinetuningConfig, with options for full parameter update or LoRA, and optional saving of the finetuned checkpoint for reuse. See #323 and the Finetuning Foundation Models example for a full walkthrough.import pandas as pd from timecopilot.models.foundation.chronos import Chronos, ChronosFinetuningConfig df = pd.read_csv( "https://timecopilot.s3.amazonaws.com/public/data/events_pageviews.csv", parse_dates=["ds"], ) # Chronos 2 with finetuning (full or LoRA) model = Chronos( repo_id="autogluon/chronos-2-small", alias="chronos-2-finetuned", finetuning_config=ChronosFinetuningConfig( finetune_steps=10, finetune_mode="lora", # or "full" save_path="./chronos-2-finetuned/", # optional: reuse later with repo_id=save_path, finetuning_config=None ), ) fcst_df = model.forecast(df, h=12) print(fcst_df)
-
PatchTST-FM foundation model: Added PatchTST-FM, a Time Series Foundation Model from IBM Research. Use it via the
PatchTSTFMclass. See #312 and the PatchTST-FM example.import pandas as pd from timecopilot.models.foundation.patchtst_fm import PatchTSTFM df = pd.read_csv( "https://timecopilot.s3.amazonaws.com/public/data/events_pageviews.csv", parse_dates=["ds"], ) model = PatchTSTFM() # defaults to ibm-research/patchtst-fm-r1 fcst_df = model.forecast(df, h=12) print(fcst_df)
Fixes
-
Chronos default dtype: Changed Chronos default dtype from
bfloat16tofloat32for better compatibility on systems without bfloat16 support. See #309. -
FlowState h=1 crash: Fixed a crash in FlowState when using horizon
h=1. See #305. -
AWS Bedrock connection: Fixed Bedrock connection error caused by a missing description. See #311.
-
Slow pip install: Improved pip install performance. See #306.
Documentation
-
sktime integration blog post: Added a blog post on using timecopilot with the sktime forecasting ecosystem. See #301 and #304.
-
Newsletter and contact: Added newsletter signup and "Talk to Us" button to the docs. See #303.
-
Contributing and issue template: Fixed timecopilot fork links in
contributing.mdand updated the issue template to use the correct repository link. See #314 and #315.
Continuous Integration
- TOML check in CI: CI now validates TOML configuration. See #319.
Other
- Hugging Face Hub: Bumped
huggingface_hubto v0.36.2. See #300.
New Contributors
- @khuyentran1401 made their first contribution in #301
- @rebot-eng made their first contribution in #309
- @JoseCelis made their first contribution in #311
Full Changelog: v0.0.23...v0.0.24