Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

RoBERTa: A Robustly Optimized BERT Pretraining Approach

About

Language model pretraining has led to significant performance gains but careful comparison between different approaches is challenging. Training is computationally expensive, often done on private datasets of different sizes, and, as we will show, hyperparameter choices have significant impact on the final results. We present a replication study of BERT pretraining (Devlin et al., 2019) that carefully measures the impact of many key hyperparameters and training data size. We find that BERT was significantly undertrained, and can match or exceed the performance of every model published after it. Our best model achieves state-of-the-art results on GLUE, RACE and SQuAD. These results highlight the importance of previously overlooked design choices, and raise questions about the source of recently reported improvements. We release our models and code.

Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, Veselin Stoyanov• 2019

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
Accuracy83.4
1460
Commonsense ReasoningWinoGrande
Accuracy79.3
776
Natural Language InferenceSNLI (test)
Accuracy91.7
681
Commonsense ReasoningPIQA
Accuracy79.4
647
Language ModelingWikiText-103 (test)
Perplexity21.6
524
Natural Language UnderstandingGLUE (dev)
SST-2 (Acc)96.44
504
Natural Language UnderstandingGLUE
SST-296.4
452
Natural Language UnderstandingGLUE (test)
SST-2 Accuracy97.5
416
Semantic Textual SimilaritySTS tasks (STS12, STS13, STS14, STS15, STS16, STS-B, SICK-R) various (test)
STS12 Score40.88
393
Question AnsweringSQuAD v1.1 (dev)
F1 Score94.6
375
Showing 10 of 880 rows
...

Other info

Code

Follow for update