scale up transformer
This commit is contained in:
@ -452,6 +452,14 @@ class AdvancedTradingTransformer(nn.Module):
|
||||
"""
|
||||
batch_size, seq_len = price_data.shape[:2]
|
||||
|
||||
# Handle different input dimensions - expand to sequence if needed
|
||||
if cob_data.dim() == 2: # (batch, features) -> (batch, seq_len, features)
|
||||
cob_data = cob_data.unsqueeze(1).expand(batch_size, seq_len, -1)
|
||||
if tech_data.dim() == 2: # (batch, features) -> (batch, seq_len, features)
|
||||
tech_data = tech_data.unsqueeze(1).expand(batch_size, seq_len, -1)
|
||||
if market_data.dim() == 2: # (batch, features) -> (batch, seq_len, features)
|
||||
market_data = market_data.unsqueeze(1).expand(batch_size, seq_len, -1)
|
||||
|
||||
# Project inputs to model dimension
|
||||
price_emb = self.price_projection(price_data)
|
||||
cob_emb = self.cob_projection(cob_data)
|
||||
|
@ -271,15 +271,15 @@
|
||||
],
|
||||
"decision": [
|
||||
{
|
||||
"checkpoint_id": "decision_20250702_012558",
|
||||
"checkpoint_id": "decision_20250702_013257",
|
||||
"model_name": "decision",
|
||||
"model_type": "decision_fusion",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_012558.pt",
|
||||
"created_at": "2025-07-02T01:25:58.614455",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_013257.pt",
|
||||
"created_at": "2025-07-02T01:32:57.057698",
|
||||
"file_size_mb": 0.06720924377441406,
|
||||
"performance_score": 9.999991886192655,
|
||||
"performance_score": 9.99999352005137,
|
||||
"accuracy": null,
|
||||
"loss": 8.113807345618998e-06,
|
||||
"loss": 6.479948628599987e-06,
|
||||
"val_accuracy": null,
|
||||
"val_loss": null,
|
||||
"reward": null,
|
||||
@ -291,15 +291,15 @@
|
||||
"wandb_artifact_name": null
|
||||
},
|
||||
{
|
||||
"checkpoint_id": "decision_20250702_012504",
|
||||
"checkpoint_id": "decision_20250702_013256",
|
||||
"model_name": "decision",
|
||||
"model_type": "decision_fusion",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_012504.pt",
|
||||
"created_at": "2025-07-02T01:25:04.285477",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_013256.pt",
|
||||
"created_at": "2025-07-02T01:32:56.667169",
|
||||
"file_size_mb": 0.06720924377441406,
|
||||
"performance_score": 9.999991852067678,
|
||||
"performance_score": 9.999993471487318,
|
||||
"accuracy": null,
|
||||
"loss": 8.147932321987486e-06,
|
||||
"loss": 6.528512681061979e-06,
|
||||
"val_accuracy": null,
|
||||
"val_loss": null,
|
||||
"reward": null,
|
||||
@ -311,15 +311,15 @@
|
||||
"wandb_artifact_name": null
|
||||
},
|
||||
{
|
||||
"checkpoint_id": "decision_20250702_012502",
|
||||
"checkpoint_id": "decision_20250702_013255",
|
||||
"model_name": "decision",
|
||||
"model_type": "decision_fusion",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_012502.pt",
|
||||
"created_at": "2025-07-02T01:25:02.958656",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_013255.pt",
|
||||
"created_at": "2025-07-02T01:32:55.915359",
|
||||
"file_size_mb": 0.06720924377441406,
|
||||
"performance_score": 9.999991847589234,
|
||||
"performance_score": 9.999993469737547,
|
||||
"accuracy": null,
|
||||
"loss": 8.152410765381393e-06,
|
||||
"loss": 6.5302624539599814e-06,
|
||||
"val_accuracy": null,
|
||||
"val_loss": null,
|
||||
"reward": null,
|
||||
@ -331,15 +331,15 @@
|
||||
"wandb_artifact_name": null
|
||||
},
|
||||
{
|
||||
"checkpoint_id": "decision_20250702_012503",
|
||||
"checkpoint_id": "decision_20250702_013255",
|
||||
"model_name": "decision",
|
||||
"model_type": "decision_fusion",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_012503.pt",
|
||||
"created_at": "2025-07-02T01:25:03.108239",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_013255.pt",
|
||||
"created_at": "2025-07-02T01:32:55.774316",
|
||||
"file_size_mb": 0.06720924377441406,
|
||||
"performance_score": 9.99999184242316,
|
||||
"performance_score": 9.99999346914947,
|
||||
"accuracy": null,
|
||||
"loss": 8.157576839933662e-06,
|
||||
"loss": 6.530850530594989e-06,
|
||||
"val_accuracy": null,
|
||||
"val_loss": null,
|
||||
"reward": null,
|
||||
@ -351,15 +351,15 @@
|
||||
"wandb_artifact_name": null
|
||||
},
|
||||
{
|
||||
"checkpoint_id": "decision_20250702_012502",
|
||||
"checkpoint_id": "decision_20250702_013255",
|
||||
"model_name": "decision",
|
||||
"model_type": "decision_fusion",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_012502.pt",
|
||||
"created_at": "2025-07-02T01:25:02.603966",
|
||||
"file_path": "NN\\models\\saved\\decision\\decision_20250702_013255.pt",
|
||||
"created_at": "2025-07-02T01:32:55.646001",
|
||||
"file_size_mb": 0.06720924377441406,
|
||||
"performance_score": 9.999991812171043,
|
||||
"performance_score": 9.99999346889822,
|
||||
"accuracy": null,
|
||||
"loss": 8.187828957696905e-06,
|
||||
"loss": 6.531101780155828e-06,
|
||||
"val_accuracy": null,
|
||||
"val_loss": null,
|
||||
"reward": null,
|
||||
|
Reference in New Issue
Block a user