Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
titae commited on
Commit
7e90bd8
·
verified ·
1 Parent(s): d0c8b1d

Update README.md

Browse files

Add description and examples of usage

Files changed (1) hide show
  1. README.md +27 -1
README.md CHANGED
@@ -42,5 +42,31 @@ language:
42
  - nb
43
  ---
44
 
45
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
 
42
  - nb
43
  ---
44
 
45
+ # NorIdiom
46
+
47
+ 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)
48
+ The idioms in this dataset are manually curated, and some idioms may be less frequent/representative of Norwegian language than others.
49
+ For a frequency curated Norwegian idiom dataset, see [Sprakbanken/Norwegian_idioms](https://huggingface.co/datasets/Sprakbanken/Norwegian_idioms).
50
+
51
+ This dataset contains 803 Norwegian idioms, 401 of which are Norwegian nynorsk and 402 that are Norwegian bokmål.
52
+
53
+ ## Usage
54
+ This dataset can be used to evaluate a language model's abilty to complete Norwegian idioms.
55
+ 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.
56
+
57
+ Load the Norwegian bokmål idioms like this:
58
+ ```python
59
+ from datasets import load_dataset
60
+
61
+ ds = load_dataset("mimir-project/noridiom", split="test", name="nb")
62
+ ```
63
+ and the Norwegian nynorsk idioms like this:
64
+ ```python
65
+ from datasets import load_dataset
66
+
67
+ ds = load_dataset("mimir-project/noridiom", split="test", name="nn")
68
+ ```
69
+
70
+
71
+
72