Discussion about this post

User's avatar
Nan Deng's avatar

The baseline failure is more interesting than the memory tricks. The model reads the integral and the fraction, then still fails an exact-match check because it wraps the LaTeX, answers twice, and spaces tokens differently from the dataset. That means a lot of the fine-tune is teaching an output contract, not vision. You set finetune_vision_layers to true, so the encoder gets gradients too. Did the exact-match gain mostly come from the decoder learning the format, or did the vision layers actually move on misreads like zeta versus chi?

Abhishek Pan's avatar

The base model getting the integral right and then wrapping it in display math is the real lesson here. Half of what the LoRA buys is the output contract, so I'd score format errors and symbol errors separately to see which one training actually fixed.

No posts

Ready for more?