"vscode:/vscode.git/clone" did not exist on "f4f57f9dfa68948a383c352a900d588f63f6290a"
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
Showing
Please register or sign in to comment