apache / apache/iotdb

[AINode] Integrate PatchTST-FM-R1 as builtin forecasting model

Offen
#17,301 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
6.4k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
115

Beschreibung

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Motivation

Description:

Summary: This issue tracks the integration of IBM Research's [PatchTST-FM-R1](https://huggingface.co/ibm-research/patchtst-fm-r1) into IoTDB AINode's built-in model registry, following the contribution guide documented [here](https://iotdb.apache.org/UserGuide/latest-Table/AI-capability/AINode_Upgrade_apache.html#_6-contributing-open-source-time-series-large-models-to-iotdb-ainode).

Motivation: PatchTST-FM-R1 is a SOTA patch-based Transformer foundation model for time series forecasting. Adding it expands the range of zero-shot forecasting options available to IoTDB users without requiring model training.

Implementation Plan:

Create iotdb-core/ainode/iotdb/ainode/core/model/patchtst/ directory with a PatchTSTFMPipeline extending

ForecastPipeline
Register the model in BUILTIN_HF_TRANSFORMERS_MODEL_MAP in

model_info.py
Add integration test
Reference: PR #16903 (Chronos2 integration) as the implementation pattern.

### Solution

_No response_

### Alternatives

_No response_

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit PR #16903, um das Integrationsmuster für Chronos2 zu verstehen, lies dann den AINode contribution guide und untersuche model_info.py sowie den Einstiegspunkt ForecastPipeline. Füge das PatchTST-Verzeichnis und die Pipeline hinzu, registriere das Modell in BUILTIN_HF_TRANSFORMERS_MODEL_MAP und stelle sicher, dass der Integrationstest erfolgreich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
huggingface
Bereich
machine-learning
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.