Public notebooks and utilities for TSFM
Project description
Disclaimer
This is a personal fork of granite-tsfm, maintained to support custom changes for timecopilot and publish pypi wheels at
timecopilot-granite-tsfm. It may diverge from upstream.
Credits
This project is a fork of by Original Author(s).
All credit for the original code belongs to them. This fork is maintained independently to support TimeCopilot-specific changes.
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.9, 3.10, 3.11, 3.12.
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]
📗 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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timecopilot_granite_tsfm-0.1.1.tar.gz.
File metadata
- Download URL: timecopilot_granite_tsfm-0.1.1.tar.gz
- Upload date:
- Size: 16.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de37c562a3d680cc339ae9501d0955c8116c0cc2529b59d420b098a8961b429
|
|
| MD5 |
24ec2faa0c4393982f2d72745e6994a9
|
|
| BLAKE2b-256 |
0103485fe233a13d63f53be40681a5fc84fef553ef4ce7ebcea4e8d6db553991
|
File details
Details for the file timecopilot_granite_tsfm-0.1.1-py3-none-any.whl.
File metadata
- Download URL: timecopilot_granite_tsfm-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8967dc197373f5c1a7f72ae2f4669b21c4778d4e367c19c9e0c7f9033e0fbd85
|
|
| MD5 |
bc970b01f4ee4e42fa2f948964e2ce54
|
|
| BLAKE2b-256 |
021a66fe9f1e140c7fac0d8b9507696e739546cc89e87ff90bbd156cfa4a36d7
|