"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "e0be053e433d641e3a2965da114b618b4bfdbf1a"
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