transformers/templates
Matt 2708bfa127
Rename compute_loss in TF models (#15207)
* Rename compute_loss to hf_compute_loss to avoid conflicts with the new Keras method

* make style

* Adding deprecation warning to `compute_loss`

* Fix sneaky reference to compute_loss

* Replace logger.warning with warnings.warn

* Clarifying warning and deprecation timeline
2022-01-19 13:29:07 +00:00
..
adding_a_new_example_script Happy New Year! (#15094) 2022-01-10 12:05:57 -05:00
adding_a_new_model Rename compute_loss in TF models (#15207) 2022-01-19 13:29:07 +00:00