Models About & Code

Standalone App & PWA

Install Time-Series Forecast Lab from its dedicated origin as an offline forecasting studio with OS .csv / .tsv / .json file_handlers and zero network egress.

Open forecast.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so forecast.webai.show caches its own ~22.3 MB 3-model CPU WASM pack. Staying on webai.show shares cached Timestral-5M and Granite PatchTST weights with their model pages.

0 edits · 0 NaN
Time-Series Forecast Lab interactive chart awaiting live inference.
Observed Holdout Truth Timestral 80%/95% Fan Timestral p50 PatchTST PatchTSMixer
2.5σ
192 steps
Hover or drag in the lookback zone to sculpt points, inject shocks, shift trends, or paint NaN dropouts.

Loading Web Traffic RPS preset… All 3 neural time-series models run strictly on your device in CPU WASM.

3-Model Backtest Leaderboard

Holdout Split (512 -> 96)
Top Model —
Best MAE —
80% Coverage —
3-Model Time —
Head-to-head neural forecast accuracy (lowest MAE first)
Model MAE RMSE sMAPE Time

Quantile Fan & Residual Anomalies

Awaiting 3-model run

    Local AI Engine

    Three distinct CPU WebAssembly time-series architectures (~22.3 MB combined) running concurrently in isolated FIFO Web Workers — zero WebGPU required, zero data uploaded.

    Stage 1 · Mistral Timestral-5M (21.2 MB fp32 · 21 Quantiles)

    onnx-community/Timestral-5M-ONNX · ONNX Runtime Web 1.21.0 · Mistral Modified MIT ($20M/mo cap; 2026 - Mistral AI; code Apache-2.0) · reuses ../../models/timestral-5m/worker.js

    Stage 2 · IBM Granite PatchTST (0.77 MB q8 · Apache-2.0)

    onnx-community/granite-timeseries-patchtst · Transformers.js 3.7.5 · 7-ch Patch-12 ViT (512 -> 96) · reuses ../../models/granite-timeseries-patchtst/worker.js

    Stage 3 · IBM Granite PatchTSMixer (0.29 MB int8 · Apache-2.0)

    onnx-community/granite-timeseries-patchtsmixer · Transformers.js 3.7.5 · 7-ch Patch-16 gated MLP-Mixer (512 -> 96) · dedicated ./patchtsmixer-worker.js

    Stage 1 · Timestral-5M Not loaded
    Stage 2 · PatchTST Not loaded
    Stage 3 · PatchTSMixer Not loaded
    Tensor Integrity 0 NaN · 0 imputed · CPU WASM

    How Time-Series Forecast Lab Works

    Compare three contrasting neural time-series families side-by-side on the exact same lookback window — including interactive shock, trend-shift, and missing-value stress tests — strictly on your CPU.

    1. Mistral Timestral-5M (Probabilistic Fan)

    Timestral-5M (21.2 MB fp32, ONNX Runtime Web 1.21.0) applies causal Welford asinh normalization, native missing-mask attention over NaN dropouts, and symmetric [+x, -x] sign-flip ensembling to predict 21 calibrated quantiles per step (direct 32-step pass; 3×32 autoregressive rollout for 96-step horizons).

    2. IBM Granite PatchTST (Patch-12 Transformer)

    Granite PatchTST (0.77 MB q8, Transformers.js 3.7.5, Apache-2.0) slices a 7-channel 512-step context into 42 non-overlapping Patch-12 tokens and projects all 96 future steps in one forward pass (~12 ms CPU WASM).

    3. IBM Granite PatchTSMixer (0.29 MB MLP-Mixer)

    onnx-community/granite-timeseries-patchtsmixer (0.29 MB int8, Transformers.js 3.7.5, Apache-2.0) replaces quadratic self-attention with a 2-layer gated MLP-Mixer across 32 Patch-16 tokens (d_model: 48, expansion_factor: 3) — forecasting 7 channels × 96 steps in ~2–16 ms on CPU WASM.

    Show the code — packGranitePastValues(), unpackGranitePredictions() & stitchTimestralChunks()
    Show the code — Direct-manipulation operators: applyPointEdit(), applyShockPulse(), applyTrendShift() & applyDropoutMask()
    Show the code — evaluateForecastMetrics(), buildLeaderboard() & detectForecastAnomalies()
    Show the code — Stage 3 IBM Granite PatchTSMixer FIFO Web Worker (0.29 MB int8 on shared Transformers.js 3.7.5)
    Show the code — StageWorkerClient FIFO lifecycle manager & registerForecastLabWebMcpTools()

    Export Forecast & Benchmark Bundle

    Download OWASP formula-safe .csv per-step forecasts, a standalone publication vector .svg chart, or the full .json benchmark report.

    Standalone vector SVG preview of the active 3-model time-series forecast chart