Skip to content

relase: v0.0.24 (#324)

Latest

Choose a tag to compare

@AzulGarza AzulGarza released this 17 Mar 06:35
· 1 commit to main since this release
4ef04eb

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 PatchTSTFM class. 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 bfloat16 to float32 for 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.md and 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_hub to v0.36.2. See #300.

New Contributors


Full Changelog: v0.0.23...v0.0.24