Skip to main content

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


Download files

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

Source Distribution

multimodal_timesfm-0.4.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

multimodal_timesfm-0.4.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

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

Hashes for multimodal_timesfm-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a4538b48b2b1a7336d38af1f9e6087dfc95caff1c9e00a60b3dec5c117f56c28
MD5 02cf73777be6b0e4bfa9ece7812175f1
BLAKE2b-256 d244159c1782e3b2e50aa01cc89590498cb5b26788eaa3d1f501a1dab5996ffb

See more details on using hashes here.

Provenance

The following attestation bundles were made for multimodal_timesfm-0.4.0.tar.gz:

Publisher: publish-to-pypi.yml on himura467/multimodal-timesfm

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

File details

Details for the file multimodal_timesfm-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multimodal_timesfm-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98821c2e44015d6c1442492f56dd77ac63dd04e13e33b440520918b21e5a4358
MD5 35ee832784c54bdf22923853608e3fbe
BLAKE2b-256 ad520ce34bd667d921beda2224ab601a84ca8c21e9ee50a50e0f4289e8f19719

See more details on using hashes here.

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

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