The Effects of In-domain Corpus Size on pre-training BERT

Chris Sanchez, Zheyuan Zhang
12/15/2022
cs.CL

Official code: JasonZhangzy1757/the-effect-of-domain-corpus-size-for-pretraining (1 star, Jupyter Notebook, last commit 2022-04-14).

Abstract

Many prior language modeling efforts have shown that pre-training on an in-domain corpus can significantly improve performance on downstream domain-specific NLP tasks. However, the difficulties associated with collecting enough in-domain data might discourage researchers from approaching this pre-training task.

Show full abstract

In this paper, we conducted a series of experiments by pre-training Bidirectional Encoder Representations from Transformers (BERT) with different sizes of biomedical corpora. The results demonstrate that pre-training on a relatively small amount of in-domain data (4GB) with limited training steps, can lead to better performance on downstream domain-specific NLP tasks compared with fine-tuning models pre-trained on general corpora.

View on arXivView PDF

Code Implementations(1)

11Jupyter Notebook, PythonMar 6, 20224 years ago

Similar Papers

Cite this paper

@article{sanchez2022effects,
  title  = {The Effects of In-domain Corpus Size on pre-training BERT},
  author = {Chris Sanchez and Zheyuan Zhang},
  year   = {2022},
  eprint = {2212.07914},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.07914}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.07914.svg)](https://codeofpaper.com/paper/2212.07914)

Discussion