LearnFinance PatchTST Model - v2026-08-14-e89b75d03a12

OHLCV 5-channel PatchTST transformer model for predicting weekly stock returns.

Model Details

  • Version: v2026-08-14-e89b75d03a12
  • Model Type: PatchTST (Patch Time Series Transformer)
  • Training Window: 2016-01-01 to 2026-08-14
  • Symbols: 198 stocks

Input Channels (11 total)

  • OHLCV log returns (5): open, high, low, close, volume
  • News sentiment (1)

Metrics

  • Train Loss: 0.0006103883765538876
  • Validation Loss: 0.0005531313099709223
  • Baseline Loss: 0.0005424862029030919
  • Best Epoch: 14
  • Stopped Epoch: 29

Usage

from brain_api.storage.patchtst.huggingface import PatchTSTHalalNewHuggingFaceModelStorage
from brain_api.storage.patchtst.local import PatchTSTHalalNewModelStorage

storage = PatchTSTHalalNewHuggingFaceModelStorage(
    repo_id="hajirazin/learnfinance-models-patchtst-india",
    local_cache=PatchTSTHalalNewModelStorage(),
)
artifacts = storage.download_model(version="v2026-08-14-e89b75d03a12")
Downloads last month
33
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support