system HF staff commited on
Commit
d03ab4a
1 Parent(s): c880b20

Update files from the datasets library (from 1.12.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.12.0

Files changed (1) hide show
  1. README.md +54 -9
README.md CHANGED
@@ -11,16 +11,18 @@ multilinguality:
11
  - monolingual
12
  size_categories:
13
  - 1K<n<10K
14
- source_datasets: []
 
15
  task_categories:
16
  - structure-prediction
17
  task_ids:
18
  - named-entity-recognition
19
  - part-of-speech-tagging
20
  paperswithcode_id: dane
 
21
  ---
22
 
23
- # Dataset Card for [Dataset Name]
24
 
25
  ## Table of Contents
26
  - [Dataset Description](#dataset-description)
@@ -48,7 +50,7 @@ paperswithcode_id: dane
48
 
49
  ## Dataset Description
50
 
51
- - **Homepage:** [Github](https://github.com/alexandrainst/danlp/blob/master/docs/docs/datasets.md#dane)
52
  - **Repository:** [Github](https://github.com/alexandrainst/danlp)
53
  - **Paper:** [Aclweb](https://www.aclweb.org/anthology/2020.lrec-1.565)
54
  - **Leaderboard:**
@@ -56,21 +58,37 @@ paperswithcode_id: dane
56
 
57
  ### Dataset Summary
58
 
59
- [More Information Needed]
 
 
60
 
61
  ### Supported Tasks and Leaderboards
62
 
63
- [More Information Needed]
64
 
65
  ### Languages
66
 
67
- [More Information Needed]
68
 
69
  ## Dataset Structure
70
 
71
  ### Data Instances
72
 
73
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
  ### Data Fields
76
 
@@ -92,7 +110,10 @@ Data Fields:
92
 
93
  ### Data Splits
94
 
95
- [More Information Needed]
 
 
 
96
 
97
  ## Dataset Creation
98
 
@@ -152,6 +173,30 @@ Data Fields:
152
 
153
  [More Information Needed]
154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  ### Contributions
156
 
157
- Thanks to [@ophelielacroix](https://github.com/ophelielacroix), [@lhoestq](https://github.com/lhoestq) for adding this dataset.
 
11
  - monolingual
12
  size_categories:
13
  - 1K<n<10K
14
+ source_datasets:
15
+ - extended|other-Danish-Universal-Dependencies-treebank
16
  task_categories:
17
  - structure-prediction
18
  task_ids:
19
  - named-entity-recognition
20
  - part-of-speech-tagging
21
  paperswithcode_id: dane
22
+ pretty_name: DaNE
23
  ---
24
 
25
+ # Dataset Card for DaNE
26
 
27
  ## Table of Contents
28
  - [Dataset Description](#dataset-description)
 
50
 
51
  ## Dataset Description
52
 
53
+ - **Homepage:** [DaNE homepage](https://danlp-alexandra.readthedocs.io/en/latest/docs/datasets.html#dane)
54
  - **Repository:** [Github](https://github.com/alexandrainst/danlp)
55
  - **Paper:** [Aclweb](https://www.aclweb.org/anthology/2020.lrec-1.565)
56
  - **Leaderboard:**
 
58
 
59
  ### Dataset Summary
60
 
61
+ The Danish Dependency Treebank (DaNE) is a named entity annotation for the Danish Universal Dependencies treebank using the CoNLL-2003 annotation scheme.
62
+
63
+ The Danish UD treebank (Johannsen et al., 2015, UD-DDT) is a conversion of the Danish Dependency Treebank (Buch-Kromann et al. 2003) based on texts from Parole (Britt, 1998). UD-DDT has annotations for dependency parsing and part-of-speech (POS) tagging. The dataset was annotated with Named Entities for PER, ORG, and LOC by the Alexandra Institute in the DaNE dataset (Hvingelby et al. 2020).
64
 
65
  ### Supported Tasks and Leaderboards
66
 
67
+ Parts-of-speech tagging, dependency parsing and named entitity recognition.
68
 
69
  ### Languages
70
 
71
+ Danish
72
 
73
  ## Dataset Structure
74
 
75
  ### Data Instances
76
 
77
+ This is an example in the "train" split:
78
+ ```python
79
+ {
80
+ 'sent_id': 'train-v2-0\n',
81
+ 'lemmas': ['på', 'fredag', 'have', 'SiD', 'invitere', 'til', 'reception', 'i', 'SID-hus', 'i', 'anledning', 'af', 'at', 'formand', 'Kjeld', 'Christensen', 'gå', 'ind', 'i', 'den', 'glad', 'tresser', '.'],
82
+ 'dep_labels': [35, 16, 28, 33, 19, 35, 16, 35, 18, 35, 18, 1, 1, 33, 22, 12, 32, 11, 35, 10, 30, 16, 34],
83
+ 'ner_tags': [0, 0, 0, 3, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0],
84
+ 'morph_tags': ['AdpType=Prep', 'Definite=Ind|Gender=Com|Number=Sing', 'Mood=Ind|Tense=Pres|VerbForm=Fin|Voice=Act', '_', 'Definite=Ind|Number=Sing|Tense=Past|VerbForm=Part', 'AdpType=Prep', 'Definite=Ind|Gender=Com|Number=Sing', 'AdpType=Prep', 'Definite=Def|Gender=Neut|Number=Sing', 'AdpType=Prep', 'Definite=Ind|Gender=Com|Number=Sing', 'AdpType=Prep', '_', 'Definite=Def|Gender=Com|Number=Sing', '_', '_', 'Mood=Ind|Tense=Pres|VerbForm=Fin|Voice=Act', '_', 'AdpType=Prep', 'Number=Plur|PronType=Dem', 'Degree=Pos|Number=Plur', 'Definite=Ind|Gender=Com|Number=Plur', '_'],
85
+ 'dep_ids': [2, 5, 5, 5, 0, 7, 5, 9, 7, 11, 7, 17, 17, 17, 14, 15, 11, 17, 22, 22, 22, 18, 5],
86
+ 'pos_tags': [11, 12, 5, 7, 3, 11, 12, 11, 12, 11, 12, 11, 16, 12, 7, 7, 3, 9, 11, 14, 6, 12, 10],
87
+ 'text': 'På fredag har SID inviteret til reception i SID-huset i anledning af at formanden Kjeld Christensen går ind i de glade tressere.\n',
88
+ 'tokens': ['På', 'fredag', 'har', 'SID', 'inviteret', 'til', 'reception', 'i', 'SID-huset', 'i', 'anledning', 'af', 'at', 'formanden', 'Kjeld', 'Christensen', 'går', 'ind', 'i', 'de', 'glade', 'tressere', '.'],
89
+ 'tok_ids': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
90
+ }
91
+ ```
92
 
93
  ### Data Fields
94
 
 
110
 
111
  ### Data Splits
112
 
113
+ | | Tain | Dev | Test |
114
+ |-------------|-------:|-------:|-------:|
115
+ | # sentences | 4383 | 564 | 565 |
116
+ | # tokens | 80 378 | 10 322 | 10 023 |
117
 
118
  ## Dataset Creation
119
 
 
173
 
174
  [More Information Needed]
175
 
176
+ ### Citation Information
177
+
178
+ ```
179
+ @inproceedings{hvingelby-etal-2020-dane,
180
+ title = "{D}a{NE}: A Named Entity Resource for {D}anish",
181
+ author = "Hvingelby, Rasmus and
182
+ Pauli, Amalie Brogaard and
183
+ Barrett, Maria and
184
+ Rosted, Christina and
185
+ Lidegaard, Lasse Malm and
186
+ S{\o}gaard, Anders",
187
+ booktitle = "Proceedings of the 12th Language Resources and Evaluation Conference",
188
+ month = may,
189
+ year = "2020",
190
+ address = "Marseille, France",
191
+ publisher = "European Language Resources Association",
192
+ url = "https://aclanthology.org/2020.lrec-1.565",
193
+ pages = "4597--4604",
194
+ abstract = "We present a named entity annotation for the Danish Universal Dependencies treebank using the CoNLL-2003 annotation scheme: DaNE. It is the largest publicly available, Danish named entity gold annotation. We evaluate the quality of our annotations intrinsically by double annotating the entire treebank and extrinsically by comparing our annotations to a recently released named entity annotation of the validation and test sections of the Danish Universal Dependencies treebank. We benchmark the new resource by training and evaluating competitive architectures for supervised named entity recognition (NER), including FLAIR, monolingual (Danish) BERT and multilingual BERT. We explore cross-lingual transfer in multilingual BERT from five related languages in zero-shot and direct transfer setups, and we show that even with our modestly-sized training set, we improve Danish NER over a recent cross-lingual approach, as well as over zero-shot transfer from five related languages. Using multilingual BERT, we achieve higher performance by fine-tuning on both DaNE and a larger Bokm{\aa}l (Norwegian) training set compared to only using DaNE. However, the highest performance isachieved by using a Danish BERT fine-tuned on DaNE. Our dataset enables improvements and applicability for Danish NER beyond cross-lingual methods. We employ a thorough error analysis of the predictions of the best models for seen and unseen entities, as well as their robustness on un-capitalized text. The annotated dataset and all the trained models are made publicly available.",
195
+ language = "English",
196
+ ISBN = "979-10-95546-34-4",
197
+ }
198
+ ```
199
+
200
  ### Contributions
201
 
202
+ Thanks to [@ophelielacroix](https://github.com/ophelielacroix), [@lhoestq](https://github.com/lhoestq) for adding this dataset.