Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelogs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Welcome to the TimeCopilot Changelog. Here, you will find a comprehensive list of all the changes, updates, and improvements made to the TimeCopilot project. This section is designed to keep you informed about the latest features, bug fixes, and enhancements as we continue to develop and refine the TimeCopilot experience. Stay tuned for regular updates and feel free to explore the details of each release below.

- [v0.0.36](v0.0.36.md)
- [v0.0.35](v0.0.35.md)
- [v0.0.34](v0.0.34.md)
- [v0.0.33](v0.0.33.md)
Expand Down
29 changes: 29 additions & 0 deletions docs/changelogs/v0.0.36.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
### Features

* **T0 family checkpoints**: Document and compare T0 alpha and beta via the existing `T0` class (`foundationforecast>=0.1.8`, `tfc-t0>=0.5.0`). Pass `repo_id` to select the checkpoint:

- `theforecastingcompany/t0-alpha` (default) — ~102M parameters
- `theforecastingcompany/t0-beta` — ~256M parameters ([model card](https://huggingface.co/theforecastingcompany/t0-beta))

```python
import pandas as pd
from timecopilot.models.foundation.t0 import T0

df = pd.read_csv(
"https://timecopilot.s3.amazonaws.com/public/data/air_passengers.csv",
parse_dates=["ds"],
)

model = T0(
repo_id="theforecastingcompany/t0-beta",
alias="t0-beta",
context_length=512,
)
fcst_df = model.forecast(df, h=12, freq="MS", level=[80, 90])
```

* **T0 family notebook**: Added [`t0-family` example notebook](../examples/t0-family.ipynb) comparing `t0-alpha` and `t0-beta` on event page-views, including prediction intervals and evaluation metrics.

---

**Full Changelog**: https://github.com/TimeCopilot/timecopilot/compare/v0.0.35...v0.0.36
1 change: 1 addition & 0 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ For model API details, see the [Model Hub](../model-hub.md).
| [Chronos Family](chronos-family.ipynb) | Forecast with Chronos 1.x and 2.x checkpoints | Python 3.10+ |
| [TimesFM Family](timesfm-family.ipynb) | Forecast with TimesFM 1.0, 2.0, 2.5, and 3.0 with prediction intervals | Python 3.10+ |
| [PatchTST-FM Family](patchtst-fm-family.ipynb) | Forecast with IBM Research PatchTST-FM r1 and Granite PatchTST-FM r1/r2 | Python 3.11–3.13; GPU recommended |
| [T0 Family](t0-family.ipynb) | Forecast with T0 alpha and beta with prediction intervals | Python 3.11–3.13; GPU recommended |
| [TabPFN Family](tabpfn-family.ipynb) | Forecast with TabPFN-2 and TabPFN-3 with prediction intervals | Python 3.10–3.12; `TABPFN_TOKEN` for LOCAL |
| [TiRex Family](tirex-family.ipynb) | Forecast with TiRex 1.0 and 2.0 | Python 3.11+ |
| [Toto Family](toto-family.ipynb) | Forecast with Toto 1.0 and 2.0 | Python 3.10+ |
Expand Down
608 changes: 608 additions & 0 deletions docs/examples/t0-family.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/model-hub.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ TimeCopilot provides a unified interface to state-of-the-art foundation models f
- [Moirai](api/models/foundation/models.md#timecopilot.models.foundation.moirai) ([arXiv:2402.02592](https://arxiv.org/abs/2402.02592))
- [PatchTST-FM](api/models/foundation/models.md#timecopilot.models.foundation.patchtst_fm) ([arXiv:2602.06909](https://arxiv.org/abs/2602.06909); `ibm-research/patchtst-fm-r1` [NC](https://huggingface.co/ibm-research/patchtst-fm-r1), `ibm-granite/granite-timeseries-patchtst-fm-r1`, `ibm-granite/granite-timeseries-patchtst-fm-r2`) — Python 3.11–3.13
- [Sundial](api/models/foundation/models.md#timecopilot.models.foundation.sundial) ([arXiv:2502.00816](https://arxiv.org/pdf/2502.00816))
- [T0](api/models/foundation/models.md#timecopilot.models.foundation.t0) ([model card](https://huggingface.co/theforecastingcompany/t0-alpha))
- [T0](api/models/foundation/models.md#timecopilot.models.foundation.t0) ([t0-alpha](https://huggingface.co/theforecastingcompany/t0-alpha), [t0-beta](https://huggingface.co/theforecastingcompany/t0-beta); requires `tfc-t0>=0.5.0` for beta) — Python 3.11–3.13
- [TabPFN](api/models/foundation/models.md#timecopilot.models.foundation.tabpfn) ([arXiv:2501.02945](https://arxiv.org/abs/2501.02945); TabPFN-2 default, TabPFN-3 via `model_path`; [NC license](https://docs.priorlabs.ai/models))
- [TiRex / TiRex-2](api/models/foundation/models.md#timecopilot.models.foundation.tirex) ([arXiv:2505.23719](https://arxiv.org/abs/2505.23719), [arXiv:2607.01204](https://arxiv.org/abs/2607.01204))
- [TimeGPT](api/models/foundation/models.md#timecopilot.models.foundation.timegpt) ([arXiv:2310.03589](https://arxiv.org/abs/2310.03589))
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ nav:
- Chronos: examples/chronos-family.ipynb
- TimesFM: examples/timesfm-family.ipynb
- PatchTST-FM: examples/patchtst-fm-family.ipynb
- T0: examples/t0-family.ipynb
- TiRex: examples/tirex-family.ipynb
- TabPFN: examples/tabpfn-family.ipynb
- Toto: examples/toto-family.ipynb
Expand All @@ -64,6 +65,7 @@ nav:
- experiments/fev.md
- Changelogs:
- changelogs/index.md
- changelogs/v0.0.36.md
- changelogs/v0.0.35.md
- changelogs/v0.0.34.md
- changelogs/v0.0.33.md
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ license = "MIT"
name = "timecopilot"
readme = "README.md"
requires-python = ">=3.10"
version = "0.0.35"
version = "0.0.36"

[project.optional-dependencies]
distributed = [
Expand Down
2 changes: 1 addition & 1 deletion tests/gift_eval/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def all_results_df(cache_path: Path) -> pd.DataFrame:
all_results_file = cache_path / "seasonal_naive_all_results.csv"
if not all_results_file.exists():
all_results_df = pd.read_csv(
"https://huggingface.co/spaces/Salesforce/GIFT-Eval/raw/main/results/seasonal_naive/all_results.csv"
"https://huggingface.co/spaces/Salesforce/GIFT-Eval/raw/main/results/Seasonal_Naive/all_results.csv"
)
all_results_df.to_csv(all_results_file, index=False)
return pd.read_csv(all_results_file)
Expand Down
8 changes: 8 additions & 0 deletions tests/models/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,14 @@ def disable_mps_session(monkeypatch):
from timecopilot.models.foundation.t0 import T0

models.append(T0(context_length=256, batch_size=2))
models.append(
T0(
repo_id="theforecastingcompany/t0-beta",
alias="t0-beta",
context_length=256,
batch_size=2,
)
)

if (3, 11) <= sys.version_info < (3, 14):
from timecopilot.models.foundation.flowstate import FlowState
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading