Deprecate TransfoXL (#27607)

* fix

* fix

* trigger

* Apply suggestions from code review

Co-authored-by: Lysandre Debut <hi@lysand.re>

* tic

* revert

* revert

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: Lysandre Debut <hi@lysand.re>
This commit is contained in:
Yih-Dar
2023-11-24 11:48:02 +01:00
committed by GitHub
parent 623432dcc9
commit 7293fdc5b9
29 changed files with 194 additions and 1210 deletions

View File

@@ -1927,7 +1927,6 @@ class ModelTesterMixin:
"FunnelForPreTraining",
"ElectraForPreTraining",
"XLMWithLMHeadModel",
"TransfoXLLMHeadModel",
]:
for k in key_differences:
if k in ["loss", "losses"]: