Section3 Tf

zh-CNhf-notebookschapter3course

使用 Trainer API 或者 Keras 微调一个模型

Install the Transformers, Datasets, and Evaluate libraries to run this notebook.

[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
(408, 2) (408,)
[ ]
{'accuracy': 0.8578431372549019, 'f1': 0.8996539792387542}