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
[Trainer] use output.loss when using liger-kernel (#42444)
* use output.loss when using liger
Handle loss computation for models using Liger-kernel.
fixes#42414
* Clarify Liger-kernel loss computation in comments
* Both standard transformers and Liger models handle shift_labels correctly via **kwargs
* removed unused shift_labels reference in loss computation
* Remove unused model unwrapping
0 commit comments