Public notebooks and utilities for TSFM
Actively maintained. Last release 5 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install granite-tsfmTSFM: Time Series Foundation Models
Public notebooks, utilities, and serving components for working with Time Series Foundation Models (TSFM).
The core TSFM time series models have been made available on Hugging Face -- check out the granite time series collection here. Additional details can be found in our wiki. Information on the services component can be found here.
Python Version
The current Python versions supported are 3.10, 3.11, 3.12, 3.13.
Initial Setup
First clone the repository:
git clone "https://github.com/ibm-granite/granite-tsfm.git"
cd granite-tsfm
📕 Notebooks Installation
Several notebooks are provided in the notebooks folder. They allow you to perform pre-training and finetuning on the models.
To install use pip:
pip install ".[notebooks]"
🔗 Links to the notebooks
- Getting started with
PatchTSMixer[Try it out] - Transfer learning with
PatchTSMixer[Try it out] - Transfer learning with
PatchTST[Try it out] - Getting started with
TinyTimeMixer (TTM)[Try it out] TTMfull benchmarking scripts and results are available [here]FlowStateexample notebook is available [here]PatchTST-FMexample notebook is available