Datasets:

License:
SH commited on
Commit
9c03611
1 Parent(s): 7cc9fb1

Update README

Browse files
Files changed (1) hide show
  1. README.md +214 -0
README.md CHANGED
@@ -1,3 +1,217 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ - de
5
+ tags:
6
+ - financial
7
+ - bilingual
8
+ - pdf
9
+ pretty_name: FinCorpus-DE10k
10
+ annotations_creators:
11
+ - no-annotation
12
+ language_creators:
13
+ - found
14
+ size_categories:
15
+ - 10K<n<100K
16
  license: cc-by-nc-4.0
17
+ dataset_info:
18
+ - config_name: BBK_monthly
19
+ features:
20
+ - name: filename
21
+ dtype: string
22
+ - name: text
23
+ dtype: string
24
+ splits:
25
+ - name: train
26
+ download_size: 271752073
27
+ dataset_size: 0
28
+ - config_name: Law
29
+ features:
30
+ - name: filename
31
+ dtype: string
32
+ - name: text
33
+ dtype: string
34
+ splits:
35
+ - name: train
36
+ num_bytes: 25707085
37
+ num_examples: 134
38
+ download_size: 271752073
39
+ dataset_size: 25707085
40
+ - config_name: all
41
+ features:
42
+ - name: filename
43
+ dtype: string
44
+ - name: text
45
+ dtype: string
46
+ splits:
47
+ - name: train
48
+ num_bytes: 946487016
49
+ num_examples: 10402
50
+ download_size: 271752073
51
+ dataset_size: 946487016
52
+ - config_name: Annual_reports
53
+ features:
54
+ - name: filename
55
+ dtype: string
56
+ - name: text
57
+ dtype: string
58
+ splits:
59
+ - name: train
60
+ num_bytes: 54268688
61
+ num_examples: 87
62
+ download_size: 271752073
63
+ dataset_size: 54268688
64
+ - config_name: Final_terms
65
+ features:
66
+ - name: filename
67
+ dtype: string
68
+ - name: text
69
+ dtype: string
70
+ splits:
71
+ - name: train
72
+ num_bytes: 601219720
73
+ num_examples: 9591
74
+ download_size: 271752073
75
+ dataset_size: 601219720
76
+ - config_name: Base_prospectuses
77
+ features:
78
+ - name: filename
79
+ dtype: string
80
+ - name: text
81
+ dtype: string
82
+ splits:
83
+ - name: train
84
+ num_bytes: 265291523
85
+ num_examples: 590
86
+ download_size: 271752073
87
+ dataset_size: 265291523
88
  ---
