在Keras中训练Transformers模型时,有一些库特定的callbacks函数可用于自动执行常见任务:
[[autodoc]] KerasMetricCallback
[[autodoc]] PushToHubCallback