n_sec_head / type_head MLPs are hand-rolled five times #36
Notifications
Due Date
No due date set.
Blocks
Reference: lars/giant#36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nn.Sequential(Linear(cond_out_dim, hidden_dim // 2), SiLU(), Linear(...))appears five times across
models.py(lines 96, 198, 207, 374, 382) — then_sec_headandtype_headof three stage classes. The// 2is anundocumented magic ratio and the depth is fixed at two layers.
Proposal:
build_mlp_head(in_dim, out_dim, hidden, depth, act)inlayers.py, plus an optional[stageN_model.heads]block(
hidden_ratio,depth). Worth doing becausen_secaccuracy and speciesaccuracy are both known weak spots, and both classifiers are currently
untunable independently of the trunk they hang off.
Migrated from
issues.md(v0.3.0 branch review, 2026-08-13), Issue 11.