Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
nlpaueb commited on
Commit
8bead32
·
1 Parent(s): 98860a1

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +208 -0
README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - expert-generated
6
+ languages:
7
+ - en
8
+ licenses:
9
+ - cc-by-sa-4-0
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: FiNER-139
13
+ size_categories:
14
+ - 1M<n<10M
15
+ source_datasets: []
16
+ task_categories:
17
+ - structure-prediction
18
+ - named-entity-recognition
19
+ - entity-extraction
20
+ task_ids:
21
+ - named-entity-recognition
22
+ ---
23
+
24
+ [Needs More Information]
25
+
26
+ # Dataset Card for finer-139
27
+
28
+ ## Table of Contents
29
+ - [Dataset Description](#dataset-description)
30
+ - [Dataset Summary](#dataset-summary)
31
+ - [Supported Tasks](#supported-tasks)
32
+ - [Languages](#languages)
33
+ - [Dataset Structure](#dataset-structure)
34
+ - [Data Instances](#data-instances)
35
+ - [Data Fields](#data-instances)
36
+ - [Tag Names](#tag-names)
37
+ - [Data Splits](#data-instances)
38
+ - [Dataset Creation](#dataset-creation)
39
+ - [Curation Rationale](#curation-rationale)
40
+ - [Source Data](#source-data)
41
+ - [Annotations](#annotations)
42
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
43
+ - [Additional Information](#additional-information)
44
+ - [Dataset Curators](#dataset-curators)
45
+ - [Licensing Information](#licensing-information)
46
+ - [Citation Information](#citation-information)
47
+ - [SEC-BERT](#sec-bert)
48
+ - [About Us](#about-us)
49
+
50
+ ## Dataset Description
51
+
52
+ - **Homepage:** https://github.com/nlpaueb/finer
53
+ - **Repository:** https://github.com/nlpaueb/finer
54
+ - **Paper:** https://arxiv.org/abs/2203.06482
55
+ - **Point of Contact:** [Manos Fergadiotis]([last name][at]aueb[dot]gr)
56
+
57
+ ### Dataset Summary
58
+
59
+ **FiNER-139** is comprised of 1.1M sentences annotated with **eXtensive Business Reporting Language (XBRL)** tags extracted from annual and quarterly reports of publicly-traded companies in the US.
60
+ Unlike other entity extraction tasks, like named entity recognition (NER) or contract element extraction, which typically require identifying entities of a small set of common types (e.g., persons, organizations), FiNER-139 uses a much larger label set of **139 entity types**.
61
+ Another important difference from typical entity extraction is that FiNER focuses on numeric tokens, with the correct tag depending mostly on context, not the token itself.
62
+
63
+ ### Supported Tasks
64
+
65
+ To promote transparency among shareholders and potential investors, publicly traded companies are required to file periodic financial reports annotated with tags from the eXtensive Business Reporting Language (XBRL), an XML-based language, to facilitate the processing of financial information.
66
+ However, manually tagging reports with XBRL tags is tedious and resource-intensive.
67
+ We, therefore, introduce **XBRL tagging** as a **new entity extraction task** for the **financial domain** and study how financial reports can be automatically enriched with XBRL tags.
68
+ To facilitate research towards automated XBRL tagging we release FiNER-139.
69
+
70
+ ### Languages
71
+
72
+ **FiNER-139** is compiled from approx. 10k annual and quarterly **English** reports
73
+
74
+ ## Dataset Structure
75
+
76
+ ### Data Instances
77
+
78
+ This is a "train" split example:
79
+
80
+ ```json
81
+ {
82
+ 'id': 40
83
+ 'tokens': ['In', 'March', '2014', ',', 'the', 'Rialto', 'segment', 'issued', 'an', 'additional', '$', '100', 'million', 'of', 'the', '7.00', '%', 'Senior', 'Notes', ',', 'at', 'a', 'price', 'of', '102.25', '%', 'of', 'their', 'face', 'value', 'in', 'a', 'private', 'placement', '.']
84
+ 'ner_tags': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
85
+ }
86
+ ```
87
+
88
+ ### Data Fields
89
+
90
+ **id**: ID of the example <br>
91
+ **tokens**: list of tokens for the specific example <br>
92
+ **ner_tags**: list of tags for each token in the example <br>
93
+
94
+ ### Tag Names
95
+
96
+ Tags are provided as integer classes. If you want to use the class names you can access them as follows:
97
+
98
+ ```python
99
+ from datasets load_dataset
100
+
101
+ finer_train = datasets.load_dataset("nlpaueb/finer-139", split="train")
102
+
103
+ finer_tag_names = finer_train.features["ner_tags"].feature.names
104
+ ```
105
+
106
+ **finer_tag_names** contains a list of class names corresponding to the integer classes e.g.
107
+ ```
108
+ 0 -> "O" <br>
109
+ 1 -> "B-AccrualForEnvironmentalLossContingencies" <br>
110
+ ```
111
+
112
+ ### Data Splits
113
+
114
+ | Training | Validation | Test
115
+ | -------- | ---------- | -------
116
+ | 900,384 | 112,494 | 108,378
117
+
118
+ ## Dataset Creation
119
+
120
+ ### Curation Rationale
121
+
122
+ The dataset was curated by [Loukas et al. (2022)](https://arxiv.org/abs/2203.06482) <br>
123
+
124
+ ### Source Data
125
+
126
+ #### Initial Data Collection and Normalization
127
+
128
+ FiNER-139 is compiled from approx. 10k annual and quarterly English reports (filings) of publicly traded companies downloaded from the [US Securities
129
+ and Exchange Commission's (SEC)](https://www.sec.gov/) [Electronic Data Gathering, Analysis, and Retrieval (EDGAR)](https://www.sec.gov/edgar.shtml) system. <br>
130
+ The reports span a 5-year period, from 2016 to 2020. They are annotated with XBRL tags by professional auditors and describe the performance and projections of the companies. XBRL defines approx. 6k entity types from the US-GAAP taxonomy. FiNER-139 is annotated with the 139 most frequent XBRL entity types with at least 1,000 appearances. <br>
131
+ We used regular expressions to extract the text notes from the Financial Statements Item of each filing, which is the primary source of XBRL tags in annual and quarterly reports. We used the **IOB2** annotation scheme to distinguish tokens at the beginning, inside, or outside of tagged expressions, which leads to 279 possible token labels.
132
+
133
+ ### Annotations
134
+
135
+ #### Annotation process
136
+
137
+ All the examples were annotated by professional auditors as required by the Securities & Exchange Commission (SEC) legislation. <br>
138
+ Even though the gold XBRL tags come from professional auditors there are still some discrepancies. [Loukas et al. (2022)](https://arxiv.org/abs/2203.06482), Section 9.4 Annotation inconsistencies for more details
139
+
140
+ #### Who are the annotators?
141
+
142
+ Professional auditors
143
+
144
+ ### Personal and Sensitive Information
145
+
146
+ The dataset contains publicly available annual and quarterly reports (filings)
147
+
148
+ ## Additional Information
149
+
150
+ ### Dataset Curators
151
+
152
+ [Loukas et al. (2022)](https://arxiv.org/abs/2203.06482)
153
+
154
+ ### Licensing Information
155
+
156
+ Access to SEC's EDGAR public database is free, allowing research of public companies' financial information and operations by reviewing the filings the companies makes with the SEC.
157
+
158
+ ### Citation Information
159
+
160
+ FiNER: Financial Numeric Entity Recognition for XBRL Tagging <br>
161
+ Lefteris Loukas, Manos Fergadiotis, Ilias Chalkidis, Eirini Spyropoulou, Prodromos Malakasiotis, Ion Androutsopoulos and George Paliouras <br>
162
+ In the Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL 2022) (Long Papers), Dublin, Republic of Ireland, May 22 - 27, 2022
163
+
164
+ ```
165
+ @inproceedings{loukas-etal-2022-finer,
166
+ title = {FiNER: Financial Numeric Entity Recognition for XBRL Tagging},
167
+ author = {Loukas, Lefteris and
168
+ Fergadiotis, Manos and
169
+ Chalkidis, Ilias and
170
+ Spyropoulou, Eirini and
171
+ Malakasiotis, Prodromos and
172
+ Androutsopoulos, Ion and
173
+ Paliouras George},
174
+ booktitle = {Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL 2022)},
175
+ publisher = {Association for Computational Linguistics},
176
+ location = {Dublin, Republic of Ireland},
177
+ year = {2022},
178
+ url = {https://arxiv.org/abs/2203.06482}
179
+ }
180
+ ```
181
+
182
+ ## SEC-BERT
183
+ <img align="center" src="https://i.ibb.co/0yz81K9/sec-bert-logo.png" alt="SEC-BERT" width="400"/>
184
+
185
+ We also pre-train our own BERT models (**SEC-BERT**) for the financial domain, intended to assist financial NLP research and FinTech applications. <br>
186
+ **SEC-BERT** consists of the following models:
187
+
188
+ * [**SEC-BERT-BASE**](https://huggingface.co/nlpaueb/sec-bert-base): Same architecture as BERT-BASE trained on financial documents.
189
+ * [**SEC-BERT-NUM**](https://huggingface.co/nlpaueb/sec-bert-num): Same as SEC-BERT-BASE but we replace every number token with a [NUM] pseudo-token handling all numeric expressions in a uniform manner, disallowing their fragmentation
190
+ * [**SEC-BERT-SHAPE**](https://huggingface.co/nlpaueb/sec-bert-shape): Same as SEC-BERT-BASE but we replace numbers with pseudo-tokens that represent the number’s shape, so numeric expressions (of known shapes) are no longer fragmented, e.g., '53.2' becomes '[XX.X]' and '40,200.5' becomes '[XX,XXX.X]'.
191
+
192
+ These models were pre-trained on 260,773 10-K filings (annual reports) from 1993-2019, publicly available at [U.S. Securities and Exchange Commission (SEC)](https://www.sec.gov/)
193
+
194
+ ## About Us
195
+
196
+ [AUEB's Natural Language Processing Group](http://nlp.cs.aueb.gr) develops algorithms, models, and systems that allow computers to process and generate natural language texts.
197
+
198
+ The group's current research interests include:
199
+ * question answering systems for databases, ontologies, document collections, and the Web, especially biomedical question answering,
200
+ * natural language generation from databases and ontologies, especially Semantic Web ontologies,
201
+ text classification, including filtering spam and abusive content,
202
+ * information extraction and opinion mining, including legal text analytics and sentiment analysis,
203
+ * natural language processing tools for Greek, for example parsers and named-entity recognizers,
204
+ machine learning in natural language processing, especially deep learning.
205
+
206
+ The group is part of the Information Processing Laboratory of the Department of Informatics of the Athens University of Economics and Business.
207
+
208
+ [Manos Fergadiotis](https://manosfer.github.io) on behalf of [AUEB's Natural Language Processing Group](http://nlp.cs.aueb.gr)