Datasets:
File size: 1,886 Bytes
854059d bbbf3d8 854059d bbbf3d8 854059d d0c8b1d 854059d d0c8b1d 7e90bd8 d0c8b1d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
---
dataset_info:
- config_name: nb
features:
- name: idiom
dtype: string
- name: completion
dtype: string
splits:
- name: test
num_bytes: 13208
num_examples: 402
download_size: 10855
dataset_size: 13208
- config_name: nn
features:
- name: idiom
dtype: string
- name: completion
dtype: string
splits:
- name: test
num_bytes: 17634
num_examples: 401
download_size: 13104
dataset_size: 17634
configs:
- config_name: nb
data_files:
- split: test
path: nb/test-*
- config_name: nn
data_files:
- split: test
path: nn/test-*
license: cc-by-4.0
task_categories:
- text-generation
language:
- 'no'
- nn
- nb
---
# NorIdiom
This dataset was created for the Mímir project, as described in "The Impact of Copyrighted Material on Large Language Models: A Norwegian Perspective" [link to preprint](https://arxiv.org/abs/2412.09460)
The idioms in this dataset are manually curated, and some idioms may be less frequent/representative of Norwegian language than others.
For a frequency curated Norwegian idiom dataset, see [Sprakbanken/Norwegian_idioms](https://huggingface.co/datasets/Sprakbanken/Norwegian_idioms).
This dataset contains 803 Norwegian idioms, 401 of which are Norwegian nynorsk and 402 that are Norwegian bokmål.
## Usage
This dataset can be used to evaluate a language model's abilty to complete Norwegian idioms.
The `idiom` feature contains the n-1 first words of an idiom, and the `completion` feature is the last word that completes the idiom in each row.
Load the Norwegian bokmål idioms like this:
```python
from datasets import load_dataset
ds = load_dataset("mimir-project/noridiom", split="test", name="nb")
```
and the Norwegian nynorsk idioms like this:
```python
from datasets import load_dataset
ds = load_dataset("mimir-project/noridiom", split="test", name="nn")
```
|