arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.05583cs.CL
收藏

如何微调BERT用于文本分类?

How to Fine-Tune BERT for Text Classification?

Fudan University(复旦大学)

Chi Sun, Xipeng Qiu, Yige Xu, Xuanjing Huang

摘要:

语言模型预训练已被证明是有用的学习通用语言表示。BERT(Bidirectional Encoder Representations from Transformers)作为一种最先进的语言模型预训练模型,在许多语言理解任务中取得了令人惊叹的成绩。本文针对文本分类任务,对BERT的不同微调方法进行了详尽的实验研究,并给出了BERT微调的一般解决方案。最后,提出的解决方案在八个广泛研究的文本分类数据集上获得了新的最先进的结果。

英文摘要:

Language model pre-training has proven to be useful in learning universal language representations. As a state-of-the-art language model pre-training model, BERT (Bidirectional Encoder Representations from Transformers) has achieved amazing results in many language understanding tasks. In this paper, we conduct exhaustive experiments to investigate different fine-tuning methods of BERT on text classification task and provide a general solution for BERT fine-tuning. Finally, the proposed solution obtains new state-of-the-art results on eight widely-studied text classification datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