Fine-tuned by Harman Sandhu
SYSTEM B · QLoRA FINE-TUNE · CLOSED BOOK

Gemma 2 2B · Yu-Gi-Oh QA

Our QLoRA adapter over Gemma 2 2B, trained on 2,683 grounded Yu-Gi-Oh QA pairs — still closed-book. Fine-tuning teaches the answer shape: it answers like a rulings expert, but still cannot recall facts it was never given in its weights.

A · Base
Google weights
B · Fine-tune
QLoRA · closed
C · +Retrieval
RAG · winner
5.25
Judge /10
2.35
Correctness /5
0.87
Groundedness /2
2,683
QA pairs
3.87
Val perplexity
r=16
LoRA rank
interactiveconnecting…

Ask this system a question

Connecting to the inference endpoint…
The model's answer will appear here.
what this is

Significantly beats the base (+1.27, p = 0.007). The gain is concentrated in groundedness — 0.18 → 0.87 — the model learns the register of a Yu-Gi-Oh ruling. That is the answer shape.

But correctness barely moves (1.83 → 2.35): the specific card facts are not in the adapter's 20.8M trained parameters. That is what System C fixes.

Architecture
ClassGemma2ForCausalLM
Layers26
Hidden size2,304
Attention8 heads / 4 KV · dim 256 · GQA
Feed-forwardGeGLU · inner 9,216
Attention windowsliding 4,096 · logit soft-cap
NormRMSNorm
Context8,192 tokens
Vocabulary256,128
Embeddingstied input/output
Training
Init fromgemma-2-2b-it · 4-bit NF4
MethodQLoRA · rank-16 / α-32
Targetsall linear modules
Trainable params20.8M LoRA (~0.8%)
ScheduleLR 2e-4 cosine · seq 512 · bf16
Data2,683 QA pairs · early-stopped ~1 epoch
Val perplexity3.87 (ref 4.26)
HardwareModal L4
Corpus used for training

What the fine-tune was built from

The fine-tune's supervised set is 2,683 grounded QA pairs, distilled by a teacher LLM from a curated Yu-Gi-Oh corpus and filtered through a blind-judge gauntlet. That corpus is two free sources: Yugipedia editorial prose (CC BY-SA 4.0, attributed) and YGOPRODeck card facts. Card effect text is © Konami, used only as labelled fair-use context — never a verbatim-recall target.

Corpus split · 27.5 MB across sources

SourceRoleLicenseSizeShare
Yugipedia · tipsrulings & interactionsCC BY-SA 4.08.47 MB31%
Yugipedia · rulingsrulingsCC BY-SA 4.05.90 MB22%
YGOPRODeck · card factscard identity (stats + fair-use text)free / © Konami6.04 MB22%
Yugipedia · archetypemechanicsCC BY-SA 4.02.74 MB10%
Yugipedia · lore (ep + char)loreCC BY-SA 4.03.92 MB14%
Yugipedia · mechanicsglossaryCC BY-SA 4.00.40 MB1%

78% free-licensed Yugipedia prose (20.7 MB cleaned, clears the 20 MB floor) + 22% card facts. Of the prose, ~82% is on-target rulings/interactions and ~18% is lore. Card knowledge is a YGOPRODeck snapshot fetched 2026-08-01.