arXiv AI
5d ago

Fine-Tuning Gemma 4 Edge Models for MATLAB Signal-Processing Code with SFT and QLoRA on a Laptop iGPU

The paper reports on fine‑tuning Gemma 4 edge models (E2B and E4B) for MATLAB signal‑processing code using supervised fine‑tuning (SFT) with 66 curated examples across 11 subtasks. Low‑rank adaptation (LoRA) and quantized LoRA (QLoRA) were applied on a laptop’s integrated GPU, producing 8‑bit models deployed via OpenVINO. The fine‑tuned models improved pass rates from 18/66 to 37/66 (LoRA/QLoRA) for E2B and from 32/66 to 47/66 (QLoRA) for E4B, largely correcting convention errors while adding a 17‑19% runtime overhead.

By Mehmet Altan Toks\"oz