Refresh model card: add Pareto + architecture figures, TIME metrics, latency table
Browse filesFiles changed (4)
- .gitattributes+2
- README.md+65-31
- assets/architecture.pngAdded
- assets/pareto.pngAdded
33 unmodified lines34353633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textfigures/architecture.png filter=lfs diff=lfs merge=lfs -text33 unmodified lines343536373833 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textfigures/architecture.png filter=lfs diff=lfs merge=lfs -textassets/architecture.png filter=lfs diff=lfs merge=lfs -textassets/pareto.png filter=lfs diff=lfs merge=lfs -text
14 unmodified lines151617181920218 unmodified lines3031323334353637386 unmodified lines454647484950515253545556575859606162636465666768697071727314 unmodified lines8889909192939495969798991001011021031041053 unmodified lines10911011111211311411511611711811912012112212312412512612712812913014 unmodified linesmodel-index:- name: Toto-2.0-2.5Bresults:- task:type: time-series-forecastingdataset:name: BOOM8 unmodified linessource:name: BOOM π₯ Observability Time-Series Forecasting Leaderboardurl: https://huggingface.co/spaces/Datadog/BOOM- task:type: time-series-forecastingdataset:name: GIFT-Evaltype: GIFT-Evalmetrics:6 unmodified linessource:name: GIFT-Eval Time Series Forecasting Leaderboardurl: https://huggingface.co/spaces/Salesforce/GIFT-Eval---# Toto-2.0-2.5BToto (**T**ime Series **O**ptimized **T**ransformer for [**O**bservability](https://www.datadoghq.com/knowledge-center/observability/)) is a family of time series foundation models for multivariate forecasting developed by [Datadog](https://www.datadoghq.com/). **Toto 2.0** is the current generation, featuring u-ΞΌP-scaled transformers ranging from 4M to 2.5B parameters.---## β¨ Key Features- **Zero-Shot Forecasting**: Forecast without fine-tuning on your specific time series.- **Multi-Variate Support**: Efficiently process multiple variables using alternating time/variate attention.- **Probabilistic Predictions**: Generate point forecasts and uncertainty estimates via a quantile output head.- **Decoder-Only Architecture**: Support for variable prediction horizons and context lengths.- **u-ΞΌP Scaling**: Stable training transfer across all model sizes.<div style="width: 100%; margin: auto; padding: 1rem;"><img src="figures/architecture.png" alt="Toto 2.0 architecture" style="width: 100%; height: auto;" /><em style="display: block; margin-top: 0.5rem; text-align: center;">Overview of the Toto 2.0 architecture.</em></div>---14 unmodified linesfrom toto2 import Toto2Modelmodel = Toto2Model.from_pretrained("Datadog/Toto-2.0-2.5B")model = model.to("cuda").eval()# (batch, n_variates, time_steps)target = torch.randn(1, 1, 512, device="cuda")target_mask = torch.ones_like(target, dtype=torch.bool)series_ids = torch.zeros(1, 1, dtype=torch.long, device="cuda")# Returns quantiles of shape (9, batch, n_variates, horizon)# Quantile levels: [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]quantiles = model.forecast({"target": target, "target_mask": target_mask, "series_ids": series_ids},horizon=96,)```3 unmodified lines## πΎ Available Checkpoints| Checkpoint | Parameters ||---|---|| [Toto-2.0-4m](https://huggingface.co/Datadog/Toto-2.0-4m) | 4M || [Toto-2.0-22m](https://huggingface.co/Datadog/Toto-2.0-22m) | 22M || [Toto-2.0-313m](https://huggingface.co/Datadog/Toto-2.0-313m) | 313M || [Toto-2.0-1B](https://huggingface.co/Datadog/Toto-2.0-1B) | 1B || [Toto-2.0-2.5B](https://huggingface.co/Datadog/Toto-2.0-2.5B) | 2.5B |---## π Additional Resources- **[Blog Post](https://www.datadoghq.com/blog/ai/toto-2/)**- **[GitHub Repository](https://github.com/DataDog/toto)**- **[BOOM Dataset](https://huggingface.co/datasets/Datadog/BOOM)**- **[Toto 1.0 Weights](https://huggingface.co/Datadog/Toto-Open-Base-1.0)**---14 unmodified lines151617181920218 unmodified lines3031323334353637386 unmodified lines45464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979814 unmodified lines1131141151161171181191201211221231241251261271281291301311321333 unmodified lines13713813914014114214314414514614714814915015115215315415515615715815916016116216316414 unmodified linesmodel-index:- name: Toto-2.0-2.5Bresults:- task:type: time-series-forecastingdataset:name: BOOM8 unmodified linessource:name: BOOM π₯ Observability Time-Series Forecasting Leaderboardurl: https://huggingface.co/spaces/Datadog/BOOM- task:type: time-series-forecastingdataset:name: GIFT-Evaltype: GIFT-Evalmetrics:6 unmodified linessource:name: GIFT-Eval Time Series Forecasting Leaderboardurl: https://huggingface.co/spaces/Salesforce/GIFT-Eval- task:type: time-series-forecastingdataset:name: TIMEtype: TIMEmetrics:- name: CRPStype: CRPSvalue: 0.532- name: MASEtype: MASEvalue: 0.640source:name: TIME Benchmark Leaderboardurl: https://huggingface.co/spaces/Real-TSF/TIME-leaderboard---# Toto-2.0-2.5BToto (Time Series Optimized Transformer for [Observability](https://www.datadoghq.com/knowledge-center/observability/)) is a family of time series foundation models for multivariate forecasting developed by [Datadog](https://www.datadoghq.com/). Toto 2.0 is the current generation, featuring u-ΞΌP-scaled transformers ranging from 4M to 2.5B parameters, all trained from a single recipe. Forecast quality improves reliably with parameter count across the family, with no sign of saturation at 2.5B.The family sets a new state of the art on three forecasting benchmarks: [BOOM](https://huggingface.co/spaces/Datadog/BOOM), our observability benchmark; [GIFT-Eval](https://huggingface.co/spaces/Salesforce/GIFT-Eval), the standard general-purpose benchmark; and the recent contamination-resistant [TIME](https://arxiv.org/abs/2602.12147) benchmark.---## β¨ Key Features- **Zero-Shot Forecasting:** Forecast without fine-tuning on your specific time series.- **Multi-Variate Support:** Efficiently process multiple variables using alternating time/variate attention.- **Probabilistic Predictions:** Generate point forecasts and uncertainty estimates via a quantile output head.- **Decoder-Only Architecture:** Support for variable prediction horizons and context lengths.- **u-ΞΌP Scaling:** A single training recipe transfers cleanly across all five sizes (4M β 2.5B).---## ποΈ ArchitectureA decoder-only patched transformer whose attention layers alternate between time-axis (causal) and variate-axis (full) views of the input. Toto 2.0 adds **contiguous patch masking (CPM)** for single-pass parallel decoding, a **quantile output head** trained with pinball loss, a robust arcsinh input scaler, residual MLP patch projections, and is trained with NorMuon. See the [technical report](#-additional-resources) for details.---## π PerformanceEvery Toto 2.0 size sits on or near the Pareto frontier on both BOOM and GIFT-Eval. The three largest sizes rank first, second, and third among foundation models on GIFT-Eval CRPS rank. On TIME, Toto 2.0 sizes take the top three spots on every metric, ahead of every other external foundation model evaluated.---14 unmodified linesfrom toto2 import Toto2Modelmodel = Toto2Model.from_pretrained("Datadog/Toto-2.0-2.5B")device = torch.device("cuda" if torch.cuda.is_available() else "cpu")model = model.to(device).eval()# (batch, n_variates, time_steps)target = torch.randn(1, 1, 512, device=device)target_mask = torch.ones_like(target, dtype=torch.bool)series_ids = torch.zeros(1, 1, dtype=torch.long, device=device)# Returns quantiles of shape (9, batch, n_variates, horizon)# Quantile levels: [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]quantiles = model.forecast({"target": target, "target_mask": target_mask, "series_ids": series_ids},horizon=96,decode_block_size=768,has_missing_values=False,)```3 unmodified lines## πΎ Available CheckpointsAll five Toto 2.0 sizes share the same training recipe; pick a size based on your accuracy/latency budget. Latencies are forward-pass time for a 1,024-step forecast at batch size 8 on a single A100.| Model | Params | Single-pass latency<br>(1,024 horizon) | Block decoding<br>(block=768) | Recommended for ||---|---|---|---|---|| [Toto-2.0-4m](https://huggingface.co/Datadog/Toto-2.0-4m) | 4m | ~3.8 ms | ~10.0 ms | Edge / CPU deployment; tightest latency or memory budgets. || [Toto-2.0-22m](https://huggingface.co/Datadog/Toto-2.0-22m) | 22m | ~5.0 ms | ~12.8 ms | Efficient default β matches or beats Toto 1.0 quality with ~7Γ fewer parameters. || [Toto-2.0-313m](https://huggingface.co/Datadog/Toto-2.0-313m) | 313m | ~15.4 ms | ~32.4 ms | Strong general-purpose checkpoint; top-3 foundation model on GIFT-Eval. || [Toto-2.0-1B](https://huggingface.co/Datadog/Toto-2.0-1B) | 1B | ~20.9 ms | ~46.3 ms | Best quality / cost tradeoff for production workloads. || [Toto-2.0-2.5B](https://huggingface.co/Datadog/Toto-2.0-2.5B) | 2.5B | ~36.2 ms | ~78.0 ms | Highest accuracy; #1 foundation model on every benchmark. |> Single-pass decoding fills the entire horizon in one forward pass and is recommended up to ~768 steps. Block decoding generates the horizon in 768-step segments conditioned on the previous segment's median (with KV caching); it is slower but more stable at long horizons. Both modes use the same checkpoint.---## π Additional Resources- **Technical Report** β *(coming soon)*- [Blog Post](https://www.datadoghq.com/blog/ai/toto-2/)- [GitHub Repository](https://github.com/DataDog/toto)- [Toto 2.0 Collection](https://huggingface.co/collections/Datadog/toto-20) β all five base checkpoints- [BOOM Dataset](https://huggingface.co/datasets/Datadog/BOOM) β Datadog's observability time-series benchmark- [Toto 1.0 Weights](https://huggingface.co/Datadog/Toto-Open-Base-1.0)---
.gitattributes+2
README.md+65-31
assets/architecture.pngAdded

Large File Pointer Details
- SHA256: 973196289f6036b880ec7fdb00fe0b1078215232bf58f0bdd6a27eeebfca46ef
- Pointer size: 131 Bytes
- Size of remote file: 437 kB
assets/pareto.pngAdded

Large File Pointer Details
- SHA256: 756a059027357cf224effc92995755b2c50ca8396b68918135ef0e5226798294
- Pointer size: 131 Bytes
- Size of remote file: 302 kB