Commit Graph

11 Commits

Author SHA1 Message Date
85352dae0f Revert "Implement shared event-trajectory reasoning backbone"
This reverts commit 06f29c0f0a.
2026-07-23 16:05:00 +08:00
06f29c0f0a Implement shared event-trajectory reasoning backbone 2026-07-23 14:23:34 +08:00
68a6a3df88 Scale TrajMixer hidden width with head count 2026-07-22 16:14:52 +08:00
978c88a4ed Log and save model parameter counts 2026-07-22 14:44:31 +08:00
db0947ce9d Implement TrajMixer block 2026-07-22 11:52:44 +08:00
ca294193f4 Clarify empty extra-info logging 2026-06-29 11:26:48 +08:00
e5ecb714ba Refactor loss computation and model input handling for improved clarity and efficiency 2026-06-20 11:26:03 +08:00
aa8ec5c3ac Refactor code structure for improved readability and maintainability 2026-06-18 13:07:35 +08:00
1757bcd25b Refactor DeepHealth model and related components
- Removed BaselineEncoder and CrossAttention classes from models.py.
- Introduced OtherInfoTokenizer for handling additional token types.
- Updated DeepHealth class to integrate OtherInfoTokenizer and manage extra pooling logic.
- Added support for extra_pool_reduce parameter to control pooling behavior.
- Modified forward methods to return structured output using DeepHealthOutput dataclass.
- Updated training scripts to accommodate changes in model architecture and output handling.
- Enhanced error handling and validation for input shapes and types.
2026-06-17 11:05:10 +08:00
27aefb2f90 Refactor run directory creation to use a unique naming function in training scripts 2026-06-15 14:54:06 +08:00
46a3dfe628 Add training scripts for all-future and next-step supervision with DeepHealth
- Implement `train_all_future.py` for training with query-conditioned all-future supervision.
- Implement `train_next_step.py` for training with next-token/next-time-point supervision.
- Introduce `train_util.py` for shared utility functions including logging, dataset splitting, and model checkpointing.
- Enhance argument parsing for both training scripts to accommodate new parameters.
- Update loss functions and model configurations to support the new training paradigms.
2026-06-13 11:42:04 +08:00