kiddothe2b
commited on
Commit
•
4f095b0
1
Parent(s):
baa1d7c
All datasets
Browse files- data_files/canadian-court-cases_train_1.jsonl.tar.xz +3 -0
- data_files/canadian-legislation_train_1.jsonl.tar.xz +3 -0
- data_files/ecthr-cases_train_1.jsonl.tar.xz +3 -0
- data_files/eu-court-cases_train_1.jsonl.tar.xz +3 -0
- data_files/eu-legislation_train_1.jsonl.tar.xz +3 -0
- data_files/indian-court-cases_train_1.jsonl.tar.xz +3 -0
- data_files/uk-court-cases_train_1.jsonl.tar.xz +3 -0
- data_files/uk-legislation_train_1.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_1.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_2.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_3.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_4.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_5.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_6.jsonl.tar.xz +3 -0
- data_files/us-contracts_train_7.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_1.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_10.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_11.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_12.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_13.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_14.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_15.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_16.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_2.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_3.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_4.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_5.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_6.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_7.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_8.jsonl.tar.xz +3 -0
- data_files/us-court-cases_train_9.jsonl.tar.xz +3 -0
- data_files/us-legislation_train_1.jsonl.tar.xz +3 -0
- the_legal_pile_preprocessed.py +4 -4
data_files/canadian-court-cases_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b2083f47887e17e99101cb71c3339471b5036bfab667ca74e94efca0f903b50
|
3 |
+
size 35651056
|
data_files/canadian-legislation_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ecb07bf218767b553f9a6b0bcd575c490b497d8c657241feb8a261e54099a96
|
3 |
+
size 23613148
|
data_files/ecthr-cases_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51f83425f65c1cce8d80f1b2400071b4999af895ddd77033a6b09e2265adfbaa
|
3 |
+
size 72045576
|
data_files/eu-court-cases_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9bbb7c57489671fd9f0beddb1114be2563872de34968e74d3399872a4af078f
|
3 |
+
size 165353340
|
data_files/eu-legislation_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee61b2d7061c458e1405089a4ad5287850e0e99dd466c4da0bad93d8fb3dfc5b
|
3 |
+
size 167242400
|
data_files/indian-court-cases_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cae2f5215e17757219cd495fcb5a5dde2328abf5856f376a83d7cf2ba96efc1b
|
3 |
+
size 118583676
|
data_files/uk-court-cases_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bed44a27d033e3aa2a37dfbb2354d28ff341367e9acf148b21b5ca2ed707c5c9
|
3 |
+
size 421284600
|
data_files/uk-legislation_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5691e0d4db550a53aecf507a75a834ccc36c823ada9f286eb6324d2581540720
|
3 |
+
size 106525268
|
data_files/us-contracts_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54b40a5ead2f9010a855a1ac7d28c7951ba9559097d346b2208e862aeb223a35
|
3 |
+
size 758756932
|
data_files/us-contracts_train_2.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00e7f485dfc1a8585e3c862b15497baf3fac47c4dfa43e0beeb2121a2a48bdf9
|
3 |
+
size 765131460
|
data_files/us-contracts_train_3.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1859a3325e2500c724eacde04cb2de7a1ca228ac71d44c37d1e900a7074941b
|
3 |
+
size 772145672
|
data_files/us-contracts_train_4.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34446d047b14680475f3fa81fd3dbeacac22951db497b424fd59e0a36ed80df9
|
3 |
+
size 786496852
|
data_files/us-contracts_train_5.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d5e9f86228d6d3552bd8fe60c76bfb974ccb98581897f4057af7d873e5bf8bd
|
3 |
+
size 795666432
|
data_files/us-contracts_train_6.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3e02d543480b189b5f333a9c9f1c1b9c485d4fdb359416ff61759d04b65818a
|
3 |
+
size 803773744
|
data_files/us-contracts_train_7.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63dc7cc98721599fcf97efc89711fba54f3685173bf1a2aed3cc3b66f76dd26f
|
3 |
+
size 381908304
|
data_files/us-court-cases_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98379dabe1d29e78dcd0dafc7c4e21d1cf58d8db0140317670ebc34c38efa95c
|
3 |
+
size 872462664
|
data_files/us-court-cases_train_10.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af652cc42ea7188a1b2f8361dbb4a1a6a1dc698cedab9445bb826ae9c5fedba4
|
3 |
+
size 958198288
|
data_files/us-court-cases_train_11.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b10aeaada6e79a75b25a33ef72d836521f9cc5e30deda669227973f33049e00
|
3 |
+
size 971198956
|
data_files/us-court-cases_train_12.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfaaa475ec06af0c1d84079822a983aebc51c7c1aed056c64a4095fa56ec5cb6
|
3 |
+
size 987491968
|
data_files/us-court-cases_train_13.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bd7c70bbfb0b01ddef86c100a30034d413327d09a59b06f967472289abc8c5d
|
3 |
+
size 970631004
|
data_files/us-court-cases_train_14.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce1352dc8b8faf4affe319d46e9234d55ec637be14f6ebc993478ba07e9b8fb5
|
3 |
+
size 964811044
|
data_files/us-court-cases_train_15.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85b522942099bf6c46f7b1c2f3f3de089861f791b60fc2ee0ee94732b2cf51d5
|
3 |
+
size 964123440
|
data_files/us-court-cases_train_16.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08c7edaf921c0a720624c2b3463e71b1ff2f77daeb2a270f39d8bfe4b08e8dd6
|
3 |
+
size 928457520
|
data_files/us-court-cases_train_2.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78bfc40fe3d887ca17535a7352a52e0bebc5c7076810ebda1d7254a7d26bfc2d
|
3 |
+
size 952512936
|
data_files/us-court-cases_train_3.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a1f8e7fd876501db662f4208bb353e4fa2acc36a376a1bb48310950639cbe06
|
3 |
+
size 969902612
|
data_files/us-court-cases_train_4.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2898209e68bb59c718e3e825db47be13476f741e251dbdf55952bcc55ecb67a
|
3 |
+
size 968842604
|
data_files/us-court-cases_train_5.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95335638f49e2f5ffd0f82ff9634889801676745c8c613331d4fb1c697a540b8
|
3 |
+
size 876945220
|
data_files/us-court-cases_train_6.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bd36ca064bf9e751b238f97f1ff08dbe7866e0c23c63a9da23e6c1623025379
|
3 |
+
size 922472684
|
data_files/us-court-cases_train_7.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:702b277329e8aea15fd669fe838a0eef7eb32cc7896782ccdea1107343a34654
|
3 |
+
size 967968940
|
data_files/us-court-cases_train_8.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a707e1cd4dec21e47ba88f23cf45e7bb4fc09dce8f4d85ae55151669b1d1dc40
|
3 |
+
size 987117596
|
data_files/us-court-cases_train_9.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcd25280628ad9e641a30eea3a2b157f35a130270e60ca10e815d2910004e53d
|
3 |
+
size 972148964
|
data_files/us-legislation_train_1.jsonl.tar.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:992404795a662e6b921622da5864d9d0bcc64ef2bbffd2feb6b10d3836dd1269
|
3 |
+
size 711041576
|
the_legal_pile_preprocessed.py
CHANGED
@@ -38,8 +38,8 @@ class LegalPileConfig(datasets.BuilderConfig):
|
|
38 |
def __init__(self, name, n_files, **kwargs):
|
39 |
super(LegalPileConfig, self).__init__(**kwargs)
|
40 |
self.name = name
|
41 |
-
self.filepath = f'https://huggingface.co/datasets/lexlms/the_legal_pile_preprocessed/' \
|
42 |
-
f'resolve/main/{self.name}.jsonl.xz'
|
43 |
self.n_files = n_files
|
44 |
|
45 |
|
@@ -98,12 +98,12 @@ class LegalPile(datasets.GeneratorBasedBuilder):
|
|
98 |
),
|
99 |
LegalPileConfig(
|
100 |
name=f"us-contracts",
|
101 |
-
n_files=
|
102 |
description="US Contracts",
|
103 |
),
|
104 |
LegalPileConfig(
|
105 |
name=f"us-court-cases",
|
106 |
-
n_files=
|
107 |
description="US Court cases",
|
108 |
)
|
109 |
]
|
|
|
38 |
def __init__(self, name, n_files, **kwargs):
|
39 |
super(LegalPileConfig, self).__init__(**kwargs)
|
40 |
self.name = name
|
41 |
+
self.filepath = f'https://huggingface.co/datasets/lexlms/the_legal_pile_preprocessed/data_files/' \
|
42 |
+
f'resolve/main/{self.name}.jsonl.tar.xz'
|
43 |
self.n_files = n_files
|
44 |
|
45 |
|
|
|
98 |
),
|
99 |
LegalPileConfig(
|
100 |
name=f"us-contracts",
|
101 |
+
n_files=7,
|
102 |
description="US Contracts",
|
103 |
),
|
104 |
LegalPileConfig(
|
105 |
name=f"us-court-cases",
|
106 |
+
n_files=16,
|
107 |
description="US Court cases",
|
108 |
)
|
109 |
]
|