Lab: Presets, wirings and an expert switch, tested
Module 7 · Lab · About 60 minutes · Needs: lessons 1 to 4 of this module, and Module 6's lab
What you are building
Sol 419 at Aurora Station. The four lessons left their work in notebook cells: Lesson 1's encoder and encoder-decoder, Lesson 2's published configurations, Lesson 3's ablation path, Lesson 4's experts. Kofi Mensah's question is the one from Module 6: does the package say what the lessons said? Hana Aoki wants the total and active weight counts of any expert model the lab can build, before anyone sizes a server for it.
Today you save all of it into tinyformer-lab: tinyformer/moe.py, tinyformer/presets.py, four new config fields and one changed line in the block. You pin them with tests that check presets against published file headers, then rerun Lesson 4's dense-against-experts comparison from the package with two seeds, and tag v0.7.0.