AdaLoRA Recovery Harness
Use this skill to recover a fast AdaLoRA result when full DeBERTa or BART fine-tuning is blocked by runtime limits. The harness must be explicit that it is a reduced/proxy experiment.
Inputs
- Attempt directory containing
module_plan.jsonandenvironment/runtime_handoff.json. - Generated skill root with the SVD layer, rank allocator, and scheduler skills.
- Optional deterministic experiment configuration.
Outputs
recovery/logs/generated_data_item.json.recovery/logs/training_trace.jsonwithloss_before,loss_after,params_before, andparams_after.recovery/recovery_result.jsonwith paper target copied frommodule_plan.json.- Source manifest and generated-skill invocation log.
Workflow
- Read only allowed attempt artifacts and generated skill files; never read the original repository.
- Build a deterministic tiny linear adaptation problem.
- Invoke the generated SVD layer, budget scheduler, and rank allocator scripts or importable helpers.
- Perform an actual parameter update on trainable reduced parameters.
- Apply rank masking and compute mechanism booleans: SVD update used, optimizer changed parameters, budget respected, high-importance triplet retained, and loss decreased.
- Mark full-model booleans false when no real DeBERTa/BART training occurred.
- Run the recovery experiment validator.
Validation
Run the harness script from an attempt directory, then run validate_recovery_experiment.py.
Limitations
This is not a replacement for full paper reproduction. It is acceptable only in soft mode after full runtime blockers are recorded in runtime_handoff.json.