How to Fine-Tune BERT for Text Classification?

被引:647
|
作者
Sun, Chi [1 ]
Qiu, Xipeng [1 ]
Xu, Yige [1 ]
Huang, Xuanjing [1 ]
机构
[1] Fudan Univ, Sch Comp Sci, Shanghai Key Lab Intelligent Informat Proc, 825 Zhangheng Rd, Shanghai, Peoples R China
来源
关键词
Transfer learning; BERT; Text classification;
D O I
10.1007/978-3-030-32381-3_16
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:194 / 206
页数:13
相关论文
共 50 条
  • [31] Feeders, Blenders Fine-Tune Mixing
    Mod Plast Int, 2 (59):
  • [32] SKATES FINE-TUNE CARTILAGE FOR PUNTING
    Knight, Kathryn
    JOURNAL OF EXPERIMENTAL BIOLOGY, 2012, 215 (12): : I - I
  • [33] Fine-tune your communication skills
    Moser, SA
    VETERINARY ECONOMICS, 2002, 43 (01): : 16 - 16
  • [34] SCIENTISTS FINE-TUNE HYBRID PEROVSKITES
    Martin, Genevieve
    ADVANCED MATERIALS & PROCESSES, 2020, 178 (06): : 6 - 6
  • [36] Sounds of science: how music at work can fine-tune your research
    Nikki Forrester
    Nature, 2023, 616 : 399 - 401
  • [37] How Diet and Lifestyle Can Fine-Tune Gut Microbiomes for Healthy Aging
    Tamayo, M.
    Olivares, M.
    Ruas-Madiedo, P.
    Margolles, A.
    Espin, J. C.
    Medina, I.
    Moreno-Arribas, M. V.
    Canals, S.
    Mirasso, C. R.
    Ortin, S.
    Beltran-Sanchez, H.
    Palloni, A.
    Tomas-Barberan, F. A.
    Sanz, Y.
    ANNUAL REVIEW OF FOOD SCIENCE AND TECHNOLOGY, 2024, 15 : 283 - 305
  • [38] A Code Within a Code: How Codons Fine-Tune Protein Folding in the Cell
    Komar, Anton A.
    BIOCHEMISTRY-MOSCOW, 2021, 86 (08) : 976 - 991
  • [39] A Code Within a Code: How Codons Fine-Tune Protein Folding in the Cell
    Anton A. Komar
    Biochemistry (Moscow), 2021, 86 : 976 - 991
  • [40] Sounds of science: how music at work can fine-tune your research
    Forrester, Nikki
    NATURE, 2023, 616 (7956) : 399 - 401