How Much Knowledge Can You Pack Into the Parameters of a Language Model?

Adam Roberts, Colin Raffel, Noam Shazeer
2/10/2020
cs.CLcs.LGstat.ML

Official code: google-research/google-research (39,000 stars, Apache-2.0, last commit 2026-04-30).

Abstract

It has recently been observed that neural language models trained on unstructured text can implicitly store and retrieve knowledge using natural language queries. In this short paper, we measure the practical utility of this approach by fine-tuning pre-trained models to answer questions without access to any external context or knowledge. We show that this approach scales with model size and performs competitively with open-domain systems that explicitly retrieve answers from an external knowledge source when answering questions. To facilitate reproducibility and future work, we release our code and trained models at https://goo.gle/t5-cbqa.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google Research

39,0008,488C, ROct 4, 20185 months agoApache-2.0
aimachine-learningresearch

Similar Papers

Cite this paper

@article{roberts2020much,
  title  = {How Much Knowledge Can You Pack Into the Parameters of a Language Model?},
  author = {Adam Roberts and Colin Raffel and Noam Shazeer},
  year   = {2020},
  eprint = {2002.08910},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.08910}
}

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/2002.08910.svg)](https://codeofpaper.com/paper/2002.08910)

Discussion