kiddothe2b commited on
Commit
1b2a38e
·
1 Parent(s): 70364d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -1
README.md CHANGED
@@ -1,3 +1,101 @@
1
  ---
2
- license: cc-by-nc-sa-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - found
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license:
9
+ - cc-by-nc-sa-4.0
10
+ multilinguality:
11
+ - monolingual
12
+ size_categories:
13
+ - 10K<n<100K
14
+ source_datasets:
15
+ - extended
16
+ task_categories:
17
+ - text-classification
18
+ pretty_name: LexFiles
19
+ configs:
20
+ - eu_legislation
21
+ - eu_court_cases
22
+ - uk_legislation
23
+ - uk_court_cases
24
+ - us_legislation
25
+ - us_court_cases
26
+ - us_contracts
27
+ - canadian_legislation
28
+ - canadian_court_cases
29
+ - indian_court_cases
30
  ---
31
+
32
+
33
+ # Dataset Card for "LexFiles"
34
+
35
+ ## Table of Contents
36
+ - [Dataset Description](#dataset-description)
37
+ - [Dataset Summary](#dataset-summary)
38
+ - [Dataset Specifications](#supported-tasks-and-leaderboards)
39
+
40
+ ## Dataset Description
41
+
42
+ - **Homepage:** https://github.com/coastalcph/lexlms
43
+ - **Repository:** https://github.com/coastalcph/lexlms
44
+ - **Paper:** https://arxiv.org/abs/xxx
45
+ - **Point of Contact:** [Ilias Chalkidis](mailto:ilias.chalkidis@di.ku.dk)
46
+
47
+ ### Dataset Summary
48
+
49
+ The LeXFiles is a new diverse English multinational legal corpus that we created including 11 distinct sub-corpora that cover legislation and case law from 6 primarily English-speaking legal systems (EU, CoE, Canada, US, UK, India).
50
+ The corpus contains approx. 19 billion tokens. In comparison, the "Pile of Law" corpus released by Hendersons et al. (2022) comprises 32 billion in total, where the majority (26/30) of sub-corpora come from the United States of America (USA), hence the corpus as a whole is biased towards the US legal system in general, and the federal or state jurisdiction in particular, to a significant extent.
51
+
52
+
53
+ ### Dataset Specifications
54
+
55
+ | Corpus | Corpus alias | Documents | Tokens | Pct. | Sampl. (a=0.5) | Sampl. (a=0.2) |
56
+ |-----------------------------------|----------------------|-----------|--------|--------|----------------|----------------|
57
+ | :eu: EU Legislation | `eu-legislation` | 93.7K | 233.7M | 1.2% | 5.0% | 8.0% |
58
+ | :eu: EU Court Decisions | `eu-court-cases` | 29.8K | 178.5M | 0.9% | 4.3% | 7.6% |
59
+ | :eu: ECtHR Decisions | `ecthr-cases` | 12.5K | 78.5M | 0.4% | 2.9% | 6.5% |
60
+ | :uk: UK Legislation | `uk-legislation` | 52.5K | 143.6M | 0.7% | 3.9% | 7.3% |
61
+ | :uk: UK Court Decisions | `uk-court-cases` | 47K | 368.4M | 1.9% | 6.2% | 8.8% |
62
+ | :india: Indian Court Decisions | `indian-court-cases` | 34.8K | 111.6M | 0.6% | 3.4% | 6.9% |
63
+ | :canada: Canadian Legislation | `canada-legislation` | 6K | 33.5M | 0.2% | 1.9% | 5.5% |
64
+ | :canada: Canadian Court Decisions | `canadian_decisions` | 11.3K | 33.1M | 0.2% | 1.8% | 5.4% |
65
+ | :us: U.S. Court Decisions [1] | `court-listener` | 4.6M | 11.4B | 59.2% | 34.7% | 17.5% |
66
+ | :us: U.S. Legislation | `us-legislation` | 518 | 1.4B | 7.4% | 12.3% | 11.5% |
67
+ | :us: U.S. Contracts | `us-contracts` | 622K | 5.3B | 27.3% | 23.6% | 15.0% |
68
+ | Total | `lexlms/lexfiles` | 5.8M | 18.8B | 100% | 100% | 100% |
69
+
70
+ [1] We consider only U.S. Court Decisions from 1965 onwards (cf. post Civil Rights Act), as a hard threshold for cases relying on severely out-dated and in many cases harmful law standards. The rest of the corpora include more recent documents.
71
+
72
+ [2] Sampling (Sampl.) ratios are computed following the exponential sampling introduced by Lample et al. (2019).
73
+
74
+ Additional corpora not considered for pre-training, since they do not represent factual legal knowledge.
75
+
76
+ | Corpus | Corpus alias | Documents | Tokens |
77
+ |----------------------------------------|------------------------|-----------|--------|
78
+ | :world_map: Legal web pages from C4 | `legal-c4` | 284K | 340M |
79
+
80
+
81
+ ### Citation
82
+
83
+ [*Ilias Chalkidis\*, Nicolas Garneau\*, Catalina E.C. Goanta, Daniel Martin Katz, and Anders Søgaard.*
84
+ *LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development.*
85
+ *2022. In the Proceedings of the 61th Annual Meeting of the Association for Computational Linguistics. Toronto, Canada.*](https://aclanthology.org/xxx/)
86
+ ```
87
+ @inproceedings{chalkidis-garneau-etal-2023-lexlms,
88
+ title = {{LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development}},
89
+ author = "Chalkidis*, Ilias and
90
+ Garneau*, Nicolas and
91
+ Goanta, Catalina and
92
+ Katz, Daniel Martin and
93
+ Søgaard, Anders",
94
+ booktitle = "Proceedings of the 61h Annual Meeting of the Association for Computational Linguistics",
95
+ month = june,
96
+ year = "2023",
97
+ address = "Toronto, Canada",
98
+ publisher = "Association for Computational Linguistics",
99
+ url = "https://aclanthology.org/xxx",
100
+ }
101
+ ```