89
+
90
+
91
+ # Dataset Card for FinCorpus-DE10k
92
+
93
+ <!-- Provide a quick summary of the dataset. -->
94
+
95
+ ## Dataset Details
96
+
97
+ ### Dataset Description
98
+
99
+ <!-- Provide a longer summary of what this dataset is. -->
100
+
101
+ FinCorpus-DE10k is a corpus containing 12,235 PDF files of financial documents, mostly security prospectuses, along with plaintext files for approximately 10,500 of these documents. The documents are primarily in German (71%), with the rest being bilingual (German and English). This dataset aims to facilitate tasks like text analysis, language modeling, and document understanding in the financial domain.
102
+
103
+ This dataset is a subset of the above dataset, with the collections we felt comfortable releasing under permissive CC licenses. It omits the IFRS (containing 7 documents) and Informational_materials (127/129 txt/pdf files) collections. To get access to the full corpus, get in touch with us.
104
+
105
+ - **Curated by:** Nata Kozaeva, Serhii Hamotskyi, Christian Hänig
106
+ - **Language(s) (NLP):** German (DE), Bilingual (German and English)
107
+ - **License:** [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) except the monthly and annual reports, which are [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/).
108
+
109
+ It's composed of multiple collections, with the text content available as dataset configs as:
110
+ - Annual_reports
111
+ - BBK_monthly
112
+ - Base_prospectuses
113
+ - Final_terms
114
+ - Law
115
+ <!--
116
+ - ~~IFRS~~
117
+ - ~~Informational_materials~~
118
+ -->
119
+
120
+ (By default, all collections are downloaded).
121
+
122
+ The entire corpus, pdf and txt files, can be downloaded here: <https://huggingface.co/datasets/anhaltai/fincorpus-de-10k/resolve/main/data/corpus_safe.zip?download=true>
123
+
124
+ ### Dataset Sources
125
+ The FinCorpus-DE10k dataset is composed of financial documents from various collections, each with its unique characteristics and source of origin. The documents were primarily sourced from the websites of financial institutions, regulatory bodies, and publicly available databases, with significant contributions from the Deutsche Bundesbank. The dataset includes:
126
+
127
+ - **Final Terms Prospectuses**: These documents detail the terms and conditions of the issuance of financial securities, predominantly collected by the Deutsche Bundesbank. They form the largest part of the dataset, with documents ranging from 1 to 719 pages, but mainly under 100 pages.
128
+ - **Base Prospectuses**: Containing information about the issuer, description of the security, and the summary of the prospectus. These documents are longer and fewer compared to the Final Terms but hold comprehensive information required for investors.
129
+ - **Bundesbank Monthly Reports**: Consisting of 838 monthly reports from the German Bundesbank, spanning from 1949 to 2022. These documents offer a historical perspective on the German financial language. We didn't extract text from these documents. **Licensed [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/)**
130
+ - **Annual Reports**: This collection includes annual (and some quarterly) reports from the Bundesbank and other institutions, covering economic and financial issues, monetary policy, and financial stability risks. **Licensed [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/)**
131
+ <!--
132
+ - **International Financial Reporting Standards (IFRS)**: Comprising the EU International Financial Reporting Standards documents from 2017 to 2023, these are vital for ensuring corporate transparency and comparability of financial statements across international borders.
133
+ - <font color="red">DANGER ZONE:</font> licensing unclear, see [IFRS - IFRS Sustainability Licensing](https://www.ifrs.org/products-and-services/sustainability-products-and-services/ifrs-sustainability-licensing/) ('free for personal non-commercial use' but with limitations that may or may not apply to you).
134
+ - **Informational Materials**: This collection contains miscellaneous brochures and advertisements in the area of finance, targeting a general audience with a variety of fonts, photos, and colors.
135
+ - <font color="red">DANGER ZONE:</font> the materials contained (including graphics, formatting etc.) were created by different entities with differing licenses and applicable copyright laws and differs on a per-document basis. Compliance to the applicable laws is your own responsibility.
136
+ -->
137
+ - **Law**: Featuring German laws in the financial and related domains, including some English translations. This collection reflects the regulations applicable to the financial sector in Germany and EU Directives implemented into German law.
138
+
139
+ The collection as a whole is licensed [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) except where stated otherwise.
140
+
141
+ <!-- Provide the basic links for the dataset. -->
142
+
143
+ - **Repository:** **TODO**
144
+ - **Paper:** **TODO**
145
+
146
+ ## Uses
147
+
148
+ ### Direct Use
149
+
150
+ <!-- This section describes suitable use cases for the dataset. -->
151
+
152
+ By providing a rich collection of financial documents in PDF format, the dataset facilitates the development of algorithms that can navigate the complex layouts typically found in financial documents.
153
+ FinCorpus-DE10k is also suited for developing and testing NLP models specialized in the financial domain, including but not limited to information extraction, named entity recognition, and specialized language models.
154
+
155
+ <!--
156
+ ### Out-of-Scope Use
157
+
158
+ // This section addresses misuse, malicious use, and uses that the dataset will not work well for.
159
+
160
+ The dataset is not designed for non-NLP tasks or NLP tasks outside the financial domain.
161
+ -->
162
+
163
+ ## Dataset Structure
164
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
165
+ When used through `load_dataset()`, the dataset has two features: `filename` and `text`, one instance per .txt document.
166
+
167
+ The complete dataset, pdf and txt, can be found in [corpus.zip](https://huggingface.co/datasets/anhaltai/fincorpus-de-10k-complete/resolve/main/data/corpus.zip?download=true). In the archive, `metadata.csv` contains the path for the PDF and its extracted .txt (if available), as well as collection name, presence of extracted text, paths to PDF and .txt files, document language(s), and financial identifiers like ISIN and country for relevant documents.
168
+
169
+ The pdf and txt subfolders contain the same mirrored directory structure, sorted by collection.
170
+
171
+ ## Dataset Creation
172
+
173
+ <!--
174
+ ### Curation Rationale
175
+
176
+ // Motivation for the creation of this dataset.
177
+
178
+ Created to support research in financial document analysis, facilitating advancements in financial technology, regulatory compliance, and economic research.
179
+ -->
180
+
181
+ ### Source Data
182
+
183
+ #### Data Collection and Processing
184
+
185
+ <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
186
+
187
+ Extensive preprocessing was applied to ensure the quality and uniformity of the dataset. It's described in our paper: **TODO**
188
+
189
+ #### Who are the source data producers?
190
+
191
+ <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
192
+
193
+ The documents were produced by various financial institutions, regulatory bodies, companies, and the Deutsche Bundesbank.
194
+
195
+ #### Personal and Sensitive Information
196
+
197
+ <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
198
+
199
+ The dataset contains financial documents that are publicly available.
200
+
201
+ #### Licensing
202
+
203
+ We diligently adhered to the licensing guidelines to the best of our understanding. However, the responsibility for the use of the documents and compliance with applicable laws rests with you.
204
+
205
+ Get in touch with us if any of the documents need to be removed from the collection.
206
+
207
+ Relevant links are:
208
+ - Bundesbank monthly+annual allows using its documents if they are unchanged, hence the CC BY-NC-ND license: [Nutzungsbedingungen - Für den allgemeinen Gebrauch der Website \| Deutsche Bundesbank](https://www.bundesbank.de/de/startseite/benutzerhinweise/nutzungsbedingungen-fuer-den-allgemeinen-gebrauch-der-website-763554#tar-4)
209
+ - German laws are public domain: [Act on Copyright and Related Rights (Urheberrechtsgesetz – UrhG)](https://www.gesetze-im-internet.de/englisch_urhg/englisch_urhg.html#p0037)
210
+ - Final terms documents (and their Basisprospekte) can be considered public domain (at least their textual content), since the relevant EU regulation _mandates_ they are published and freely accessible: [L_2017168EN.01001201.xml](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX%3A32017R1129)
211
+
212
+ <!--
213
+ ## Citation
214
+
215
+ **BibTeX:** **TODO**
216
+
217
+ -->