Datasets:

Languages:
English
ArXiv:
License:
File size: 3,107 Bytes
fe556a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f583d1
fe556a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f583d1
fe556a4
 
 
 
 
 
 
 
 
 
 
 
 
4f583d1
fe556a4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license:
- cc-by-nc-sa-4.0
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
source_datasets:
- extended
task_categories:
- text-generation
- fill-mask
task_ids:
- masked-language-modeling
pretty_name: LegalLAMA
configs:
- canadian_sections
- cjeu_terms
- contract_sections
- contract_types
- ecthr_articles
- ecthr_terms
- us_crimes
- us_terms
---

# Dataset Card for "LegalLAMA"

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Dataset Specifications](#supported-tasks-and-leaderboards)
 
## Dataset Description
- **Homepage:** https://github.com/coastalcph/lexlms
- **Repository:** https://github.com/coastalcph/lexlms
- **Paper:** https://arxiv.org/abs/2305.07507
- **Point of Contact:** [Ilias Chalkidis](mailto:[email protected])

### Dataset Summary

LegalLAMA is a diverse probing benchmark suite comprising 8 sub-tasks that aims to assess the acquaintance of legal knowledge that PLMs acquired in pre-training.

### Dataset Specifications

| Corpus                               | Corpus alias         | Examples  | Avg. Tokens | Labels |
|--------------------------------------|----------------------|-----------|-------------|--------|
| Criminal Code Sections (Canada)      | `canadian_sections`  | 321       | 72          | 144    |
| Legal Terminology (EU)               | `cjeu_term`          | 2,127     | 164         | 23     |
| Contractual Section Titles (US)      | `contract_sections`  | 1,527     | 85          | 20     |
| Contract Types (US)                  | `contract_types`     | 1,089     | 150         | 15     |
| ECHR Articles (CoE)                  | `ecthr_articles`     | 5,072     | 69          | 13     |
| Legal Terminology (CoE)              | `ecthr_terms`        | 6,803     | 97          | 250    |
| Crime Charges (US)                   | `us_crimes`          | 4,518     | 118         | 59     |
| Legal Terminology (US)               | `us_terms`           | 5,829     | 308         | 7      |

### Citation

[*Ilias Chalkidis\*, Nicolas Garneau\*, Catalina E.C. Goanta, Daniel Martin Katz, and Anders Søgaard.*
*LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development.*
*2022. In the Proceedings of the 61th Annual Meeting of the Association for Computational Linguistics. Toronto, Canada.*](https://arxiv.org/abs/2305.07507)
```
@inproceedings{chalkidis-garneau-etal-2023-lexlms,
    title = {{LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development}},
    author = "Chalkidis*, Ilias and 
              Garneau*, Nicolas and
              Goanta, Catalina and 
              Katz, Daniel Martin and 
              Søgaard, Anders",
    booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics",
    month = june,
    year = "2023",
    address = "Toronto, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/2305.07507",
}
```