Multimodal extension of Google's TimesFM for time series forecasting with text
Project description
Multimodal TimesFM
A multimodal extension of Google's TimesFM for time series forecasting with text inputs.
Installation
pip install multimodal-timesfm[all]
Quick Start
1. Setup
Clone the Time-MMD dataset:
./setup_time_mmd.sh
2. Pre-compute Text Embeddings
PYTHONPATH=. uv run python scripts/cache_time_mmd_datasets.py --text-encoder-type english
3. Hyperparameter Tuning
Run a W&B Sweeps search for the multimodal model:
PYTHONPATH=. uv run python scripts/tune_time_mmd_sweep.py \
--sweep-config examples/time_mmd/configs/sweeps/multimodal_1layer.yml
To compare against a fine-tuned baseline:
PYTHONPATH=. uv run python scripts/tune_baseline_sweep.py \
--sweep-config examples/time_mmd/configs/sweeps/baseline.yml
Acknowledgments
We thank the Time-MMD team for providing the multimodal time series dataset used in our examples and experiments.
License
MIT
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 multimodal_timesfm-0.4.0.tar.gz.
File metadata
- Download URL: multimodal_timesfm-0.4.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4538b48b2b1a7336d38af1f9e6087dfc95caff1c9e00a60b3dec5c117f56c28
|
|
| MD5 |
02cf73777be6b0e4bfa9ece7812175f1
|
|
| BLAKE2b-256 |
d244159c1782e3b2e50aa01cc89590498cb5b26788eaa3d1f501a1dab5996ffb
|
Provenance
The following attestation bundles were made for multimodal_timesfm-0.4.0.tar.gz:
Publisher:
publish-to-pypi.yml on himura467/multimodal-timesfm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multimodal_timesfm-0.4.0.tar.gz -
Subject digest:
a4538b48b2b1a7336d38af1f9e6087dfc95caff1c9e00a60b3dec5c117f56c28 - Sigstore transparency entry: 1042759362
- Sigstore integration time:
-
Permalink:
himura467/multimodal-timesfm@911643c095a56bb601070e72d32323ac79003ef7 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/himura467
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@911643c095a56bb601070e72d32323ac79003ef7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file multimodal_timesfm-0.4.0-py3-none-any.whl.
File metadata
- Download URL: multimodal_timesfm-0.4.0-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98821c2e44015d6c1442492f56dd77ac63dd04e13e33b440520918b21e5a4358
|
|
| MD5 |
35ee832784c54bdf22923853608e3fbe
|
|
| BLAKE2b-256 |
ad520ce34bd667d921beda2224ab601a84ca8c21e9ee50a50e0f4289e8f19719
|
Provenance
The following attestation bundles were made for multimodal_timesfm-0.4.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on himura467/multimodal-timesfm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multimodal_timesfm-0.4.0-py3-none-any.whl -
Subject digest:
98821c2e44015d6c1442492f56dd77ac63dd04e13e33b440520918b21e5a4358 - Sigstore transparency entry: 1042759374
- Sigstore integration time:
-
Permalink:
himura467/multimodal-timesfm@911643c095a56bb601070e72d32323ac79003ef7 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/himura467
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@911643c095a56bb601070e72d32323ac79003ef7 -
Trigger Event:
release
-
Statement type: