transformers
Return scalar losses instead of per-sample means
#18013
Merged

Return scalar losses instead of per-sample means #18013

Rocketknight1 merged 6 commits into main from xla_loss_fixes
Rocketknight1
Rocketknight1 Return scalar losses instead of per-sample means
2521c686
Rocketknight1 Rocketknight1 requested a review from ydshieh ydshieh 4 years ago
Rocketknight1 Rocketknight1 requested a review from gante gante 4 years ago
HuggingFaceDocBuilderDev
ydshieh
ydshieh approved these changes on 2022-07-04
Rocketknight1 Make loss shape (1,) instead of scalar
b339284c
Rocketknight1
Rocketknight1 Allow scalar losses in test_loss_computation
d6f834ec
Rocketknight1 Allow scalar losses in test_loss_computation
4918a761
Rocketknight1 Allow scalar losses in test_loss_computation
633664a0
Rocketknight1 Remove XLA loss function for RAG
f3515aa9
Rocketknight1
gante
gante approved these changes on 2022-07-04
Rocketknight1
ydshieh
Rocketknight1 Rocketknight1 merged 96d833b2 into main 4 years ago
Rocketknight1 Rocketknight1 deleted the xla_loss_fixes branch 4 years ago
ydshieh
ydshieh commented on 2022-07-05

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone