Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
本节介绍了微调使用transformers自带的trainer 之前的全部代码 创造trainer
初始化trainer,开始训练
每500 iteration输出一次结果
参考: https://huggingface.co/course/chapter3/3?fw=pt