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.3.0.tar.gz (15.8 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.3.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file multimodal_timesfm-0.3.0.tar.gz.

File metadata

  • Download URL: multimodal_timesfm-0.3.0.tar.gz
  • Upload date:
  • Size: 15.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 ee405de6107e67101dfd01b2a5cba7f835389f8a1f53c20b34a4236a595e6fdb
MD5 c5197b6de11d4e137102b29ad68c09d4
BLAKE2b-256 e2d9d430d4a112d9794b433d0ff194db0fcfcc6a38161172ca1051fbc7424be7

See more details on using hashes here.

Provenance

The following attestation bundles were made for multimodal_timesfm-0.3.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multimodal_timesfm-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa17fd628f395b8c00888dd5fb2982eed8e5cfc7e806a002de60554f9701d34c
MD5 e57b529a89ecf41378ce56faa4d172d2
BLAKE2b-256 127f4338500595c4f060eed6a8f0b8120c4c5d7076d9b54d04616f744331bea1

See more details on using hashes here.

Provenance

The following attestation bundles were made for multimodal_timesfm-0.3.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