计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
lora_training_step【效率与协作】Run a deterministic reduced LoRA training step that updates only low-rank factors and records loss evidence.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when full pretrained model training is blocked but soft-mode recovery permits a mechanism-faithful reduced experiment. It executes an actual optimizer update on LoRA factors over supervised examples. Do not call this a full GLUE, GPT-2, or pretrained-model reproduction.
loss_before and loss_after.params_before and params_after with changed LoRA factors and unchanged base weights.W0 x + (alpha/r) B A x.Run python scripts/reduced_training.py --output /tmp/trace.json or the included tests. The test requires loss reduction, changed LoRA factors, unchanged base weights, and merged inference equivalence.
This is a reduced standard-library proxy for the LoRA mechanism, not training of RoBERTa, DeBERTa, GPT-2, or GPT-3.