Skip to main content

Granite TSFM toolkit, model wrappers, and demos for time-series forecasting workflows.

Project description

TSFM: 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 -- details can be found here. Information on the services component can be found here.

Python Version

The current Python versions supported are 3.11, 3.12, 3.13.

Install From PyPI

Install the package directly from PyPI:

pip install tsagentkit-patchtst-fm

For notebook extras:

pip install "tsagentkit-patchtst-fm[notebooks]"

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

📗 Google Colab Tutorials

Run the TTM tutorial in Google Colab, and quickly build a forecasting application with the pre-trained TSFM models.

💻 Demos Installation

The demo presented at NeurIPS 2023 is available in tsfmhfdemos. This demo requires you to have pre-trained and finetuned models in place (we plan to release these at a later date). To install the requirements use pip:

pip install ".[demos]"

🪲 Issues

If you encounter an issue with this project, you are welcome to submit a bug report. Before opening a new issue, please search for similar issues. It's possible that someone has already reported it.

🌏 Wiki

Wiki Page

Notice

The intention of this repository is to make it easier to use and demonstrate Granite TimeSeries components that have been made available in the Hugging Face transformers library. As we continue to develop these capabilities we will update the code here.

IBM Public Repository Disclosure: All content in this repository including code has been provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsagentkit_patchtst_fm-1.0.1.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsagentkit_patchtst_fm-1.0.1-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file tsagentkit_patchtst_fm-1.0.1.tar.gz.

File metadata

  • Download URL: tsagentkit_patchtst_fm-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tsagentkit_patchtst_fm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0adf5325390a332493b2f056fb1787b03b1d4c4ac93c09b68f0f23d8cc37f300
MD5 420c670263ff688fe9064cbbbef344ec
BLAKE2b-256 208e2b6ea7a4bf4d81644220e08949df6f8ab030a88b4b2c6292a2af4797641c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsagentkit_patchtst_fm-1.0.1.tar.gz:

Publisher: pypi-release.yml on LeonEthan/granite-tsfm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tsagentkit_patchtst_fm-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tsagentkit_patchtst_fm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e88afad7889adec786087f16d6dc4fb3e683aa787a26d0af5e81979c879b738a
MD5 fc94507eb85bcf9e8b913c649bb75df6
BLAKE2b-256 d361a2a0829bed766a8ed5897ab328685ed1d3542d97e0a350a3b2712753ccd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsagentkit_patchtst_fm-1.0.1-py3-none-any.whl:

Publisher: pypi-release.yml on LeonEthan/granite-tsfm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page