Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Målfrid parallel

This dataset contains parallel data for the following languages: Norwegian Bokmål, Norwegian Nynorsk, English.

Loading datasets

The dataset is organized by the three language pairs "nob_nno" (Norwegian Bokmål, Norwegian Nynorsk), "nob_eng" (Norwegian Bokmål, English) and "nno_eng" (Norwegian Nynorsk, English).
Each division has a train, val, test split, and there is no overlap of source domains between the splits.

Load the dataset you want with the name arg like this:

from datasets import load_dataset

ds = load_dataset("NbAiLab/maalfrid_parallel", name="nno_eng")

Source data

The source data is from the Målfrid project, which involves scraping .no governmental web sites to report language use.
We combined the following datasets:

Alignment method

The document pairs were aligned per website with NbAiLab/nb-sbert-v2-base and the sentence-transformers library.
For English-Norwegian parallel data, the minimun cosine similarity threshold is 0.80, and for Norwegian parallel data it is 0.95. See source code

Licence

Norwegian Licence for Open Government Data (NLOD) https://data.norge.no/nlod/en/2.0

Downloads last month
93