Update README.md
Browse files
README.md
CHANGED
|
@@ -21,3 +21,85 @@ configs:
|
|
| 21 |
- split: train
|
| 22 |
path: data/train-*
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- split: train
|
| 22 |
path: data/train-*
|
| 23 |
---
|
| 24 |
+
|
| 25 |
+
# Dataset Card for Norwegian Comma Benchmark (NCB)
|
| 26 |
+
|
| 27 |
+
Sentence-level evaluation of the comma placement abilities of large language models in Norwegian sentences.
|
| 28 |
+
|
| 29 |
+
## Dataset Description
|
| 30 |
+
The NCB corpus (version 0.1) is a collection of 840 human-written Norwegian sentence pairs. The sentences are manually collected from publicly available sources such as articles and governmental reports. The sentences aim to be representative of Norwegian non-fiction, in particular governmental prose. Each sentence pair tests one Norwegian comma rule: one sentence is correctly punctuated, while the other contains faulty comma usage. The dataset tests both rules where there should be a comma and rules where there should not be a comma.
|
| 31 |
+
|
| 32 |
+
- **Point of Contact:** [Hans Christian Farsethås](mailto:hans.farsethas@uib.no) and [Joakim Tjøstheim](mailto:joakimtjostheim@outlook.com)
|
| 33 |
+
- **Language:** Norwegian (bokmål)
|
| 34 |
+
- **License:** The data is distributed under a Creative Commons Attribution-NonCommercial licence (CC BY-NC 4.0). The licence is motivated by the need to block the possibility of third parties redistributing the original reviews for commercial purposes. Note that machine learned models, extracted lexicons, embeddings, and similar resources that are created on the basis of NoReC are not considered to contain the original data and so can be freely used also for commercial purposes despite the non-commercial condition.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
## Uses
|
| 38 |
+
The data is intended to be used for testing and finetuning models for Norwegian sentence-level comma usage.
|
| 39 |
+
|
| 40 |
+
## Dataset Structure
|
| 41 |
+
|
| 42 |
+
### Data Instances
|
| 43 |
+
Each data instance contains the following features: correct, wrong and category. An instance from the dataset looks like the following:
|
| 44 |
+
```
|
| 45 |
+
{"correct": "Eva klatrer, og Ola går på ski.", "wrong": "Eva klatrer og Ola går på ski.", "category": 1}
|
| 46 |
+
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
### Data Fields
|
| 50 |
+
|
| 51 |
+
- 'Correct': a string containing the a Norwegian sentence with correct use of comma
|
| 52 |
+
- 'Wrong': a string containig the same Norwegian sentence with wrong use of comma
|
| 53 |
+
- 'Category': an integer indicating the rule tested by the pair of correct and wrong sentences.
|
| 54 |
+
|
| 55 |
+
### Norwegian comma rules
|
| 56 |
+
|
| 57 |
+
The model tests the following Norwegian comma rules:
|
| 58 |
+
```
|
| 59 |
+
1. Det skal alltid være komma mellom helsetninger som er bundet sammen med sideordnende konjunksjoner
|
| 60 |
+
2. Det skal alltid være komma mellom leddsetninger som er bundet sammen med sideordnende konjunksjoner
|
| 61 |
+
3. Det skal alltid være komma etter en leddsetning som står først i en helsetning
|
| 62 |
+
4. Det skal alltid være komma etter en innskutt leddsetning
|
| 63 |
+
501. Det skal alltid være komma før og etter apposisjoner som ikke befinner seg i slutten av, men inni en helsetning
|
| 64 |
+
502. Det skal alltid være komma før og etter tillegg som ikke befinner seg i slutten av, men inni en helsetning
|
| 65 |
+
503. Det skal alltid være komma før og etter innskudd
|
| 66 |
+
601. Det skal alltid være komma før apposisjoner som står til slutt i en helsetning
|
| 67 |
+
602. Det skal alltid være komma før tillegg som står til slutt i en helsetning
|
| 68 |
+
7. Det skal ikke være komma når det til ett subjekt står to eller flere predikater forbundet med konjunksjon
|
| 69 |
+
8. Det skal ikke være komma etter preposisjonsstyrte infinitiver og andre ikke-setningsformede ledd
|
| 70 |
+
9. Det skal ikke være komma etter ufullstendige leddsetninger
|
| 71 |
+
10. Det skal ikke være komma mellom leddsetninger hvor en leddsetning står som siste ledd i en annen leddsetning
|
| 72 |
+
11. Det skal alltid være komma i en oppramsing dersom det ikke står noen konjunksjon
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
## Dataset Creation
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
### Curation Rationale
|
| 80 |
+
|
| 81 |
+
The sentences in the dataset are primarily curated to benchmark the performance of language models on Norwegian comma usage.
|
| 82 |
+
|
| 83 |
+
### Data Preparation
|
| 84 |
+
|
| 85 |
+
The sentences in the dataset are collected from actual documents. After collection, they are proofread and lightly edited to remove ambiguity and ensure they align with the specific rule being tested.
|
| 86 |
+
|
| 87 |
+
The dataset contains 60 sentence pairs for each rule. Thus, it is representative of the rules rather than of language in actual use.
|
| 88 |
+
|
| 89 |
+
## Generalizability
|
| 90 |
+
|
| 91 |
+
The dataset aims to be representative of Norwegian non-fiction, with an emphasis on governmental prose. The rules tested are the main syntactic comma rules. Other forms of comma usage, such as commas indicating sentence rhythm and cases where correct placement depends on the writer's intended meaning, are not emphasized.
|
| 92 |
+
|
| 93 |
+
### Personal and Sensitive Information
|
| 94 |
+
|
| 95 |
+
The data does not contain information considered personal or sensitive.
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
### Recommendations
|
| 99 |
+
|
| 100 |
+
Results obtained on this data might not generalize to texts from other domains or genres. Any biases in the sentiments expressed by the original review authors may carry over to models trained on this data.
|
| 101 |
+
|
| 102 |
+
### Dataset Creators and Curators
|
| 103 |
+
The Norwegian Comma Benchmark was created by Hans Christian Farsethås and Joakim Tjøstheim.
|
| 104 |
+
|
| 105 |
+
|