| """ |
| TD Lang Engine β the merge/heal/validate runtime (formerly td_fuse). |
| |
| All model merging, transport, healing, and validation logic lives here. |
| td_lang compiles .td files into Python that imports from this engine. |
| |
| Architecture: |
| td_lang/engine/ |
| βββ __init__.py β This file |
| βββ config.py β Model configs, merge order, hyperparameters |
| βββ canary.py β Canary injection + testing ("brain surgery") |
| βββ transport.py β Wrapper around official T&M code |
| βββ techniques.py β Advanced techniques (Theseus, ARM, OTMF, RAM, Mergeability) |
| βββ merge.py β Sequential merge orchestrator |
| βββ validate.py β Post-merge validation (canary, perplexity, benchmarks) |
| βββ heal.py β QLoRA healing fine-tune via Unsloth |
| βββ run.py β Standalone entry point (optional) |
| |
| Usage (via td_lang): |
| python -m td_lang run td_start.td |
| python -m td_lang run demo_merge.td |
| """ |
|
|
| __version__ = "0.2.0" |
| __author__ = "Milan (TD Project)" |
|
|