Files
HuggingFace_transformer/tests
Lysandre Debut 73f0a5d1f6 Fixes Loss for TransfoXL when using Trainer API v2 (#16140)
* fix(transfo_xl): Fixes TransfoXL support when using Trainer.

* fix(tests): Uses losses_1 and losses_2 pattern with TransfoXL test.

* fix(transfo_xl): Adds requested changes to allow for backward compatibility.

fix(transfo_xl): Adds requested changes to allow for backward compatibility.

fix(transfo_xl): Fixes code styling.

* Backward compatibility

* Update src/transformers/models/transfo_xl/modeling_transfo_xl.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

Co-authored-by: Gustavo de Rosa <gth.rosa@uol.com.br>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2022-03-17 05:49:24 -04:00
..
2022-03-09 19:53:01 +01:00
2022-03-01 11:09:20 +01:00
2022-03-03 11:03:24 -05:00
2022-01-24 15:25:10 -05:00
2022-03-16 15:44:33 +00:00
2022-03-08 10:49:30 +01:00
2022-03-10 19:41:56 +01:00
2022-03-09 15:51:56 +01:00
2022-03-14 19:57:55 +01:00
2022-03-16 15:44:33 +00:00