Add option to normalize loss per target #326
Tmp lossseq
462efd99
Efficient loss normalization
992446c8
Reuse variable
616cfe86
Simplify division
900c8356
Add norm_target_loss arg
7bc1dd20
Muennighoff
changed the title TMP: Lossseq Add option to normalize loss per target 3 years ago
Clarify loss on targets & remove kwarg
fce1a98e
Loss mask is already float
2e7554d7
Move norm to batch pipe
a6b26240
Reshape loss mask
549f4993
Move view
d9a91feb
Merge branch 't0loading' into lossseq
456327c1
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub