Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Greek
ArXiv:
Libraries:
Datasets
pandas
License:
system HF staff commited on
Commit
46a26b3
0 Parent(s):

Update files from the datasets library (from 1.13.0)

Browse files

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

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Greek Legal Code
3
+ annotations_creators:
4
+ - found
5
+ language_creators:
6
+ - found
7
+ languages:
8
+ - el
9
+ licenses:
10
+ - cc-by-4-0
11
+ multilinguality:
12
+ - monolingual
13
+ size_categories:
14
+ - 10K<n<100K
15
+ source_datasets:
16
+ - original
17
+ task_categories:
18
+ - text-classification
19
+ task_ids:
20
+ - multi-class-classification
21
+ - topic-classification
22
+ ---
23
+
24
+ # Dataset Card for Greek Legal Code
25
+
26
+ ## Table of Contents
27
+ - [Dataset Description](#dataset-description)
28
+ - [Dataset Summary](#dataset-summary)
29
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
30
+ - [Languages](#languages)
31
+ - [Dataset Structure](#dataset-structure)
32
+ - [Data Instances](#data-instances)
33
+ - [Data Fields](#data-fields)
34
+ - [Data Splits](#data-splits)
35
+ - [Dataset Creation](#dataset-creation)
36
+ - [Curation Rationale](#curation-rationale)
37
+ - [Source Data](#source-data)
38
+ - [Annotations](#annotations)
39
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
40
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
41
+ - [Social Impact of Dataset](#social-impact-of-dataset)
42
+ - [Discussion of Biases](#discussion-of-biases)
43
+ - [Other Known Limitations](#other-known-limitations)
44
+ - [Additional Information](#additional-information)
45
+ - [Dataset Curators](#dataset-curators)
46
+ - [Licensing Information](#licensing-information)
47
+ - [Citation Information](#citation-information)
48
+ - [Contributions](#contributions)
49
+
50
+ ## Dataset Description
51
+
52
+ - **Homepage:** https://doi.org/10.5281/zenodo.5528002
53
+ - **Repository:** https://github.com/christospi/glc-nllp-21
54
+ - **Paper:** TBA
55
+ - **Leaderboard:** N/A
56
+ - **Point of Contact:** [Christos Papaloukas](mailto:christospap@di.uoa.gr)
57
+
58
+ ### Dataset Summary
59
+
60
+ Greek_Legal_Code (GLC) is a dataset consisting of approx. 47k legal resources from Greek legislation. The origin of GLC is “Permanent Greek Legislation Code - Raptarchis”, a collection of Greek legislative documents classified into multi-level (from broader to more specialized) categories.
61
+
62
+ **Topics**
63
+
64
+ GLC consists of 47 legislative volumes and each volume corresponds to a main thematic topic. Each volume is divided into thematic sub categories which are called chapters and subsequently, each chapter breaks down to subjects which contain the legal resources. The total number of chapters is 389 while the total number of subjects is 2285, creating an interlinked thematic hierarchy. So, for the upper thematic level (volume) GLC has 47 classes. For the next thematic level (chapter) GLC offers 389 classes and for the inner and last thematic level (subject), GLC has 2285 classes.
65
+
66
+ GLC classes are divided into three categories for each thematic level: frequent classes, which occur in more than 10 training documents and can be found in all three subsets (training, development and test); few-shot classes which appear in 1 to 10 training documents and also appear in the documents of the development and test sets, and zero-shot classes which appear in the development and/or test, but not in the training documents.
67
+
68
+
69
+ ### Supported Tasks and Leaderboards
70
+
71
+ The dataset supports:
72
+
73
+ **Multi-class Text Classification:** Given the text of a document, a model predicts the corresponding class.
74
+
75
+ **Few-shot and Zero-shot learning:** As already noted, the classes can be divided into three groups: frequent, few-shot, and zero- shot, depending on whether they were assigned to more than 10, fewer than 10 but at least one, or no training documents, respectively.
76
+
77
+ | Level | Total | Frequent | Few-Shot (<10) | Zero-Shot |
78
+ |---|---|---|---|---|
79
+ |Volume|47|47|0|0|
80
+ |Chapter|389|333|53|3|
81
+ |Subject|2285|712|1431|142|
82
+
83
+ ### Languages
84
+
85
+ All documents are written in Greek.
86
+
87
+ ## Dataset Structure
88
+
89
+ ### Data Instances
90
+
91
+
92
+ ```json
93
+ {
94
+ "text": "179. ΑΠΟΦΑΣΗ ΥΠΟΥΡΓΟΥ ΜΕΤΑΦΟΡΩΝ ΚΑΙ ΕΠΙΚΟΙΝΩΝΙΩΝ Αριθ. Β-οικ. 68425/4765 της 2/17 Νοεμ. 2000 (ΦΕΚ Β΄ 1404) Τροποποίηση της 42000/2030/81 κοιν. απόφασης του Υπουργού Συγκοινωνιών «Κωδικοποίηση και συμπλήρωση καν. Αποφάσεων» που εκδόθηκαν κατ’ εξουσιοδότηση του Ν.Δ. 102/73 «περί οργανώσεως των δια λεωφορείων αυτοκινήτων εκτελουμένων επιβατικών συγκοινωνιών». ",
95
+ "volume": 24, # "ΣΥΓΚΟΙΝΩΝΙΕΣ"
96
+ }
97
+ ```
98
+
99
+ ### Data Fields
100
+
101
+ The following data fields are provided for documents (`train`, `dev`, `test`):
102
+
103
+ `text`: (**str**) The full content of each document, which is represented by its `header` and `articles` (i.e., the `main_body`).\
104
+ `label`: (**class label**): Depending on the configurarion, the volume/chapter/subject of the document. For volume-level class it belongs to specifically: ["ΚΟΙΝΩΝΙΚΗ ΠΡΟΝΟΙΑ",
105
+ "ΓΕΩΡΓΙΚΗ ΝΟΜΟΘΕΣΙΑ",
106
+ "ΡΑΔΙΟΦΩΝΙΑ ΚΑΙ ΤΥΠΟΣ",
107
+ "ΒΙΟΜΗΧΑΝΙΚΗ ΝΟΜΟΘΕΣΙΑ",
108
+ "ΥΓΕΙΟΝΟΜΙΚΗ ΝΟΜΟΘΕΣΙΑ",
109
+ "ΠΟΛΕΜΙΚΟ ΝΑΥΤΙΚΟ",
110
+ "ΤΑΧΥΔΡΟΜΕΙΑ - ΤΗΛΕΠΙΚΟΙΝΩΝΙΕΣ",
111
+ "ΔΑΣΗ ΚΑΙ ΚΤΗΝΟΤΡΟΦΙΑ",
112
+ "ΕΛΕΓΚΤΙΚΟ ΣΥΝΕΔΡΙΟ ΚΑΙ ΣΥΝΤΑΞΕΙΣ",
113
+ "ΠΟΛΕΜΙΚΗ ΑΕΡΟΠΟΡΙΑ",
114
+ "ΝΟΜΙΚΑ ΠΡΟΣΩΠΑ ΔΗΜΟΣΙΟΥ ΔΙΚΑΙΟΥ",
115
+ "ΝΟΜΟΘΕΣΙΑ ΑΝΩΝΥΜΩΝ ΕΤΑΙΡΕΙΩΝ ΤΡΑΠΕΖΩΝ ΚΑΙ ΧΡΗΜΑΤΙΣΤΗΡΙΩΝ",
116
+ "ΠΟΛΙΤΙΚΗ ΑΕΡΟΠΟΡΙΑ",
117
+ "ΕΜΜΕΣΗ ΦΟΡΟΛΟΓΙΑ",
118
+ "ΚΟΙΝΩΝΙΚΕΣ ΑΣΦΑΛΙΣΕΙΣ",
119
+ "ΝΟΜΟΘΕΣΙΑ ΔΗΜΩΝ ΚΑΙ ΚΟΙΝΟΤΗΤΩΝ",
120
+ "ΝΟΜΟΘΕΣΙΑ ΕΠΙΜΕΛΗΤΗΡΙΩΝ ΣΥΝΕΤΑΙΡΙΣΜΩΝ ΚΑΙ ΣΩΜΑΤΕΙΩΝ",
121
+ "ΔΗΜΟΣΙΑ ΕΡΓΑ",
122
+ "ΔΙΟΙΚΗΣΗ ΔΙΚΑΙΟΣΥΝΗΣ",
123
+ "ΑΣΦΑΛΙΣΤΙΚΑ ΤΑΜΕΙΑ",
124
+ "ΕΚΚΛΗΣΙΑΣΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
125
+ "ΕΚΠΑΙΔΕΥΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
126
+ "ΔΗΜΟΣΙΟ ΛΟΓΙΣΤΙΚΟ",
127
+ "ΤΕΛΩΝΕΙΑΚΗ ΝΟΜΟΘΕΣΙΑ",
128
+ "ΣΥΓΚΟΙΝΩΝΙΕΣ",
129
+ "ΕΘΝΙΚΗ ΑΜΥΝΑ",
130
+ "ΣΤΡΑΤΟΣ ΞΗΡΑΣ",
131
+ "ΑΓΟΡΑΝΟΜΙΚΗ ΝΟΜΟΘΕΣΙΑ",
132
+ "ΔΗΜΟΣΙΟΙ ΥΠΑΛΛΗΛΟΙ",
133
+ "ΠΕΡΙΟΥΣΙΑ ΔΗΜΟΣΙΟΥ ΚΑΙ ΝΟΜΙΣΜΑ",
134
+ "ΟΙΚΟΝΟΜΙΚΗ ΔΙΟΙΚΗΣΗ",
135
+ "ΛΙΜΕΝΙΚΗ ΝΟΜΟΘΕΣΙΑ",
136
+ "ΑΣΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
137
+ "ΠΟΛΙΤΙΚΗ ΔΙΚΟΝΟΜΙΑ",
138
+ "ΔΙΠΛΩΜΑΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
139
+ "ΔΙΟΙΚΗΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
140
+ "ΑΜΕΣΗ ΦΟΡΟΛΟΓΙΑ",
141
+ "ΤΥΠΟΣ ΚΑΙ ΤΟΥΡΙΣΜΟΣ",
142
+ "ΕΘΝΙΚΗ ΟΙΚΟΝΟΜΙΑ",
143
+ "ΑΣΤΥΝΟΜΙΚΗ ΝΟΜΟΘΕΣΙΑ",
144
+ "ΑΓΡΟΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
145
+ "ΕΡΓΑΤΙΚΗ ΝΟΜΟΘΕΣΙΑ",
146
+ "ΠΟΙΝΙΚΗ ΝΟΜΟΘΕΣΙΑ",
147
+ "ΕΜΠΟΡΙΚΗ ΝΟΜΟΘΕΣΙΑ",
148
+ "ΕΠΙΣΤΗΜΕΣ ΚΑΙ ΤΕΧΝΕΣ",
149
+ "ΕΜΠΟΡΙΚΗ ΝΑΥΤΙΛΙΑ",
150
+ "ΣΥΝΤΑΓΜΑΤΙΚΗ ΝΟΜΟΘΕΣΙΑ"
151
+ ] \
152
+
153
+ The labels can also be a the chapter-level or subject-level class it belongs to. Some chapter labels are omitted due to size (389 classes). Some subject labels are also omitted due to size (2285 classes).
154
+
155
+ ### Data Splits
156
+
157
+ | Split | No of Documents | Avg. words |
158
+ | ------------------- | ------------------------------------ | --- |
159
+ | Train | 28,536 | 600 |
160
+ |Development | 9,511 | 574 |
161
+ |Test | 9,516 | 595 |
162
+
163
+ ## Dataset Creation
164
+
165
+ ### Curation Rationale
166
+
167
+ The dataset was curated by Papaloukas et al. (2021) with the hope to support and encourage further research in NLP for the Greek language.
168
+
169
+ ### Source Data
170
+
171
+ #### Initial Data Collection and Normalization
172
+
173
+ The ``Permanent Greek Legislation Code - Raptarchis`` is a thorough catalogue of Greek legislation since the creation of the Greek state in 1834 until 2015. It includes Laws, Royal and Presidential Decrees, Regulations and Decisions, retrieved from the Official Government Gazette, where Greek legislation is published. This collection is one of the official, publicly available sources of classified Greek legislation suitable for classification tasks.
174
+
175
+ Currently, the original catalogue is publicly offered in MS Word (.doc) format through the portal e-Themis, the legal database and management service of it, under the administration of the Ministry of the Interior (Affairs). E-Themis is primarily focused on providing legislation on a multitude of predefined thematic categories, as described in the catalogue. The main goal is to help users find legislation of interest using the thematic index.
176
+
177
+ #### Who are the source language producers?
178
+
179
+ [More Information Needed]
180
+
181
+ ### Annotations
182
+
183
+ #### Annotation process
184
+
185
+ [More Information Needed]
186
+
187
+ #### Who are the annotators?
188
+
189
+ [More Information Needed]
190
+
191
+ ### Personal and Sensitive Information
192
+
193
+ The dataset does not include personal or sensitive information.
194
+
195
+ ## Considerations for Using the Data
196
+
197
+ ### Social Impact of Dataset
198
+
199
+ [More Information Needed]
200
+
201
+ ### Discussion of Biases
202
+
203
+ [More Information Needed]
204
+
205
+ ### Other Known Limitations
206
+
207
+ [More Information Needed]
208
+
209
+ ## Additional Information
210
+
211
+ ### Dataset Curators
212
+
213
+ Papaloukas et al. (2021)
214
+
215
+ ### Licensing Information
216
+
217
+ [More Information Needed]
218
+
219
+ ### Citation Information
220
+
221
+ *Christos Papaloukas, Ilias Chalkidis, Konstantinos Athinaios, Despina-Athanasia Pantazi and Manolis Koubarakis.*
222
+ *Multi-granular Legal Topic Classification on Greek Legislation.*
223
+ *Proceedings of the 3rd Natural Legal Language Processing (NLLP) Workshop, Punta Cana, Dominican Republic, 2021*
224
+ ```
225
+ @inproceedings{papaloukas-etal-2021-glc,
226
+ title = "Multi-granular Legal Topic Classification on Greek Legislation",
227
+ author = "Papaloukas, Christos and Chalkidis, Ilias and Athinaios, Konstantinos and Pantazi, Despina-Athanasia and Koubarakis, Manolis",
228
+ booktitle = "Proceedings of the 3rd Natural Legal Language Processing (NLLP) Workshop",
229
+ year = "2021",
230
+ address = "Punta Cana, Dominican Republic",
231
+ publisher = "",
232
+ url = "https://arxiv.org/abs/2109.15298",
233
+ doi = "",
234
+ pages = ""
235
+ }
236
+ ```
237
+
238
+ ### Contributions
239
+
240
+ Thanks to [@christospi](https://github.com/christospi) for adding this dataset.
dataset_infos.json ADDED
The diff for this file is too large to render. See raw diff
 
dummy/chapter/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c55c812481c921f12f8100bd3e86ea4a65a50bed8910e697b0122c767c3baef0
3
+ size 12612
dummy/subject/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c55c812481c921f12f8100bd3e86ea4a65a50bed8910e697b0122c767c3baef0
3
+ size 12612
dummy/volume/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c55c812481c921f12f8100bd3e86ea4a65a50bed8910e697b0122c767c3baef0
3
+ size 12612
greek_legal_code.py ADDED
The diff for this file is too large to render. See raw diff