You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Widen RunBatch/ReconstructionLoss for structured outputs
Lets experiments package per-batch context (padding masks, labels, MSA
aux features) into output dataclasses instead of smuggling them through
tensor shapes. Surfaced while stress-testing the abstractions against
ESM2, Carbon, and GPN-MSA bio models.
- RunBatch: (model, batch) -> Tensor → -> Any
- ReconstructionLoss args: (pred, target) → (output, target_output); types Any
- OutputWithCache.output, MetricContext.target_out: Tensor → Any
- (sum, n) return shape kept — earns its keep for variable-mask eval
- Notes the tied-embedding gap in make_components (deferred)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments