BRENT: Bidirectional Retrieval Enhanced Norwegian Transformer

Lucas Georges Gabriel Charpentier, Sondre Wold, David Samuel, Egil Rønningstad
4/19/2023
cs.CL

No official code found. Best implementation: ltgoslo/brent (4 stars, GPL-3.0, last commit 2023-08-03).

Abstract

Retrieval-based language models are increasingly employed in question-answering tasks. These models search in a corpus of documents for relevant information instead of having all factual knowledge stored in its parameters, thereby enhancing efficiency, transparency, and adaptability. We develop the first Norwegian retrieval-based model by adapting the REALM framework and evaluating it on various tasks. After training, we also separate the language model, which we call the reader, from the retriever components, and show that this can be fine-tuned on a range of downstream tasks. Results show that retrieval augmented language modeling improves the reader's performance on extractive question-answering, suggesting that this type of training improves language models' general ability to use context and that this does not happen at the expense of other abilities such as part-of-speech tagging, dependency parsing, named entity recognition, and lemmatization. Code, trained models, and data are made publicly available.

View on arXivView PDF

Code Implementations(1)

ltgoslo/brentCommunity100%
GPL-3.0

This is the repository for a NoDaLiDa 2023 paper on developing a Norwegian retrieval-augmented language model

40PythonApr 17, 20233 years agoGPL-3.0

Similar Papers

Cite this paper

@article{charpentier2023brent,
  title  = {BRENT: Bidirectional Retrieval Enhanced Norwegian Transformer},
  author = {Lucas Georges Gabriel Charpentier and Sondre Wold and David Samuel and Egil Rønningstad},
  year   = {2023},
  eprint = {2304.09649},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.09649v1}
}

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

Discussion