Four fixed Python exercises: full training and add-on module compared
After every 24 learning steps the same four practised answers were generated independently and checked without changes. With full training, 3/4 Answers exactly match the learning solution; with the LoRA additional module 3/4. The erroneous task is different in each case: The add-on module solves the fourth exercise but fails on the third; in the full training, it is the other way around. Two exercises succeed for both. This is a tight learning test on known examples. The separate 30 development tasks were not answered again in this trial: Their last complete state remains 0/30, compared to 22/30 with fixed rules.
“Four fixed exercises” means that four existing short Python tasks and their solutions remain unchanged. Each is practised six times. This checks whether the model can learn these examples at all and then generate them independently. The solutions to the separate development and final tasks are not used for this.
Both variants started from the same effective model state on Node8. The initial predictions were compared at all 60 expected answer positions, including the four end markers. The largest numerical deviation between the two representations was 0.00006101 and within the pre-defined tolerance. The variants ran sequentially on the same Intel graphics unit; therefore, the hardware does not differ.
- Full training: 24 steps. With correct previous answer part 37/56 correct content blocks before learning and 53/56 after. Error metric 1.431 → 0.378. Subsequently 3/4 independent answers exact.
- Add-on module only: 24 steps. With correct previous answer part 37/56 correct content blocks before learning and 55/56 after. Error metric 1.431 → 0.195. Subsequently 3/4 independent answers exact.
The error metric covers all 60 answer positions, including termination characters; lower is better. The content count covers 56 positions. In these before/after measurements, the respective model state remains fixed. Unlike free output, the correct previous answer part is provided. The free answers at the end receive only the task. No free answers were generated before learning; therefore, no new before/after ratio of freely solved tasks is claimed.
Full training changes all 8.524.032 model values in a separate copy. The additional module changes 315.392 additional values; its base remains fixed. Learning rates were 0,0001 and 0,002, and both variants started with learning statistics freshly reset to zero. These are two initial configurations with the same step budget. They were not each optimally tuned. No general advantage of either method or lower bound on model size can be inferred.
During full training, three known answers are now reproduced exactly. The fourth contains a Python syntax error: its first eight answer blocks are still correct, after which it deviates. This was examined on the unchanged saved answer, without new model calculation or program execution. This refutes the concern for these examples that our model could not learn anything at all. It proves neither general Python capability nor better answers to unknown tasks. The unchanged text sequence including the end of the answer was measured; in this control experiment, no additional behavioural tests of the programs were performed.
Both complete learning states including learning statistics are saved and independently verified. All eight initial answers count, including the incorrect ones. The processes are terminated, normal cooling is confirmed, and the original model files remained unchanged. An empty system message temporarily interrupted the local observer. In addition, the write protection of the already fully saved complete copy had to be supplemented. The original file was compared before and after based on its checksum. There was no renewed model attempt and no changed answers.
Next, the learning rate of the additional module will be reduced in a limited manner and continued to be practised on the same secured state. It will be checked whether then all four answers are correct simultaneously, without losing previously learned examples. The still incorrect answer of the complete training already fails at the Python syntax. Only then does the comparison on the 30 separate Python development tasks count again. More computers or less memory requirement do not replace this quality proof.
The main learning curve from the previous mixed round retains its 576 original measurement points. The control measurements with four repeated exercises are listed separately here because they use different data. All previous reports and 121 landscape points remain preserved. Furthermore 0/4 accepted specialists, rough development estimate 15 percent.