Commit
·
6b471f8
1
Parent(s):
c78f938
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,17 +20,9 @@ task_ids:
|
|
| 20 |
- language-modeling
|
| 21 |
- masked-language-modeling
|
| 22 |
pretty_name: LexFiles
|
| 23 |
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
- uk_legislation
|
| 27 |
-
- uk_court_cases
|
| 28 |
-
- us_legislation
|
| 29 |
-
- us_court_cases
|
| 30 |
-
- us_contracts
|
| 31 |
-
- canadian_legislation
|
| 32 |
-
- canadian_court_cases
|
| 33 |
-
- indian_court_cases
|
| 34 |
---
|
| 35 |
|
| 36 |
|
|
@@ -66,7 +58,7 @@ The corpus contains approx. 19 billion tokens. In comparison, the "Pile of Law"
|
|
| 66 |
| Indian Court Decisions | `indian-court-cases` | 34.8K | 111.6M | 0.6% | 3.4% | 6.9% |
|
| 67 |
| Canadian Legislation | `canadian-legislation` | 6K | 33.5M | 0.2% | 1.9% | 5.5% |
|
| 68 |
| Canadian Court Decisions | `canadian-court-cases` | 11.3K | 33.1M | 0.2% | 1.8% | 5.4% |
|
| 69 |
-
| U.S. Court Decisions [1] | `court-
|
| 70 |
| U.S. Legislation | `us-legislation` | 518 | 1.4B | 7.4% | 12.3% | 11.5% |
|
| 71 |
| U.S. Contracts | `us-contracts` | 622K | 5.3B | 27.3% | 23.6% | 15.0% |
|
| 72 |
| Total | `lexlms/lex_files` | 5.8M | 18.8B | 100% | 100% | 100% |
|
|
@@ -82,24 +74,37 @@ Additional corpora not considered for pre-training, since they do not represent
|
|
| 82 |
| Legal web pages from C4 | `legal-c4` | 284K | 340M |
|
| 83 |
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
### Citation
|
| 86 |
|
| 87 |
[*Ilias Chalkidis\*, Nicolas Garneau\*, Catalina E.C. Goanta, Daniel Martin Katz, and Anders Søgaard.*
|
| 88 |
*LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development.*
|
| 89 |
-
*2022. In the Proceedings of the 61th Annual Meeting of the Association for Computational Linguistics. Toronto, Canada.*](https://
|
| 90 |
```
|
| 91 |
-
@inproceedings{chalkidis-
|
| 92 |
-
title = {{
|
| 93 |
-
author = "Chalkidis
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics",
|
| 99 |
-
month =
|
| 100 |
year = "2023",
|
| 101 |
address = "Toronto, Canada",
|
| 102 |
publisher = "Association for Computational Linguistics",
|
| 103 |
-
url = "https://
|
|
|
|
| 104 |
}
|
|
|
|
| 105 |
```
|
|
|
|
| 20 |
- language-modeling
|
| 21 |
- masked-language-modeling
|
| 22 |
pretty_name: LexFiles
|
| 23 |
+
tags:
|
| 24 |
+
- legal
|
| 25 |
+
- law
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
|
|
|
|
| 58 |
| Indian Court Decisions | `indian-court-cases` | 34.8K | 111.6M | 0.6% | 3.4% | 6.9% |
|
| 59 |
| Canadian Legislation | `canadian-legislation` | 6K | 33.5M | 0.2% | 1.9% | 5.5% |
|
| 60 |
| Canadian Court Decisions | `canadian-court-cases` | 11.3K | 33.1M | 0.2% | 1.8% | 5.4% |
|
| 61 |
+
| U.S. Court Decisions [1] | `us-court-cases` | 4.6M | 11.4B | 59.2% | 34.7% | 17.5% |
|
| 62 |
| U.S. Legislation | `us-legislation` | 518 | 1.4B | 7.4% | 12.3% | 11.5% |
|
| 63 |
| U.S. Contracts | `us-contracts` | 622K | 5.3B | 27.3% | 23.6% | 15.0% |
|
| 64 |
| Total | `lexlms/lex_files` | 5.8M | 18.8B | 100% | 100% | 100% |
|
|
|
|
| 74 |
| Legal web pages from C4 | `legal-c4` | 284K | 340M |
|
| 75 |
|
| 76 |
|
| 77 |
+
### Usage
|
| 78 |
+
|
| 79 |
+
Load a specific sub-corpus, given the corpus alias, as presented above.
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
from datasets import load_dataset
|
| 83 |
+
|
| 84 |
+
dataset = load_dataset('lexlms/lex_files', name='us-court-cases')
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
### Citation
|
| 89 |
|
| 90 |
[*Ilias Chalkidis\*, Nicolas Garneau\*, Catalina E.C. Goanta, Daniel Martin Katz, and Anders Søgaard.*
|
| 91 |
*LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development.*
|
| 92 |
+
*2022. In the Proceedings of the 61th Annual Meeting of the Association for Computational Linguistics. Toronto, Canada.*](https://aclanthology.org/2023.acl-long.865/)
|
| 93 |
```
|
| 94 |
+
@inproceedings{chalkidis-etal-2023-lexfiles,
|
| 95 |
+
title = "{L}e{XF}iles and {L}egal{LAMA}: Facilitating {E}nglish Multinational Legal Language Model Development",
|
| 96 |
+
author = "Chalkidis, Ilias and
|
| 97 |
+
Garneau, Nicolas and
|
| 98 |
+
Goanta, Catalina and
|
| 99 |
+
Katz, Daniel and
|
| 100 |
+
S{\o}gaard, Anders",
|
| 101 |
+
booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
|
| 102 |
+
month = jul,
|
| 103 |
year = "2023",
|
| 104 |
address = "Toronto, Canada",
|
| 105 |
publisher = "Association for Computational Linguistics",
|
| 106 |
+
url = "https://aclanthology.org/2023.acl-long.865",
|
| 107 |
+
pages = "15513--15535",
|
| 108 |
}
|
| 109 |
+
|
| 110 |
```
|