paoloitaliani
commited on
Commit
•
3755a1a
1
Parent(s):
a45391e
Update README.md
Browse files
README.md
CHANGED
@@ -201,4 +201,105 @@ configs:
|
|
201 |
path: it/test-*
|
202 |
- split: validation
|
203 |
path: it/validation-*
|
204 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
path: it/test-*
|
202 |
- split: validation
|
203 |
path: it/validation-*
|
204 |
+
---
|
205 |
+
|
206 |
+
# Dataset Card for Dataset Name
|
207 |
+
## Table of Contents
|
208 |
+
- [Dataset Card for COMMA](#dataset-card-for-comma)
|
209 |
+
- [Table of Contents](#table-of-contents)
|
210 |
+
- [Dataset Description](#dataset-description)
|
211 |
+
- [Dataset Summary](#dataset-summary)
|
212 |
+
- [Languages](#languages)
|
213 |
+
- [Dataset](#dataset)
|
214 |
+
- [Data Fields](#data-fields)
|
215 |
+
- [Data Splits](#data-splits)
|
216 |
+
- [Dataset Sheet (Datasheet)](#dataset-sheet-datasheet)
|
217 |
+
- [Additional Information](#additional-information)
|
218 |
+
- [Dataset Curators](#dataset-curators)
|
219 |
+
- [Licensing Information](#licensing-information)
|
220 |
+
- [Citation Information](#citation-information)
|
221 |
+
- [Release History](#release-history)
|
222 |
+
|
223 |
+
|
224 |
+
## Dataset Description
|
225 |
+
|
226 |
+
- **Homepage:**
|
227 |
+
- **Repository:**
|
228 |
+
- **Paper:**
|
229 |
+
- **Leaderboard:**
|
230 |
+
- **Point of Contact:**
|
231 |
+
|
232 |
+
### Dataset Summary
|
233 |
+
COMMA is a constitutional multi-task and multi-lingual archive consisting of 14K CCIR rulings with expert-authored annotations. It embodies distinctive features that render it a valuable object of study for broader NLP research.
|
234 |
+
|
235 |
+
### Supported Tasks and Leaderboards
|
236 |
+
|
237 |
+
[More Information Needed]
|
238 |
+
|
239 |
+
### Languages
|
240 |
+
Italian, English, Spanish, French
|
241 |
+
|
242 |
+
|
243 |
+
## Dataset
|
244 |
+
|
245 |
+
### Data Fields
|
246 |
+
|
247 |
+
The dataset contains a list of instances (rulings); each instance contains the following data:
|
248 |
+
|
249 |
+
| Field | Description |
|
250 |
+
|-------------------------: | ------------------------------------------------: |
|
251 |
+
| id | `(str)` The ruling ID |
|
252 |
+
| ruling_type | `(int)` The ruling type |
|
253 |
+
| epigraph | `(str)` The ruling epigraph |
|
254 |
+
| text | `(str)` The ruling text |
|
255 |
+
| decision | `(str)` The ruling decision |
|
256 |
+
| maxims_text | `(str)` The text of ruling maxims |
|
257 |
+
| maxims_title | `(str)` The title of ruling maxims |
|
258 |
+
| full_text | `(str)` The ruling full_text |
|
259 |
+
| num_maxims | `(int)` The number of maxims |
|
260 |
+
| maxims_len | `(int)` The length of maxims |
|
261 |
+
| full_text_len | `(int)` The length of the full text |
|
262 |
+
| judgment_type | `(int)` The judgment type |
|
263 |
+
| constitutional_parameters | `(List[List[str]])` The constitutional parameters |
|
264 |
+
| maxims | `(dict)` The maxims' numbers, texts, and titles |
|
265 |
+
|
266 |
+
Please check the exemplar usage below for loading the data:
|
267 |
+
|
268 |
+
```python
|
269 |
+
from datasets import load_dataset
|
270 |
+
|
271 |
+
comma_en = load_dataset("disi-unibo-nlp/COMMA", "en")
|
272 |
+
# Download comma_en locally and load it as a Dataset object.
|
273 |
+
|
274 |
+
example = comma_en["validation"][0] # The first instance of the dev set
|
275 |
+
example["full_text"] # The full text (i.e., epigraph + text + decision) for the ruling
|
276 |
+
|
277 |
+
print(example['maxims_title']) # The corresponding maxims title for the ruling
|
278 |
+
```
|
279 |
+
|
280 |
+
### Data Splits
|
281 |
+
|
282 |
+
| IT | Instances |
|
283 |
+
| ----------: | --------: |
|
284 |
+
| Train (90%) | 12,600 |
|
285 |
+
| Test (5%) | 700 |
|
286 |
+
| Dev (5%) | 700 |
|
287 |
+
|
288 |
+
| EN | Instances |
|
289 |
+
| ----------: | --------: |
|
290 |
+
| Train (90%) | 12,600 |
|
291 |
+
| Test (5%) | 700 |
|
292 |
+
| Dev (5%) | 700 |
|
293 |
+
|
294 |
+
| ES | Instances |
|
295 |
+
| ----------: | --------: |
|
296 |
+
| Train (90%) | 12,600 |
|
297 |
+
| Test (5%) | 700 |
|
298 |
+
| Dev (5%) | 700 |
|
299 |
+
|
300 |
+
| FR | Instances |
|
301 |
+
| ----------: | --------: |
|
302 |
+
| Train (90%) | 12,600 |
|
303 |
+
| Test (5%) | 700 |
|
304 |
+
| Dev (5%) | 700 |
|
305 |
+
|