File size: 1,490 Bytes
9185f0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5ead311
 
 
 
 
 
 
9185f0e
5ead311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
dataset_info:
  features:
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence: int64
  - name: dataset
    dtype: string
  splits:
  - name: train
    num_bytes: 20416089
    num_examples: 94253
  - name: validation
    num_bytes: 4904248
    num_examples: 25864
  - name: test
    num_bytes: 4673139
    num_examples: 25015
  download_size: 8000299
  dataset_size: 29993476
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
task_categories:
- text-classification
language:
- 'no'
- da
size_categories:
- 10K<n<100K
---

Created from the three datasets `wikiann`, `norne` and `dane`.

See detailed config below:

```python
dataset_ids = [
    "wikiann",
    "dane",
    "norne", 
]

dataset_subsets = {
    "wikiann": [
        "nn", "no", "da"
    ],
    "dane": [None],
    "norne": ["combined-7"],
}
```

Unified to the following BIO-scheme:


```
# O: 0
# B-PER: 1
# I-PER: 2
# B-ORG: 3
# I-ORG: 4
# B-LOC: 5
# I-LOC: 6
# B-MISC: 7
# I-MISC: 8

mappers = {
    "norne": {
        0: 0,
        1: 1,
        2: 2,
        3: 3, 
        4: 4, 
        # PROD->MISC
        5: 7,
        6: 8,
        # LOC -> LOC
        7: 5,
        8: 6,
        # DRV -> MISC (names, but derived)
        9: 7,
        10: 8,
        # EVT -> MISC (events)
        11: 7,
        12: 8,
        # MISC -> MISC
        13: 7,
        14: 8,
    }
}

```