Passer au contenu principal
Recherchefine tuning

Before you fine-tune, beat the prompt

George PuPublié le 4 min de lectureEn anglais

We spent about an hour of GPU time fine-tuning Gemma on grade-school math. Then a seven-minute job gave us a better baseline. We asked the model we started with to format its final answer the same way we asked the tuned versions to.

With the same instruction, Gemma scored higher without any of our three adapters. For this benchmark, I’d keep the starting model and the instruction.

Le modèle de départ a obtenu de 3,1 à 5,2 points de plus

Les trois adaptateurs et le modèle de départ ont reçu la même consigne sur la réponse finale pour un même ensemble de questions du test GSM8K. Le nombre exact de questions est inconnu.

Les points indiquent l’écart en points de pourcentage (adaptateur moins modèle de départ). Les lignes indiquent les intervalles appariés à 95 %.

Voir les écarts exacts et les intervalles
Voir les écarts exacts et les intervalles
EssaiÉcart (points)Intervalle apparié à 95 %
Graine 0-3,7-6,1 à -1,3
Graine 1-3,1-5,6 à -0,7
Graine 2-5,2-7,6 à -2,9
Sur cette page

What the three runs showed

We started with the instruction-tuned Gemma 4 E4B. We trained three LoRA adapters on worked solutions from the GSM8K training split. An adapter learns a small set of adjustments while the starting weights stay fixed. We varied the training seed, which controls randomness in the run.

On a fixed set of GSM8K test questions, we gave all four versions the same final-answer instruction and used the same checker. We matched their answers question by question. That lets us see where the adapter helped and where it hurt, even when the overall scores are close.

Which comparison answers your question?

Say you want a model to turn service emails into intake records. You tell the tuned version which fields to fill and to leave missing details blank. The model you started with gets only the email and a request to make a record.

If the tuned version returned better records, the extra instructions could explain the gain. Give both versions those instructions, then look at the cases where their answers differ. Did the adapter pick up a phone number the starting model missed? Did it simply put the same information in the expected field? What counts as an improvement depends on the job.

Essayez trois façons de comparer les consignes

1. Modèle de départ
Transforme ce courriel de service en fiche de demande. Indique le nom, le numéro de téléphone et la demande. Laisse les champs vides si l’information manque.
2. Modèle avec adaptateur
Transforme ce courriel de service en fiche de demande. Indique le nom, le numéro de téléphone et la demande. Laisse les champs vides si l’information manque.

Les deux modèles reçoivent les mêmes consignes. Si le reste du test demeure identique, un écart mesure l’effet de l’adaptateur avec ces consignes.

Where the result stops

Our seven-minute evaluation ran the starting model on one GPU with and without the final-answer instruction. The chart compares the starting model and the adapters with the instruction. We report the adapter comparison here. To see whether the instruction alone helped, we’d need the starting model’s scores for both prompts.

Each reported interval falls below zero. All three runs shared the same test questions and baseline answers. They show how one recipe fared across three seeds.

The checker expected a particular answer format. It could mark a correct answer as wrong if the format didn’t match. I’d read a sample of answers where the models disagreed before deciding whether to fix the scorer or change the training recipe. The measured result is specific to this math benchmark and scorer.

The results come from our November 18, 2026 readout. This note provides aggregate gaps and paired intervals. The exact test count, checkpoint revisions, prompt text, interval calculation and per-question outputs are unavailable here.

Before you train

  1. Give the starting model the best prompt you’d actually use.
  2. Write down what would justify training, such as better accuracy at the same cost or the same accuracy at lower latency.
  3. Compare both models on the same held-out questions with the same instructions, generation settings and scorer. Save those settings, the model revisions and the individual answers.
  4. Read a sample of disagreements. If the checker missed correct answers, fix the scoring and rerun both sides.
  5. Use your original target to decide whether to ship the adapter.

I’d still try fine-tuning if a good prompt gave inconsistent results or if a long prompt missed a latency target. In the second case, I’d compare the setup with the long prompt against the setup with the adapter and a shorter prompt. That tells me which setup to run. To measure what training adds on its own, I’d give both models the same prompt.

George Pu

George Pu est le fondateur et chef de la direction de SimpleDirect®, l’entreprise canadienne indépendante d’IA qui bâtit Vinci pour une vie au-delà de l’écran.

SimpleDirect® bâtit Vinci pour que les gens passent moins de temps à gérer la technologie et aient plus de liberté dans leur vie. Nous publions des produits, des modèles et de la recherche avec leur disponibilité et leurs limites.

Partager