hajirazin commited on
Commit
d4a405c
·
verified ·
1 Parent(s): cab0bf2

Promote PATCHTST_NIFTY_SHARIAH_500 version v2026-08-07-9c6bde69f0ba to current

Browse files
Files changed (5) hide show
  1. README.md +6 -7
  2. config.json +1 -1
  3. feature_scaler.pkl +1 -1
  4. metadata.json +8 -8
  5. weights.pt +1 -1
README.md CHANGED
@@ -8,13 +8,13 @@ tags:
8
  - time-series
9
  ---
10
 
11
- # LearnFinance PatchTST Model - v2026-08-07-61222ecd2db1
12
 
13
  OHLCV 5-channel PatchTST transformer model for predicting weekly stock returns.
14
 
15
  ## Model Details
16
 
17
- - **Version**: v2026-08-07-61222ecd2db1
18
  - **Model Type**: PatchTST (Patch Time Series Transformer)
19
  - **Training Window**: 2016-01-01 to 2026-08-07
20
  - **Symbols**: 198 stocks
@@ -23,13 +23,12 @@ OHLCV 5-channel PatchTST transformer model for predicting weekly stock returns.
23
 
24
  - OHLCV log returns (5): open, high, low, close, volume
25
  - News sentiment (1)
26
- - Fundamentals (5): gross_margin, operating_margin, net_margin, current_ratio, debt_to_equity
27
 
28
  ## Metrics
29
 
30
- - Train Loss: 0.0006309214825331069
31
- - Validation Loss: 0.00054993564981487
32
- - Baseline Loss: 0.0005407154094427824
33
 
34
  ## Usage
35
 
@@ -41,5 +40,5 @@ storage = PatchTSTHalalNewHuggingFaceModelStorage(
41
  repo_id="hajirazin/learnfinance-models-patchtst-india",
42
  local_cache=PatchTSTHalalNewModelStorage(),
43
  )
44
- artifacts = storage.download_model(version="v2026-08-07-61222ecd2db1")
45
  ```
 
8
  - time-series
9
  ---
10
 
11
+ # LearnFinance PatchTST Model - v2026-08-07-9c6bde69f0ba
12
 
13
  OHLCV 5-channel PatchTST transformer model for predicting weekly stock returns.
14
 
15
  ## Model Details
16
 
17
+ - **Version**: v2026-08-07-9c6bde69f0ba
18
  - **Model Type**: PatchTST (Patch Time Series Transformer)
19
  - **Training Window**: 2016-01-01 to 2026-08-07
20
  - **Symbols**: 198 stocks
 
23
 
24
  - OHLCV log returns (5): open, high, low, close, volume
25
  - News sentiment (1)
 
26
 
27
  ## Metrics
28
 
29
+ - Train Loss: 0.0006084877927283441
30
+ - Validation Loss: 0.0005532080249395221
31
+ - Baseline Loss: 0.0005426966235972941
32
 
33
  ## Usage
34
 
 
40
  repo_id="hajirazin/learnfinance-models-patchtst-india",
41
  local_cache=PatchTSTHalalNewModelStorage(),
42
  )
43
+ artifacts = storage.download_model(version="v2026-08-07-9c6bde69f0ba")
44
  ```
config.json CHANGED
@@ -14,7 +14,7 @@
14
  "epochs": 100,
15
  "validation_split": 0.2,
16
  "early_stopping_patience": 15,
17
- "weight_decay": 0.0001,
18
  "max_grad_norm": 1.0,
19
  "use_returns": true,
20
  "min_week_days": 3,
 
14
  "epochs": 100,
15
  "validation_split": 0.2,
16
  "early_stopping_patience": 15,
17
+ "weight_decay": 0.0,
18
  "max_grad_norm": 1.0,
19
  "use_returns": true,
20
  "min_week_days": 3,
feature_scaler.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:104fc86cbfe533731eb5fee2d3e81e8baec1e941d1ed045c2f64b7e66b4f9ba0
3
  size 687
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c7a9f4697dc82afc2d463a45fd93219f330b994903f59f021000316fbdc869a
3
  size 687
metadata.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "model_type": "patchtst_nifty_shariah_500",
3
- "version": "v2026-08-07-61222ecd2db1",
4
- "training_timestamp": "2026-08-08T20:05:49.963488+00:00",
5
  "data_window": {
6
  "start": "2016-01-01",
7
  "end": "2026-08-07"
@@ -222,7 +222,7 @@
222
  "epochs": 100,
223
  "validation_split": 0.2,
224
  "early_stopping_patience": 15,
225
- "weight_decay": 0.0001,
226
  "max_grad_norm": 1.0,
227
  "use_returns": true,
228
  "min_week_days": 3,
@@ -234,13 +234,13 @@
234
  "volume_ret"
235
  ]
236
  },
237
- "config_symbols_hash": "a0285ad3c735",
238
  "metrics": {
239
- "train_loss": 0.0006309214825331069,
240
- "val_loss": 0.00054993564981487,
241
- "baseline_loss": 0.0005407154094427824
242
  },
243
  "promoted": true,
244
- "prior_version": "v2026-06-26-0175f7b75c9e",
245
  "failure_reasons": []
246
  }
 
1
  {
2
  "model_type": "patchtst_nifty_shariah_500",
3
+ "version": "v2026-08-07-9c6bde69f0ba",
4
+ "training_timestamp": "2026-08-09T09:45:50.401631+00:00",
5
  "data_window": {
6
  "start": "2016-01-01",
7
  "end": "2026-08-07"
 
222
  "epochs": 100,
223
  "validation_split": 0.2,
224
  "early_stopping_patience": 15,
225
+ "weight_decay": 0.0,
226
  "max_grad_norm": 1.0,
227
  "use_returns": true,
228
  "min_week_days": 3,
 
234
  "volume_ret"
235
  ]
236
  },
237
+ "config_symbols_hash": "53ca474e3771",
238
  "metrics": {
239
+ "train_loss": 0.0006084877927283441,
240
+ "val_loss": 0.0005532080249395221,
241
+ "baseline_loss": 0.0005426966235972941
242
  },
243
  "promoted": true,
244
+ "prior_version": "v2026-08-07-61222ecd2db1",
245
  "failure_reasons": []
246
  }
weights.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7903dbb33663404ff3b966fec37eb1b804b0bf0fcade22602d24ddc79713c41b
3
  size 305296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecfefe27bf3b6cc1cf69be0cba0a6972a5c2268eba0952433fd25c29e3d0bb1d
3
  size 305296