gemma-3-4b-it-DUET-film-ft
Full-parameter fine-tune of google/gemma-3-4b-it on the DUET film set. This is the fine-tuned base used for the film unlearning study (Part C).
Data
- HF dataset
SwetieePawsss/DUET_LLM, configfilm(commit2c2b047bb569b205ea57f924b36e818d4e3f3903):forget_rare_filmandforget_popular_filmrows withsplit_role = train(411 + 411), andretain_film(546). - Plus 5,000 rows of DUET
full_(snapshotee23f9b, the EI fine-tune data), excluding any row whose subject or answer is a film or director of the film data. - Total 6,368 rows. The held-out film pairs (135 + 135) are not trained on.
Training recipe (FT_PLAN.md and its amendment 1)
- open-unlearning
src/train.py,trainer=finetune, full parameters, bf16,paged_adamw_32bit, lr 1e-5 with linear decay to 0, no warmup, weight decay 0, batch 4 x gradient accumulation 4, max length 512, seed 0, 3 epochs. - Then fresh 1-epoch continuations from the previous epoch's weights (new optimizer, lr 1e-5 decaying to 0 within the epoch, seed = epoch number). These stop at the first epoch with K1 >= 90% on both rare and popular train facts that also passes two safety checks: held-out FineWeb-Edu loss within +10% of the instruct model, and held-out film K1 within +10 pp of the instruct model.
- Selected epoch: 12.
Results at the selected epoch (K1 = the full director name appears in the greedy answer)
| set | K1 |
|---|---|
| forget_rare_film/train | 0.9489 |
| forget_rare_film/heldout | 0.0000 |
| forget_popular_film/train | 0.9781 |
| forget_popular_film/heldout | 0.0370 |
| retain_film/retain | 0.9176 |
Held-out FineWeb-Edu loss 3.0484 (instruct model 2.9204).
Prompt format (training and evaluation)
- Template: Gemma 3 chat template of the tokenizer; Gemma has no system role, so the prompt below is folded into the user turn.
- System prompt:
You are terse and fact-only QA assistant. Reply to the question clearly with few-words correct answer. - Questions are asked zero-shot, e.g.
Who directed the 1931 film City Lights?; the answer is the director's English label.