NoCoLA: The Norwegian Corpus of Linguistic Acceptability

Matias Jentoft, David Samuel
6/13/2023
19 citations
cs.CLcs.AI

Official code: ltgoslo/nocola (5 stars, Python, last commit 2026-02-04).

Abstract

While there has been a surge of large language models for Norwegian in recent years, we lack any tool to evaluate their understanding of grammaticality. We present two new Norwegian datasets for this task.

Show full abstract

NoCoLA_class is a supervised binary classification task where the goal is to discriminate between acceptable and non-acceptable sentences. On the other hand, NoCoLA_zero is a purely diagnostic task for evaluating the grammatical judgement of a language model in a completely zero-shot manner, i.e. without any further training. In this paper, we describe both datasets in detail, show how to use them for different flavors of language models, and conduct a comparative study of the existing Norwegian language models.

View on arXivView PDF

Code Implementations(1)

ltgoslo/nocolaOfficial100%

Official repository for NoCoLA dataset

51Python, ShellApr 13, 202310 months ago

Similar Papers

Cite this paper

@article{jentoft2023nocola,
  title  = {NoCoLA: The Norwegian Corpus of Linguistic Acceptability},
  author = {Matias Jentoft and David Samuel},
  year   = {2023},
  eprint = {2306.07790},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.07790v1}
}

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

Discussion