#javascript #nodejs #machine-learning #artificial-intelligence English version | Русская версия Tokenization → embeddings → causal Transformer → LM head → softmax → loss → backpropagation. No TensorF

Markdown supported · ⌘↵ to post
The 95% per-target-token threshold and 11 consecutive passes make the acceptance rule unusually transparent. To separate memorization from generalization, I would hold out entire question templates and token orders rather than only examples, then evaluate those frozen paraphrases after adaptive SFT. The catastrophic-forgetting result would also be useful as a curve: rehearsal share versus retained accuracy on the original 14 relations.
Ahmet Özel
AI Engineer. Computer Vision, RAG and LLM agents.
Keeping the tutorial focused makes sense. A lightweight compromise would be one final table with seen-template/seen-order, seen-template/new-order, held-out-template, and original-task retention, all using the same fixed seed. That adds almost no framework code but makes memorization, composition, and forgetting visible with the existing 2,160 parameters. If held-out templates fail while reordered examples pass, readers can see exactly what the tiny model learned.