Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +134 -56
- assets/forecast_example.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/forecast_example.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -8,89 +8,167 @@ tags:
|
|
| 8 |
- time-series
|
| 9 |
- forecasting
|
| 10 |
- probabilistic-forecasting
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- quantized
|
| 12 |
- cpu
|
| 13 |
---
|
| 14 |
-
|
| 15 |
# ts-ara
|
| 16 |
|
| 17 |
-
**ts-ara** is
|
| 18 |
-
|
| 19 |
-
> **Lineage & Attribution:** Derived from [`theforecastingcompany/t0-gamma`](https://huggingface.co/theforecastingcompany/t0-gamma) and [`theforecastingcompany/tfc-t0`](https://github.com/theforecastingcompany/tfc-t0) under the Apache License, Version 2.0. This project is an independent optimization and runtime distribution and does not imply official endorsement by The Forecasting Company.
|
| 20 |
-
|
| 21 |
-
---
|
| 22 |
-
|
| 23 |
-
## Model Artifacts
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
| **`ts-ara`** *(Default)* | `onnx/ts-ara.onnx` | ONNX Mixed FP16 (FP32 scalers) | `488.1 MB` | `+0.023%` | `178.6 ms` | `1731.2 MB` | **Default ONNX deploy** (`50%` smaller) |
|
| 29 |
-
| **`ts-ara-small`** *(Edge/CPU)* | `onnx/ts-ara-small.onnx` | ONNX Mixed INT8 (FP32 enc/dec) | **`256.9 MB`** | **`-0.072%`** | **`91.8 ms`** | **`542.0 MB`** | **Fastest CPU/edge** (`2.8x` speedup, `73.7%` smaller) |
|
| 30 |
|
| 31 |
-
|
| 32 |
-
- **Mixed-Precision INT8 (`onnx/ts-ara-small.onnx`):** Keeps the 6 `PatchEncoder` (3) and `QuantileHead` Decoder (3) `MatMul` nodes in FP32 while quantizing all 96 transformer `MatMul` nodes dynamically to INT8, preventing `sinh` tail amplification on large cumulative series while cutting footprint by `73.7%` and isolated peak RAM by `4.1x`.
|
| 33 |
|
| 34 |
-
--
|
| 35 |
|
| 36 |
-
|
| 37 |
|
| 38 |
-
##
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
-
| :---: | :--- | :--- | ---: | ---: | ---: | ---: |
|
| 44 |
-
| **1** | **`ts-ara`** *(Fourier)* | **ONNX FP16 · 488.1 MB** | **71.4%** | **70.3% (#1)** | 0.5139 *(#3)* | 0.4395 *(#3)* |
|
| 45 |
-
| 2 | `Timestral-209M` | Published | 69.2% | 68.1% *(#2)* | 0.5320 *(#1)* | 0.4574 *(#1)* |
|
| 46 |
-
| 3 | `t0-gamma` *(upstream base)* | Published FP32 | 67.0% | 67.0% *(#3)* | 0.5105 *(#4)* | 0.4354 *(#4)* |
|
| 47 |
-
| **4** | **`ts-ara-small`** *(Fourier)* | **ONNX Mixed INT8 · 256.9 MB** | **64.8%** | **60.4% (#4)** | 0.5082 *(#5)* | 0.4310 *(#5)* |
|
| 48 |
-
| 5 | `timesfm-3` | Published | 59.3% | 58.2% *(#5)* | 0.5170 *(#2)* | 0.4434 *(#2)* |
|
| 49 |
-
| 6 | `Chronos-2` | Published | 37.4% | 42.9% *(#6)* | 0.4685 *(#6)* | 0.3882 *(#6)* |
|
| 50 |
-
| 7 | `TiRex-2` | Published | 30.8% | 33.0% *(#7)* | 0.4558 *(#7)* | 0.3813 *(#7)* |
|
| 51 |
-
| 8 | `Seasonal Naive` | Baseline | 0.0% | 0.0% *(#8)* | 0.0000 *(#8)* | 0.0000 *(#8)* |
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
|
|
|
|
|
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
|
| 68 |
-
-
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
##
|
| 71 |
|
| 72 |
```python
|
| 73 |
from ts_ara import DynamicAdaptiveConformalCalibrator, TSAraForecaster
|
| 74 |
|
| 75 |
-
|
| 76 |
-
calibrator = DynamicAdaptiveConformalCalibrator(alpha=0.2)
|
| 77 |
|
| 78 |
-
fc_df =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
interval = calibrator.predict_interval(
|
| 80 |
fc_df["q_0.1"].to_numpy(), fc_df["q_0.9"].to_numpy(), forecast_id="win_0"
|
| 81 |
)
|
| 82 |
-
calibrator.observe(actual_y, forecast_id="win_0")
|
| 83 |
```
|
| 84 |
|
| 85 |
-
|
| 86 |
-
| :--- | :---: | :--- | :--- |
|
| 87 |
-
| **DtACI Calibration** (`DynamicAdaptiveConformalCalibrator`) | Wrapper | Empirical 80% coverage under abrupt shifts (`73.18% -> 80.21%`) or long horizons `h=1152` (`79.43%`, `~0.6 ms/step`). | Only raw uncalibrated quantiles are needed. |
|
| 88 |
-
| **Fourier Calendar** (`add_calendar_features="auto"` / `True`) | `False` | Regular seasonal panels (`+0.0034` SQL on `fev-bench`); `"auto"` runs a joint detrended harmonic $R^2$ + Bretherton $N_{\text{eff}}$ gate to block epidemic/non-seasonal surges. | Purely non-seasonal series, `>=28D` monthly/annual series, or irregular timestamps. |
|
| 89 |
-
| **Covariate Guard** (`guard_covariates=True`) | `False` | Noisy or misaligned drivers (`-5.1%` to `-12.2%` CRPS; `-8.1%` and `3.1x` faster on `solar_with_weather_1H` with `ts-ara-small`). | Curated sparse/nonlinear drivers where linear historical correlation filters may drop informative spikes. |
|
| 90 |
-
| **Dual-Context Vincentization** (`context_scales=(3072, 9216)`) | `None` | Long (`>4,096`) periodic or regime-shifting series such as electricity prices (`epf_np`: `0.6138 -> 0.5435` SQL). | Latency-sensitive paths (~2x pass when `T > 4,096`). |
|
| 91 |
|
| 92 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
-
#
|
| 95 |
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- time-series
|
| 9 |
- forecasting
|
| 10 |
- probabilistic-forecasting
|
| 11 |
+
- foundation-model
|
| 12 |
+
- zero-shot
|
| 13 |
+
- covariates
|
| 14 |
+
- multivariate
|
| 15 |
- quantized
|
| 16 |
- cpu
|
| 17 |
---
|
|
|
|
| 18 |
# ts-ara
|
| 19 |
|
| 20 |
+
**ts-ara** is an **open-weight, Apache-2.0, production-grade** probabilistic time-series forecasting model and ONNX runtime derived from [`theforecastingcompany/t0-gamma`](https://huggingface.co/theforecastingcompany/t0-gamma) (~256M parameters, 24-layer alternating 2:1 time/group patch transformer, patch size 32), ready for zero-shot univariate and multivariate forecasting with past and known-future covariates directly on standard CPUs without PyTorch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
- **Production-default Mixed FP16 (`ts-ara`):** Matches full FP32 `t0-gamma` accuracy (`0.5580` vs. `0.5580` Norm. CRPS on `Real-TSF/TIME`) at **half the weight footprint** (`488.1 MB` vs. `975.1 MB`), lower CPU memory and latency (`1731.2 MB` vs. `2201.8 MB` RAM, `178.6 ms` vs. `256.3 ms`, zero PyTorch dependency) by keeping scalers and normalization in FP32.
|
| 23 |
+
- **Built-in production enhancements:** Outperforms base FP32 `t0-gamma` on `fev-bench` (`71.4%` vs. `67.0%` SQL Win Rate) with Fourier calendar alignment (`add_calendar_features`), protects against noisy or shifted drivers (`guard_covariates`), and keeps 80% prediction intervals calibrated under distribution shifts (`73.2% -> 80.2%`) and long horizons (`h = 1,152`) via online `DtACI` calibration.
|
| 24 |
+
- **Edge & low-RAM CPU tier (`ts-ara-small`):** Mixed INT8 (`256.9 MB`, `-74%` size, `-75%` CPU RAM at `542.0 MB`) runs in `<0.1 s` per forecast (`91.8 ms` p50) and outputs 21 native quantiles (`0.01–0.99`).
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
## Visual Forecast Example
|
|
|
|
| 27 |
|
| 28 |
+

|
| 29 |
|
| 30 |
+
*Live zero-shot 168-hour CPU ONNX forecasts on `autogluon/fev_datasets`: `ts-ara` (`R² = 0.95`, `91.7%` 80% PI coverage, `220 ms` CPU) on `epf_de` (`2017-11-27`–`2017-12-03`, with known-future load/renewable covariates) and `ts-ara-small` (`R² = 0.94`, `79.2%` 80% PI coverage, `69 ms` CPU) on `solar_with_weather_1H` (`2022-08-03`–`2022-08-10`), showing median (`q0.50`), 50% PI, and 80% PI.*
|
| 31 |
|
| 32 |
+
## Artifact Tiers & CPU Footprint
|
| 33 |
|
| 34 |
+
| Tier | Artifact Path | Precision | Artifact Size | p50 Latency (CPU) | Peak RAM (Isolated) |
|
| 35 |
+
| :---------------------------------------- | :------------------------- | :--------- | ------------: | --------------------: | ---------------------: |
|
| 36 |
+
| **`ts-ara`** *(Default)* | `onnx/ts-ara.onnx` | Mixed FP16 | `488.1 MB` | `178.6 ms` | `1731.2 MB` |
|
| 37 |
+
| **`ts-ara-small`** *(Edge/CPU)* | `onnx/ts-ara-small.onnx` | Mixed INT8 | `256.9 MB` | **`91.8 ms`** | **`542.0 MB`** |
|
| 38 |
+
| **Master** | `model.safetensors` | FP32 | `975.1 MB` | `256.3 ms` | `2201.8 MB` |
|
| 39 |
|
| 40 |
+
## Quick start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
+
Install the runtime from [`funara/ts-ara`](https://github.com/funara/ts-ara):
|
| 43 |
|
| 44 |
+
```bash
|
| 45 |
+
pip install "ts-ara[onnx,dataframe] @ git+https://github.com/funara/ts-ara.git" huggingface_hub
|
| 46 |
+
```
|
| 47 |
|
| 48 |
+
```python
|
| 49 |
+
import numpy as np
|
| 50 |
+
from huggingface_hub import snapshot_download
|
| 51 |
+
from ts_ara import TSAraForecaster
|
| 52 |
+
|
| 53 |
+
local_dir = snapshot_download(
|
| 54 |
+
repo_id="funara/ts-ara",
|
| 55 |
+
allow_patterns=["config.json", "onnx/ts-ara.onnx"],
|
| 56 |
+
# or "onnx/ts-ara-small.onnx"
|
| 57 |
+
)
|
| 58 |
|
| 59 |
+
model = TSAraForecaster.from_tier("ts-ara", exports_dir=local_dir)
|
| 60 |
+
history = 10 + np.sin(np.arange(500, dtype=np.float32) / 24 * 2 * np.pi)
|
| 61 |
+
fc = model.predict(history, horizon=48, quantile_levels=[0.1, 0.5, 0.9])
|
| 62 |
+
```
|
| 63 |
|
| 64 |
+
## Covariates, Calendar Features & Conformal Calibration
|
| 65 |
|
| 66 |
```python
|
| 67 |
from ts_ara import DynamicAdaptiveConformalCalibrator, TSAraForecaster
|
| 68 |
|
| 69 |
+
model = TSAraForecaster.from_tier("ts-ara", exports_dir=local_dir)
|
| 70 |
+
calibrator = DynamicAdaptiveConformalCalibrator(alpha=0.2)
|
| 71 |
|
| 72 |
+
fc_df = model.predict_df(
|
| 73 |
+
history_df,
|
| 74 |
+
horizon=24,
|
| 75 |
+
future_df=future_df,
|
| 76 |
+
covariate_cols=["temperature", "holiday"],
|
| 77 |
+
add_calendar_features="auto",
|
| 78 |
+
guard_covariates=False,
|
| 79 |
+
)
|
| 80 |
interval = calibrator.predict_interval(
|
| 81 |
fc_df["q_0.1"].to_numpy(), fc_df["q_0.9"].to_numpy(), forecast_id="win_0"
|
| 82 |
)
|
| 83 |
+
calibrator.observe(actual_y, forecast_id="win_0")
|
| 84 |
```
|
| 85 |
|
| 86 |
+
## Production Enhancements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
+
Built-in export and inference-time upgrades engineered for reliable CPU deployment (preserving the unmodified pretrained weights):
|
| 89 |
+
|
| 90 |
+
- **Mixed-Precision ONNX Export:** Eliminates host-device syncs for ONNX Runtime execution. `ts-ara` (Mixed FP16) keeps scalers and normalization in FP32 to prevent overflow; `ts-ara-small` (Mixed INT8) keeps the 6 Patch Encoder (3) and Quantile Decoder (3) `MatMul` nodes in FP32 while quantizing all **96 transformer linear projections (24 layers)** to INT8, eliminating `sinh` tail amplification (`-74%` size, `-75%` RAM).
|
| 91 |
+
- **Fourier Calendar Features (`add_calendar_features`):** Opt-in (`False` default, `"auto"` detrended harmonic $R^2$ + Bretherton $N_{\text{eff}}$ gate, or `True` span-gated) known-future $\sin/\cos$ periodic features to align phase across fixed 32-step patches on calendar-driven series.
|
| 92 |
+
- **Adaptive Conformal Calibration (`CQR + ACI + DtACI`):** Pure-NumPy post-hoc calibration wrapper ([Romano et al., 2019](https://arxiv.org/abs/1905.03222); [Gibbs & Candès, 2021](https://arxiv.org/abs/2106.00170), [2024](https://arxiv.org/abs/2208.08401)) with multi-horizon delayed feedback: recovers abrupt distribution shifts (`73.2% -> 80.2%`) and maintains long-horizon `h=1,152` coverage (`79.4%`) at `~0.6 ms/step`.
|
| 93 |
+
- **Zero-Leakage Preprocessing (`guard_covariates`, `context_scales`):** Length-bucketed ragged batching, opt-in historical correlation/lag Covariate Guard (`guard_covariates=True`), and opt-in Dual-Context Vincentization (`context_scales=(3072, 9216)`, [Lichtendahl et al., 2013](https://pubsonline.informs.org/doi/10.1287/mnsc.1120.1667)).
|
| 94 |
+
|
| 95 |
+
## Benchmark Results
|
| 96 |
+
|
| 97 |
+
### `fev-bench` (`mini-cpu`, 13 mini tasks, 2,013 forecasts)
|
| 98 |
|
| 99 |
+
The [Scaled Quantile Loss (SQL)](https://auto.gluon.ai/dev/tutorials/timeseries/forecasting-metrics.html#autogluon.timeseries.metrics.SQL) is a **scale-invariant** metric for evaluating **probabilistic** forecasts.
|
| 100 |
|
| 101 |
+
| Model | SQL Win Rate ↑ | MASE Win Rate ↑ | SQL Skill Score ↑ | MASE Skill Score ↑ |
|
| 102 |
+
| :------------------------------------ | --------------: | ---------------: | -----------------: | ------------------: |
|
| 103 |
+
| **`ts-ara`** *(FP16)* | **71.4%** | **70.3%** | 0.5139 | 0.4395 |
|
| 104 |
+
| `Timestral-209M` | 69.2% | 68.1% | 0.5320 | 0.4574 |
|
| 105 |
+
| `t0-gamma` *(base)* | 67.0% | 67.0% | 0.5105 | 0.4354 |
|
| 106 |
+
| **`ts-ara-small`** *(INT8)* | **64.8%** | **60.4%** | 0.5082 | 0.4310 |
|
| 107 |
+
| `timesfm-3` | 59.3% | 58.2% | 0.5170 | 0.4434 |
|
| 108 |
+
| `Chronos-2` | 37.4% | 42.9% | 0.4685 | 0.3882 |
|
| 109 |
+
| `TiRex-2` | 30.8% | 33.0% | 0.4558 | 0.3813 |
|
| 110 |
+
|
| 111 |
+
*Skill scores relative to `Seasonal Naive` (`0.0000` SQL / `0.0000` MASE, `0.0%` win rate); `ts-ara` tiers evaluated with span-gated Fourier calendar features enabled.*
|
| 112 |
+
|
| 113 |
+
### `Real-TSF/TIME` (12-task stratified subset of 98 tasks)
|
| 114 |
+
|
| 115 |
+
| Model | Norm. CRPS ↓ | Norm. MASE ↓ | CRPS Win Rate ↑ |
|
| 116 |
+
| :------------------------------------ | ---------------: | ---------------: | ---------------: |
|
| 117 |
+
| `Timestral-209M` | **0.5574** | 0.6776 | **79.8%** |
|
| 118 |
+
| `t0-gamma` *(base)* | 0.5580 | **0.6660** | 63.1% |
|
| 119 |
+
| **`ts-ara`** *(FP16)* | **0.5580** | **0.6661** | 60.7% |
|
| 120 |
+
| **`ts-ara-small`** *(INT8)* | **0.5636** | **0.6662** | 57.1% |
|
| 121 |
+
| `TimesFM-3` | 0.5641 | 0.6772 | 70.2% |
|
| 122 |
+
| `Chronos-2` | 0.5851 | 0.7079 | 33.3% |
|
| 123 |
+
| `TiRex` | 0.5867 | 0.6849 | 32.1% |
|
| 124 |
+
|
| 125 |
+
*Normalised against `Seasonal Naive` (`1.0000` CRPS / `1.0000` MASE, `3.6%` win rate). All rival scores are aggregated from official per-task [`Real-TSF/TIME-Output`](https://huggingface.co/datasets/Real-TSF/TIME-Output) logs on the exact same 12 tasks (so absolute numbers might be differ from the full 98-task leaderboard).*
|
| 126 |
+
|
| 127 |
+
## Opt-In Feature Guidance
|
| 128 |
+
|
| 129 |
+
| Feature & Parameter | Default | Enable When | Leave Off When |
|
| 130 |
+
| :------------------------------------------------------------------------ | :-------: | :--------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------- |
|
| 131 |
+
| **Fourier Calendar** (`add_calendar_features="auto"` or `True`) | `False` | Sub-daily (`<1D`), daily (`1D`), or weekly (`1W`) calendar-driven series (`"auto"` filters out non-seasonal surges). | Monthly/annual (`>=28D`), irregular grids, or latency-critical single-row calls. |
|
| 132 |
+
| **DtACI Calibration** (`DynamicAdaptiveConformalCalibrator`) | Wrapper | Production loops with sequential ground-truth feedback needing calibrated intervals under shift or `h > 1,024`. | One-shot static quantile outputs with no `observe(...)` feedback loop. |
|
| 133 |
+
| **Covariate Guard** (`guard_covariates=True`) | `False` | Noisy, uninformative, or shifted external drivers (especially with `ts-ara-small` on sensor/weather channels). | Curated, sparse, or nonlinear domain drivers where historical linear correlation may drop rare spikes. |
|
| 134 |
+
| **Dual-Context Vincentization** (`context_scales=(3072, 9216)`) | `None` | Long (`>4,096`) periodic or regime-shifting series when `~2x` CPU latency is acceptable. | Short contexts (`<=4,096`) or strict latency budgets. |
|
| 135 |
+
|
| 136 |
+
## Model Details
|
| 137 |
+
|
| 138 |
+
| Field | Value |
|
| 139 |
+
| :------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 140 |
+
| **Parameters** | ~256M |
|
| 141 |
+
| **Architecture** | 24-layer alternating 2:1 patch transformer (16 time-attention + 8 group-attention, patch size 32) |
|
| 142 |
+
| **Horizon & Output** | Any horizon (parallel up to 1,024 steps, rollout beyond); 21 quantiles (`0.01–0.99`) |
|
| 143 |
+
| **ONNX Variants** | `onnx/ts-ara.onnx` (FP16, `488.1 MB`) · `onnx/ts-ara-small.onnx` (Mixed INT8, `256.9 MB`) |
|
| 144 |
+
| **Master Weights** | `model.safetensors` (FP32 unmodified `t0-gamma` weights, `975.1 MB`) |
|
| 145 |
+
| **Repository Files** | `model.safetensors`, `onnx/ts-ara.onnx`, `onnx/ts-ara-small.onnx`, `config.json`, `SHA256SUMS.txt`, `LICENSE`, `NOTICE`, `assets/forecast_example.png` |
|
| 146 |
+
|
| 147 |
+
## Limitations
|
| 148 |
+
|
| 149 |
+
- Requires a regular time grid; irregular timestamps must be resampled first.
|
| 150 |
+
- Outputs marginal quantiles rather than correlated joint sample paths.
|
| 151 |
+
- Enable `add_calendar_features` only on calendar-driven periodic series (or use `"auto"` on mixed panels).
|
| 152 |
+
- Forecasts are probabilistic estimates; validate on historical backtests before production use.
|
| 153 |
+
|
| 154 |
+
## Lineage & License
|
| 155 |
+
|
| 156 |
+
**ts-ara** is released under the **Apache License, Version 2.0** (see [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE)). It is an independent, 0-gradient ONNX optimization and runtime distribution derived from [`theforecastingcompany/t0-gamma`](https://huggingface.co/theforecastingcompany/t0-gamma) and [`theforecastingcompany/tfc-t0`](https://github.com/theforecastingcompany/tfc-t0), and is **not** affiliated with or endorsed by The Forecasting Company. All upstream attributions (The Forecasting Company, Toto by Datadog, Chronos-2 by Amazon, TiRex by NXAI, and `rotary-embedding-torch` by Phil Wang) are preserved in [`NOTICE`](./NOTICE).
|
| 157 |
+
|
| 158 |
+
## Citation
|
| 159 |
+
|
| 160 |
+
```bibtex
|
| 161 |
+
@misc{tsara2026,
|
| 162 |
+
title = {ts-ara: Training-Free ONNX Optimization and Conformal Calibration for Time-Series Foundation Models},
|
| 163 |
+
author = {funara},
|
| 164 |
+
year = {2026},
|
| 165 |
+
howpublished = {\url{https://huggingface.co/funara/ts-ara}}
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
@article{meyer2026t0,
|
| 169 |
+
title = {$t_0$: A Time-Series Foundation Model for Forecasting with Context},
|
| 170 |
+
author = {Meyer, Lucas and Sole, Claudio and Xiang, Huikan and Li, Nicolas and Franceschino, Lucas and Quera-Bofarull, Arnau and Scholl, Maarten P. and Fainberg, Joachim and N{\'e}giar, Geoffrey},
|
| 171 |
+
journal = {arXiv preprint arXiv:2609.24559},
|
| 172 |
+
year = {2026}
|
| 173 |
+
}
|
| 174 |
+
```
|
assets/forecast_example.png
ADDED
|
Git LFS Details
|