use case · basics · missing-value imputation & symmetric sign-flip anatomy · fp32 WASM · ~21.2 MB
Quantile Calibration, Missing Masks & Sign-Flip Anatomy
Inspect the two core engineering tricks behind Timestral-5M:
native missing=1 mask imputation (punching 15–30% holes or a full 32-step blackout patch directly
into the context) and symmetric sign-flip ensembling (running [+x, −x] together in
one R=2 batch to cancel directional bias across all 21 quantiles).
1 · Timestral-5M worker (~21.2 MB fp32 WASM)
2 · Stress-test missing-value masks & inspect [+x, −x] sign-flip branches
Prepare Timestral-5M above to test missing-value imputation and [+x, −x] symmetric ensembling.
All 21 quantile knots (0.01..0.99) at selected step
Compare the averaged symmetric forecast against the raw +x and mirrored −x rows.
| τ | Symmetric | +x row | −x mirrored |
|---|---|---|---|
| Awaiting live run. | |||
3 · Show the code — exact pre/post-processing & ORT-Web call
Every line below is loaded live from the real ES modules running on this page.
</>
Show the code · prepareRows() — causal Welford, masks & [+x, −x] batch
timestral-core.mjs · L129–221
</>
Show the code · runForecast() — onnxruntime-web@1.21.0 WASM session
worker.js · L261–326
Model weights: mistralai/Timestral-5M via onnx-community/Timestral-5M-ONNX —
Mistral Modified MIT License ($20M/month global consolidated company revenue cap;
attribution notice: 2026 - Mistral AI). Upstream code: Apache-2.0.