antoinelouis commited on
Commit
77522d0
1 Parent(s): bb6116b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +163 -1
README.md CHANGED
@@ -5,7 +5,7 @@ language_creators:
5
  - found
6
  - other
7
  languages:
8
- - fr-FR
9
  licenses:
10
  - cc-by-nc-sa-4.0
11
  multilinguality:
@@ -21,3 +21,165 @@ task_ids:
21
  - document-retrieval
22
  ---
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - found
6
  - other
7
  languages:
8
+ - fr-BE
9
  licenses:
10
  - cc-by-nc-sa-4.0
11
  multilinguality:
 
21
  - document-retrieval
22
  ---
23
 
24
+ # Dataset Card for BSARD
25
+
26
+ ## Table of Contents
27
+ - [Table of Contents](#table-of-contents)
28
+ - [Dataset Description](#dataset-description)
29
+ - [Dataset Summary](#dataset-summary)
30
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
31
+ - [Languages](#languages)
32
+ - [Dataset Structure](#dataset-structure)
33
+ - [Data Instances](#data-instances)
34
+ - [Data Fields](#data-fields)
35
+ - [Data Splits](#data-splits)
36
+ - [Dataset Creation](#dataset-creation)
37
+ - [Curation Rationale](#curation-rationale)
38
+ - [Source Data](#source-data)
39
+ - [Annotations](#annotations)
40
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
41
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
42
+ - [Social Impact of Dataset](#social-impact-of-dataset)
43
+ - [Discussion of Biases](#discussion-of-biases)
44
+ - [Other Known Limitations](#other-known-limitations)
45
+ - [Additional Information](#additional-information)
46
+ - [Dataset Curators](#dataset-curators)
47
+ - [Licensing Information](#licensing-information)
48
+ - [Citation Information](#citation-information)
49
+ - [Contributions](#contributions)
50
+
51
+ ## Dataset Description
52
+
53
+ - **Repository:** [https://github.com/maastrichtlawtech/bsard](https://github.com/maastrichtlawtech/bsard)
54
+ - **Paper:** [https://arxiv.org/abs/2108.11792](https://arxiv.org/abs/2108.11792)
55
+ - **Point of Contact:** [law-techlab@maastrichtuniversity.nl](law-techlab@maastrichtuniversity.nl)
56
+
57
+ ### Dataset Summary
58
+
59
+ The Belgian Statutory Article Retrieval Dataset (BSARD) v1.0 is a French native corpus for studying statutory article retrieval. BSARD consists of more than 22,600 statutory articles from Belgian law and about 1,100 legal questions posed by Belgian citizens and labeled by experienced jurists with relevant articles from the corpus.
60
+
61
+ ### Supported Tasks and Leaderboards
62
+
63
+ - `document-retrieval`: The dataset can be used to train a model for Ad-Hoc Legal Information Retrieval. An LIR model is presented with a short user query written in natural language and asked to retrieve relevant legal information from a knowledge source (such as statutory articles). The model performance is measured by how high its [recall](https://huggingface.co/metrics/recall) score to the reference is. A [BERT-based model](https://huggingface.co/camembert-base) trained as a dense retriever to draw information from statutory articles achieves a recall@100 of 0.57.
64
+
65
+ ### Languages
66
+
67
+ The text in the dataset is in French, as spoken in Wallonia and Brussels-Capital region. The associated BCP-47 code is `fr-BE`.
68
+
69
+ ## Dataset Structure
70
+
71
+ ### Data Instances
72
+
73
+ A typical data point comprises a question, with additional `category`, `subcategory`, and `extra_description` fields that elaborate on it, and a list of `article_ids` from the corpus of statutory articles that are relevant to the question.
74
+
75
+ An example from the BSARD test set looks as follows:
76
+ ```
77
+ {'id': '724',
78
+ 'question': 'La police peut-elle me fouiller pour chercher du cannabis ?',
79
+ 'category': 'Justice',
80
+ 'subcategory': 'Petite délinquance',
81
+ 'extra_description': 'Détenir, acheter et vendre du cannabis',
82
+ 'article_ids': '13348'}
83
+ ```
84
+
85
+ ### Data Fields
86
+
87
+ - In *questions_fr_train.csv* and *questions_fr_test.csv*:
88
+ - `id`: a `int32` feature corresponding to a unique ID number for the question.
89
+ - `question`: a `string` feature corresponding to the question.
90
+ - `category`: a `string` feature corresponding to the general topic of the question.
91
+ - `subcategory`: a `string` feature corresponding to the sub-topic of the question.
92
+ - `extra_description`: a `string` feature corresponding to the extra categorization tags of the question.
93
+ - `article_ids`: a `string` feature of comma-separated article IDs relevant to the question.
94
+
95
+ - In *articles_fr.csv*:
96
+ - `id`: a `int32` feature corresponding to a unique ID number for the article.
97
+ - `article`: a `string` feature corresponding to the full article.
98
+ - `code`: a `string` feature corresponding to the law code to which the article belongs.
99
+ - `article_no`: a `string` feature corresponding to the article number in the code.
100
+ - `description`: a `string` feature corresponding to the concatenated headings of the article.
101
+ - `law_type`: a `string` feature whose value is either *"regional"* or *"national"*.
102
+
103
+ ### Data Splits
104
+
105
+ This dataset is split into train/test set. Number of questions in each set is given below:
106
+
107
+ | | Train | Test |
108
+ | ----- | ------ | ---- |
109
+ | BSARD | 886 | 222 |
110
+
111
+ ## Dataset Creation
112
+
113
+ ### Curation Rationale
114
+
115
+ [More Information Needed]
116
+
117
+ ### Source Data
118
+
119
+ #### Initial Data Collection and Normalization
120
+
121
+ [More Information Needed]
122
+
123
+ #### Who are the source language producers?
124
+
125
+ [More Information Needed]
126
+
127
+ ### Annotations
128
+
129
+ #### Annotation process
130
+
131
+ [More Information Needed]
132
+
133
+ #### Who are the annotators?
134
+
135
+ [More Information Needed]
136
+
137
+ ### Personal and Sensitive Information
138
+
139
+ [More Information Needed]
140
+
141
+ ## Considerations for Using the Data
142
+
143
+ ### Social Impact of Dataset
144
+
145
+ In addition to helping advance the state-of-the-art in retrieving statutes relevant to a legal question, BSARD-based models could improve the efficiency of the legal information retrieval process in the context of legal research, therefore enabling researchers to devote themselves to more thoughtful parts of their research. Furthermore, BSARD can become a starting point of new open-source legal information search tools so that the socially weaker parties to disputes can benefit from a free professional assisting service.
146
+
147
+ ### Discussion of Biases
148
+
149
+ [More Information Needed]
150
+
151
+ ### Other Known Limitations
152
+
153
+ First, the corpus of articles is limited to those collected from 32 Belgian codes, which obviously does not cover the entire Belgian law as thousands of articles from decrees, directives, and ordinances are missing. During the dataset construction, all references to these uncollected articles are ignored, which causes some questions to end up with only a fraction of their initial number of relevant articles. This information loss implies that the answer contained in the remaining relevant articles might be incomplete, although it is still appropriate.
154
+
155
+ Additionally, it is essential to note that not all legal questions can be answered with statutes alone. For instance, the question “Can I evict my tenants if they make too much noise?” might not have a detailed answer within the statutory law that quantifies a specific noise threshold at which eviction is allowed. Instead, the landlord should probably rely more on case law and find precedents similar to their current situation (e.g., the tenant makes two parties a week until 2 am). Hence, some questions are better suited than others to the statutory article retrieval task, and the domain of the less suitable ones remains to be determined.
156
+
157
+ ## Additional Information
158
+
159
+ ### Dataset Curators
160
+
161
+ The dataset was created by Antoine Louis during work done at the Law & Tech lab of Maastricht University, with the help of jurists from [Droits Quotidiens](https://www.droitsquotidiens.be/fr/equipe).
162
+
163
+ ### Licensing Information
164
+
165
+ BSARD is licensed under the [Creative Commons Attribution 4.0 (CC BY-NC-SA 4.0) license](https://creativecommons.org/licenses/by-nc-sa/4.0/).
166
+
167
+ ### Citation Information
168
+
169
+ @inproceedings{louis2021statutory,
170
+ author = {Antoine Louis and
171
+ Gerasimos Spanakis},
172
+ editor = {},
173
+ title = {A Statutory Article Retrieval Dataset in French},
174
+ booktitle = {},
175
+ pages = {},
176
+ publisher = {},
177
+ year = {2021},
178
+ url = {},
179
+ doi = {}
180
+ }
181
+ ```
182
+
183
+ ### Contributions
184
+
185
+ Thanks to [@antoiloui](https://github.com/antoiloui) for adding this dataset.