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).
本节介绍手动实现trainer类的效果
对数据集进行预处理 model接收的标记为labels
使用pytorch的dataloader加载数据集,生成batch
生成model,确定学习率
开始训练
参考: https://huggingface.co/course/chapter3/4?fw=pt