LearnFinance PatchTST Model - v2026-10-02-7e38003c317e
Close-only PatchTST transformer for predicting weekly stock returns.
Model Details
- Version: v2026-10-02-7e38003c317e
- Model Type: PatchTST (Patch Time Series Transformer)
- Training Window: 2016-01-01 to 2026-10-02
- Symbols: 203 stocks
Input Channels
- Close log return (1):
close_ret
Metrics
- Train Loss: 0.0006434785694485375
- Validation Loss: 0.0005411665080504313
- Baseline Loss: 0.00053263088921085
- Best Epoch: 11
- Stopped Epoch: 19
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-10-02-7e38003c317e")
- Downloads last month
- 53
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support