tobiasbrugger
commited on
Commit
•
6f4e2b6
1
Parent(s):
b491814
First Version
Browse files- Multilingual-SBD.py +148 -0
- README.md +1095 -0
Multilingual-SBD.py
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import datasets
|
2 |
+
from huggingface_hub.file_download import hf_hub_url
|
3 |
+
import glob
|
4 |
+
import json
|
5 |
+
import pandas as pd
|
6 |
+
|
7 |
+
try:
|
8 |
+
import lzma as xz
|
9 |
+
except ImportError:
|
10 |
+
import pylzma as xz
|
11 |
+
datasets.logging.set_verbosity_info()
|
12 |
+
logger = datasets.logging.get_logger(__name__)
|
13 |
+
|
14 |
+
_DESCRIPTION ="""\
|
15 |
+
|
16 |
+
"""
|
17 |
+
|
18 |
+
_HOMEPAGE = ""
|
19 |
+
|
20 |
+
_LICENSE = ""
|
21 |
+
|
22 |
+
_CITATION = ""
|
23 |
+
|
24 |
+
_URL = {
|
25 |
+
'data/'
|
26 |
+
}
|
27 |
+
_LANGUAGES = [
|
28 |
+
"fr","it","es","en","de","pt"
|
29 |
+
]
|
30 |
+
|
31 |
+
_TYPES = [
|
32 |
+
"laws", "judgements"
|
33 |
+
]
|
34 |
+
|
35 |
+
_SOURCES = [
|
36 |
+
"MultiLegalPile", "Wipolex", "Jug", "BVA", "CC", "IP", "SCOTUS", "SwissJudgementPrediction"
|
37 |
+
"Gesetz", "Constitution", "CivilCode", "CriminalCode",
|
38 |
+
]
|
39 |
+
|
40 |
+
|
41 |
+
"""
|
42 |
+
see https://huggingface.co/datasets/joelito/MultiLegalPile_Wikipedia_Filtered/blob/main/MultiLegalPile_Wikipedia_Filtered.py
|
43 |
+
"""
|
44 |
+
_HIGHEST_NUMBER_OF_SHARDS = 4
|
45 |
+
class MultilingualSBDConfig(datasets.BuilderConfig):
|
46 |
+
|
47 |
+
def __init__(self, name:str, **kwargs):
|
48 |
+
super( MultilingualSBDConfig, self).__init__(**kwargs)
|
49 |
+
self.name = name
|
50 |
+
self.language = name.split("_")[0]
|
51 |
+
self.type = name.split("_")[1]
|
52 |
+
#self.source = name.split("_")[2]
|
53 |
+
|
54 |
+
class MultilingualSBD(datasets.GeneratorBasedBuilder):
|
55 |
+
|
56 |
+
|
57 |
+
BUILDER_CONFIG_CLASS = MultilingualSBDConfig
|
58 |
+
|
59 |
+
BUILDER_CONFIGS = [
|
60 |
+
MultilingualSBDConfig(f"{language}_{type}")
|
61 |
+
for language in _LANGUAGES + ['all']
|
62 |
+
for type in _TYPES + ["all"]
|
63 |
+
]
|
64 |
+
DEFAULT_CONFIG_NAME = 'all_all'
|
65 |
+
def _info(self):
|
66 |
+
features = datasets.Features(
|
67 |
+
{
|
68 |
+
#"language": datasets.Value("string"), #in _LANGUAGES
|
69 |
+
#"type": datasets.Value("string"), # in _TYPES
|
70 |
+
#"subtype": datasets.Value("string"), # in _SUBTYPES
|
71 |
+
"text": datasets.Value("string"),
|
72 |
+
"source": datasets.Value("string"),
|
73 |
+
"spans": datasets.Sequence(
|
74 |
+
{
|
75 |
+
"start": datasets.Value("int64"),
|
76 |
+
"end": datasets.Value("int64"),
|
77 |
+
"token_start": datasets.Value("int64"),
|
78 |
+
"token_end": datasets.Value("int64"),
|
79 |
+
"label": datasets.Value("string")
|
80 |
+
}
|
81 |
+
),
|
82 |
+
"tokens": datasets.Sequence(
|
83 |
+
{
|
84 |
+
"text": datasets.Value("string"),
|
85 |
+
"start": datasets.Value("int64"),
|
86 |
+
"end": datasets.Value("int64"),
|
87 |
+
"id": datasets.Value("int64"),
|
88 |
+
"ws": datasets.Value("bool")
|
89 |
+
|
90 |
+
}
|
91 |
+
)
|
92 |
+
}
|
93 |
+
)
|
94 |
+
return datasets.DatasetInfo(
|
95 |
+
description=_DESCRIPTION,
|
96 |
+
features = features,
|
97 |
+
homepage = _HOMEPAGE,
|
98 |
+
citation=_CITATION
|
99 |
+
)
|
100 |
+
|
101 |
+
def _split_generators(self, dl_manager):
|
102 |
+
def download_url(filename):
|
103 |
+
url = hf_hub_url(
|
104 |
+
repo_id="tbrugger/Multilingual-SBD",
|
105 |
+
filename = f'data/{filename}.jsonl.xz',
|
106 |
+
repo_type='dataset'
|
107 |
+
)
|
108 |
+
return dl_manager.download(url)
|
109 |
+
languages = _LANGUAGES if self.config.language == "all" else [self.config.language]
|
110 |
+
types = _TYPES if self.config.type == 'all' else [self.config.type]
|
111 |
+
#sources = _SOURCES if self.config.source == 'all' else [self.config.source]
|
112 |
+
|
113 |
+
split_generators = []
|
114 |
+
for split in [datasets.Split.TRAIN]:
|
115 |
+
filepaths = []
|
116 |
+
for language in languages:
|
117 |
+
for type in types:
|
118 |
+
for shard in range(_HIGHEST_NUMBER_OF_SHARDS):
|
119 |
+
try:
|
120 |
+
filepaths.append(download_url(f'{language}_{type}_{shard}'))
|
121 |
+
except:
|
122 |
+
break
|
123 |
+
|
124 |
+
split_generators.append(
|
125 |
+
datasets.SplitGenerator(name=split, gen_kwargs={'filepaths': filepaths})
|
126 |
+
)
|
127 |
+
|
128 |
+
return split_generators
|
129 |
+
|
130 |
+
def _generate_examples(self,filepaths):
|
131 |
+
id_ = 0
|
132 |
+
for filepath in filepaths:
|
133 |
+
if filepath:
|
134 |
+
logger.info("Generating examples from = %s", filepath)
|
135 |
+
try:
|
136 |
+
with xz.open(open(filepath,'rb'), 'rt', encoding='utf-8') as f:
|
137 |
+
json_list = list(f)
|
138 |
+
|
139 |
+
for json_str in json_list:
|
140 |
+
example = json.loads(json_str)
|
141 |
+
if example is not None and isinstance(example, dict):
|
142 |
+
yield id_, example
|
143 |
+
id_ +=1
|
144 |
+
|
145 |
+
except Exception:
|
146 |
+
logger.exception("Error while processing file %s", filepath)
|
147 |
+
|
148 |
+
|
README.md
ADDED
@@ -0,0 +1,1095 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
dataset_info:
|
3 |
+
- config_name: fr_Laws
|
4 |
+
features:
|
5 |
+
- name: text
|
6 |
+
dtype: string
|
7 |
+
- name: spans
|
8 |
+
sequence:
|
9 |
+
- name: start
|
10 |
+
dtype: int32
|
11 |
+
- name: end
|
12 |
+
dtype: int32
|
13 |
+
- name: label
|
14 |
+
dtype: string
|
15 |
+
- name: token_start
|
16 |
+
dtype: int32
|
17 |
+
- name: token_end
|
18 |
+
dtype: int32
|
19 |
+
- name: tokens
|
20 |
+
sequence:
|
21 |
+
- name: text
|
22 |
+
dtype: string
|
23 |
+
- name: start
|
24 |
+
dtype: int32
|
25 |
+
- name: end
|
26 |
+
dtype: int32
|
27 |
+
- name: id
|
28 |
+
dtype: int32
|
29 |
+
- name: ws
|
30 |
+
dtype: bool
|
31 |
+
splits:
|
32 |
+
- name: train
|
33 |
+
num_bytes: 8773683
|
34 |
+
num_examples: 2131
|
35 |
+
download_size: 0
|
36 |
+
dataset_size: 8773683
|
37 |
+
- config_name: it_Laws
|
38 |
+
features:
|
39 |
+
- name: text
|
40 |
+
dtype: string
|
41 |
+
- name: spans
|
42 |
+
sequence:
|
43 |
+
- name: start
|
44 |
+
dtype: int32
|
45 |
+
- name: end
|
46 |
+
dtype: int32
|
47 |
+
- name: label
|
48 |
+
dtype: string
|
49 |
+
- name: token_start
|
50 |
+
dtype: int32
|
51 |
+
- name: token_end
|
52 |
+
dtype: int32
|
53 |
+
- name: tokens
|
54 |
+
sequence:
|
55 |
+
- name: text
|
56 |
+
dtype: string
|
57 |
+
- name: start
|
58 |
+
dtype: int32
|
59 |
+
- name: end
|
60 |
+
dtype: int32
|
61 |
+
- name: id
|
62 |
+
dtype: int32
|
63 |
+
- name: ws
|
64 |
+
dtype: bool
|
65 |
+
splits:
|
66 |
+
- name: train
|
67 |
+
num_bytes: 8130577
|
68 |
+
num_examples: 2910
|
69 |
+
download_size: 0
|
70 |
+
dataset_size: 8130577
|
71 |
+
- config_name: es_Laws
|
72 |
+
features:
|
73 |
+
- name: text
|
74 |
+
dtype: string
|
75 |
+
- name: spans
|
76 |
+
sequence:
|
77 |
+
- name: start
|
78 |
+
dtype: int32
|
79 |
+
- name: end
|
80 |
+
dtype: int32
|
81 |
+
- name: label
|
82 |
+
dtype: string
|
83 |
+
- name: token_start
|
84 |
+
dtype: int32
|
85 |
+
- name: token_end
|
86 |
+
dtype: int32
|
87 |
+
- name: tokens
|
88 |
+
sequence:
|
89 |
+
- name: text
|
90 |
+
dtype: string
|
91 |
+
- name: start
|
92 |
+
dtype: int32
|
93 |
+
- name: end
|
94 |
+
dtype: int32
|
95 |
+
- name: id
|
96 |
+
dtype: int32
|
97 |
+
- name: ws
|
98 |
+
dtype: bool
|
99 |
+
splits:
|
100 |
+
- name: train
|
101 |
+
num_bytes: 6260211
|
102 |
+
num_examples: 677
|
103 |
+
download_size: 0
|
104 |
+
dataset_size: 6260211
|
105 |
+
- config_name: en_Laws
|
106 |
+
features:
|
107 |
+
- name: text
|
108 |
+
dtype: string
|
109 |
+
- name: spans
|
110 |
+
sequence:
|
111 |
+
- name: start
|
112 |
+
dtype: int32
|
113 |
+
- name: end
|
114 |
+
dtype: int32
|
115 |
+
- name: label
|
116 |
+
dtype: string
|
117 |
+
- name: token_start
|
118 |
+
dtype: int32
|
119 |
+
- name: token_end
|
120 |
+
dtype: int32
|
121 |
+
- name: tokens
|
122 |
+
sequence:
|
123 |
+
- name: text
|
124 |
+
dtype: string
|
125 |
+
- name: start
|
126 |
+
dtype: int32
|
127 |
+
- name: end
|
128 |
+
dtype: int32
|
129 |
+
- name: id
|
130 |
+
dtype: int32
|
131 |
+
- name: ws
|
132 |
+
dtype: bool
|
133 |
+
splits:
|
134 |
+
- name: train
|
135 |
+
download_size: 0
|
136 |
+
dataset_size: 0
|
137 |
+
- config_name: de_Laws
|
138 |
+
features:
|
139 |
+
- name: text
|
140 |
+
dtype: string
|
141 |
+
- name: spans
|
142 |
+
sequence:
|
143 |
+
- name: start
|
144 |
+
dtype: int32
|
145 |
+
- name: end
|
146 |
+
dtype: int32
|
147 |
+
- name: label
|
148 |
+
dtype: string
|
149 |
+
- name: token_start
|
150 |
+
dtype: int32
|
151 |
+
- name: token_end
|
152 |
+
dtype: int32
|
153 |
+
- name: tokens
|
154 |
+
sequence:
|
155 |
+
- name: text
|
156 |
+
dtype: string
|
157 |
+
- name: start
|
158 |
+
dtype: int32
|
159 |
+
- name: end
|
160 |
+
dtype: int32
|
161 |
+
- name: id
|
162 |
+
dtype: int32
|
163 |
+
- name: ws
|
164 |
+
dtype: bool
|
165 |
+
splits:
|
166 |
+
- name: train
|
167 |
+
num_bytes: 13792836
|
168 |
+
num_examples: 13
|
169 |
+
download_size: 0
|
170 |
+
dataset_size: 13792836
|
171 |
+
- config_name: fr_Judgements
|
172 |
+
features:
|
173 |
+
- name: text
|
174 |
+
dtype: string
|
175 |
+
- name: spans
|
176 |
+
sequence:
|
177 |
+
- name: start
|
178 |
+
dtype: int32
|
179 |
+
- name: end
|
180 |
+
dtype: int32
|
181 |
+
- name: label
|
182 |
+
dtype: string
|
183 |
+
- name: token_start
|
184 |
+
dtype: int32
|
185 |
+
- name: token_end
|
186 |
+
dtype: int32
|
187 |
+
- name: tokens
|
188 |
+
sequence:
|
189 |
+
- name: text
|
190 |
+
dtype: string
|
191 |
+
- name: start
|
192 |
+
dtype: int32
|
193 |
+
- name: end
|
194 |
+
dtype: int32
|
195 |
+
- name: id
|
196 |
+
dtype: int32
|
197 |
+
- name: ws
|
198 |
+
dtype: bool
|
199 |
+
splits:
|
200 |
+
- name: train
|
201 |
+
num_bytes: 8788244
|
202 |
+
num_examples: 315
|
203 |
+
download_size: 0
|
204 |
+
dataset_size: 8788244
|
205 |
+
- config_name: fr_all
|
206 |
+
features:
|
207 |
+
- name: text
|
208 |
+
dtype: string
|
209 |
+
- name: source
|
210 |
+
dtype: string
|
211 |
+
- name: spans
|
212 |
+
sequence:
|
213 |
+
- name: start
|
214 |
+
dtype: int64
|
215 |
+
- name: end
|
216 |
+
dtype: int64
|
217 |
+
- name: token_start
|
218 |
+
dtype: int64
|
219 |
+
- name: token_end
|
220 |
+
dtype: int64
|
221 |
+
- name: label
|
222 |
+
dtype: string
|
223 |
+
- name: tokens
|
224 |
+
sequence:
|
225 |
+
- name: text
|
226 |
+
dtype: string
|
227 |
+
- name: start
|
228 |
+
dtype: int64
|
229 |
+
- name: end
|
230 |
+
dtype: int64
|
231 |
+
- name: id
|
232 |
+
dtype: int64
|
233 |
+
- name: ws
|
234 |
+
dtype: bool
|
235 |
+
splits:
|
236 |
+
- name: train
|
237 |
+
num_bytes: 26056088
|
238 |
+
num_examples: 2446
|
239 |
+
download_size: 4782672
|
240 |
+
dataset_size: 26056088
|
241 |
+
- config_name: it_Judgements
|
242 |
+
features:
|
243 |
+
- name: text
|
244 |
+
dtype: string
|
245 |
+
- name: spans
|
246 |
+
sequence:
|
247 |
+
- name: start
|
248 |
+
dtype: int32
|
249 |
+
- name: end
|
250 |
+
dtype: int32
|
251 |
+
- name: label
|
252 |
+
dtype: string
|
253 |
+
- name: token_start
|
254 |
+
dtype: int32
|
255 |
+
- name: token_end
|
256 |
+
dtype: int32
|
257 |
+
- name: tokens
|
258 |
+
sequence:
|
259 |
+
- name: text
|
260 |
+
dtype: string
|
261 |
+
- name: start
|
262 |
+
dtype: int32
|
263 |
+
- name: end
|
264 |
+
dtype: int32
|
265 |
+
- name: id
|
266 |
+
dtype: int32
|
267 |
+
- name: ws
|
268 |
+
dtype: bool
|
269 |
+
splits:
|
270 |
+
- name: train
|
271 |
+
num_bytes: 8989061
|
272 |
+
num_examples: 243
|
273 |
+
download_size: 0
|
274 |
+
dataset_size: 8989061
|
275 |
+
- config_name: it_all
|
276 |
+
features:
|
277 |
+
- name: text
|
278 |
+
dtype: string
|
279 |
+
- name: source
|
280 |
+
dtype: string
|
281 |
+
- name: spans
|
282 |
+
sequence:
|
283 |
+
- name: start
|
284 |
+
dtype: int64
|
285 |
+
- name: end
|
286 |
+
dtype: int64
|
287 |
+
- name: token_start
|
288 |
+
dtype: int64
|
289 |
+
- name: token_end
|
290 |
+
dtype: int64
|
291 |
+
- name: label
|
292 |
+
dtype: string
|
293 |
+
- name: tokens
|
294 |
+
sequence:
|
295 |
+
- name: text
|
296 |
+
dtype: string
|
297 |
+
- name: start
|
298 |
+
dtype: int64
|
299 |
+
- name: end
|
300 |
+
dtype: int64
|
301 |
+
- name: id
|
302 |
+
dtype: int64
|
303 |
+
- name: ws
|
304 |
+
dtype: bool
|
305 |
+
splits:
|
306 |
+
- name: train
|
307 |
+
num_bytes: 25198456
|
308 |
+
num_examples: 3153
|
309 |
+
download_size: 4610540
|
310 |
+
dataset_size: 25198456
|
311 |
+
- config_name: es_Judgements
|
312 |
+
features:
|
313 |
+
- name: text
|
314 |
+
dtype: string
|
315 |
+
- name: spans
|
316 |
+
sequence:
|
317 |
+
- name: start
|
318 |
+
dtype: int32
|
319 |
+
- name: end
|
320 |
+
dtype: int32
|
321 |
+
- name: label
|
322 |
+
dtype: string
|
323 |
+
- name: token_start
|
324 |
+
dtype: int32
|
325 |
+
- name: token_end
|
326 |
+
dtype: int32
|
327 |
+
- name: tokens
|
328 |
+
sequence:
|
329 |
+
- name: text
|
330 |
+
dtype: string
|
331 |
+
- name: start
|
332 |
+
dtype: int32
|
333 |
+
- name: end
|
334 |
+
dtype: int32
|
335 |
+
- name: id
|
336 |
+
dtype: int32
|
337 |
+
- name: ws
|
338 |
+
dtype: bool
|
339 |
+
splits:
|
340 |
+
- name: train
|
341 |
+
num_bytes: 9460558
|
342 |
+
num_examples: 190
|
343 |
+
download_size: 0
|
344 |
+
dataset_size: 9460558
|
345 |
+
- config_name: es_all
|
346 |
+
features:
|
347 |
+
- name: text
|
348 |
+
dtype: string
|
349 |
+
- name: source
|
350 |
+
dtype: string
|
351 |
+
- name: spans
|
352 |
+
sequence:
|
353 |
+
- name: start
|
354 |
+
dtype: int64
|
355 |
+
- name: end
|
356 |
+
dtype: int64
|
357 |
+
- name: token_start
|
358 |
+
dtype: int64
|
359 |
+
- name: token_end
|
360 |
+
dtype: int64
|
361 |
+
- name: label
|
362 |
+
dtype: string
|
363 |
+
- name: tokens
|
364 |
+
sequence:
|
365 |
+
- name: text
|
366 |
+
dtype: string
|
367 |
+
- name: start
|
368 |
+
dtype: int64
|
369 |
+
- name: end
|
370 |
+
dtype: int64
|
371 |
+
- name: id
|
372 |
+
dtype: int64
|
373 |
+
- name: ws
|
374 |
+
dtype: bool
|
375 |
+
splits:
|
376 |
+
- name: train
|
377 |
+
num_bytes: 23118373
|
378 |
+
num_examples: 867
|
379 |
+
download_size: 4438716
|
380 |
+
dataset_size: 23118373
|
381 |
+
- config_name: en_Judgements
|
382 |
+
features:
|
383 |
+
- name: text
|
384 |
+
dtype: string
|
385 |
+
- name: spans
|
386 |
+
sequence:
|
387 |
+
- name: start
|
388 |
+
dtype: int32
|
389 |
+
- name: end
|
390 |
+
dtype: int32
|
391 |
+
- name: label
|
392 |
+
dtype: string
|
393 |
+
- name: token_start
|
394 |
+
dtype: int32
|
395 |
+
- name: token_end
|
396 |
+
dtype: int32
|
397 |
+
- name: tokens
|
398 |
+
sequence:
|
399 |
+
- name: text
|
400 |
+
dtype: string
|
401 |
+
- name: start
|
402 |
+
dtype: int32
|
403 |
+
- name: end
|
404 |
+
dtype: int32
|
405 |
+
- name: id
|
406 |
+
dtype: int32
|
407 |
+
- name: ws
|
408 |
+
dtype: bool
|
409 |
+
splits:
|
410 |
+
- name: train
|
411 |
+
num_bytes: 18401754
|
412 |
+
num_examples: 80
|
413 |
+
download_size: 0
|
414 |
+
dataset_size: 18401754
|
415 |
+
- config_name: en_all
|
416 |
+
features:
|
417 |
+
- name: text
|
418 |
+
dtype: string
|
419 |
+
- name: source
|
420 |
+
dtype: string
|
421 |
+
- name: spans
|
422 |
+
sequence:
|
423 |
+
- name: start
|
424 |
+
dtype: int64
|
425 |
+
- name: end
|
426 |
+
dtype: int64
|
427 |
+
- name: token_start
|
428 |
+
dtype: int64
|
429 |
+
- name: token_end
|
430 |
+
dtype: int64
|
431 |
+
- name: label
|
432 |
+
dtype: string
|
433 |
+
- name: tokens
|
434 |
+
sequence:
|
435 |
+
- name: text
|
436 |
+
dtype: string
|
437 |
+
- name: start
|
438 |
+
dtype: int64
|
439 |
+
- name: end
|
440 |
+
dtype: int64
|
441 |
+
- name: id
|
442 |
+
dtype: int64
|
443 |
+
- name: ws
|
444 |
+
dtype: bool
|
445 |
+
splits:
|
446 |
+
- name: train
|
447 |
+
num_bytes: 27366474
|
448 |
+
num_examples: 80
|
449 |
+
download_size: 5448700
|
450 |
+
dataset_size: 27366474
|
451 |
+
- config_name: de_Judgements
|
452 |
+
features:
|
453 |
+
- name: text
|
454 |
+
dtype: string
|
455 |
+
- name: spans
|
456 |
+
sequence:
|
457 |
+
- name: start
|
458 |
+
dtype: int32
|
459 |
+
- name: end
|
460 |
+
dtype: int32
|
461 |
+
- name: label
|
462 |
+
dtype: string
|
463 |
+
- name: token_start
|
464 |
+
dtype: int32
|
465 |
+
- name: token_end
|
466 |
+
dtype: int32
|
467 |
+
- name: tokens
|
468 |
+
sequence:
|
469 |
+
- name: text
|
470 |
+
dtype: string
|
471 |
+
- name: start
|
472 |
+
dtype: int32
|
473 |
+
- name: end
|
474 |
+
dtype: int32
|
475 |
+
- name: id
|
476 |
+
dtype: int32
|
477 |
+
- name: ws
|
478 |
+
dtype: bool
|
479 |
+
splits:
|
480 |
+
- name: train
|
481 |
+
num_bytes: 14082173
|
482 |
+
num_examples: 131
|
483 |
+
download_size: 0
|
484 |
+
dataset_size: 14082173
|
485 |
+
- config_name: de_all
|
486 |
+
features:
|
487 |
+
- name: text
|
488 |
+
dtype: string
|
489 |
+
- name: source
|
490 |
+
dtype: string
|
491 |
+
- name: spans
|
492 |
+
sequence:
|
493 |
+
- name: start
|
494 |
+
dtype: int64
|
495 |
+
- name: end
|
496 |
+
dtype: int64
|
497 |
+
- name: token_start
|
498 |
+
dtype: int64
|
499 |
+
- name: token_end
|
500 |
+
dtype: int64
|
501 |
+
- name: label
|
502 |
+
dtype: string
|
503 |
+
- name: tokens
|
504 |
+
sequence:
|
505 |
+
- name: text
|
506 |
+
dtype: string
|
507 |
+
- name: start
|
508 |
+
dtype: int64
|
509 |
+
- name: end
|
510 |
+
dtype: int64
|
511 |
+
- name: id
|
512 |
+
dtype: int64
|
513 |
+
- name: ws
|
514 |
+
dtype: bool
|
515 |
+
splits:
|
516 |
+
- name: train
|
517 |
+
num_bytes: 40433793
|
518 |
+
num_examples: 144
|
519 |
+
download_size: 7883640
|
520 |
+
dataset_size: 40433793
|
521 |
+
- config_name: fr_laws
|
522 |
+
features:
|
523 |
+
- name: text
|
524 |
+
dtype: string
|
525 |
+
- name: source
|
526 |
+
dtype: string
|
527 |
+
- name: spans
|
528 |
+
sequence:
|
529 |
+
- name: start
|
530 |
+
dtype: int64
|
531 |
+
- name: end
|
532 |
+
dtype: int64
|
533 |
+
- name: token_start
|
534 |
+
dtype: int64
|
535 |
+
- name: token_end
|
536 |
+
dtype: int64
|
537 |
+
- name: label
|
538 |
+
dtype: string
|
539 |
+
- name: tokens
|
540 |
+
sequence:
|
541 |
+
- name: text
|
542 |
+
dtype: string
|
543 |
+
- name: start
|
544 |
+
dtype: int64
|
545 |
+
- name: end
|
546 |
+
dtype: int64
|
547 |
+
- name: id
|
548 |
+
dtype: int64
|
549 |
+
- name: ws
|
550 |
+
dtype: bool
|
551 |
+
splits:
|
552 |
+
- name: train
|
553 |
+
num_bytes: 12992695
|
554 |
+
num_examples: 2131
|
555 |
+
download_size: 2201568
|
556 |
+
dataset_size: 12992695
|
557 |
+
- config_name: fr_judgements
|
558 |
+
features:
|
559 |
+
- name: text
|
560 |
+
dtype: string
|
561 |
+
- name: source
|
562 |
+
dtype: string
|
563 |
+
- name: spans
|
564 |
+
sequence:
|
565 |
+
- name: start
|
566 |
+
dtype: int64
|
567 |
+
- name: end
|
568 |
+
dtype: int64
|
569 |
+
- name: token_start
|
570 |
+
dtype: int64
|
571 |
+
- name: token_end
|
572 |
+
dtype: int64
|
573 |
+
- name: label
|
574 |
+
dtype: string
|
575 |
+
- name: tokens
|
576 |
+
sequence:
|
577 |
+
- name: text
|
578 |
+
dtype: string
|
579 |
+
- name: start
|
580 |
+
dtype: int64
|
581 |
+
- name: end
|
582 |
+
dtype: int64
|
583 |
+
- name: id
|
584 |
+
dtype: int64
|
585 |
+
- name: ws
|
586 |
+
dtype: bool
|
587 |
+
splits:
|
588 |
+
- name: train
|
589 |
+
num_bytes: 13063393
|
590 |
+
num_examples: 315
|
591 |
+
download_size: 2581104
|
592 |
+
dataset_size: 13063393
|
593 |
+
- config_name: it_laws
|
594 |
+
features:
|
595 |
+
- name: text
|
596 |
+
dtype: string
|
597 |
+
- name: source
|
598 |
+
dtype: string
|
599 |
+
- name: spans
|
600 |
+
sequence:
|
601 |
+
- name: start
|
602 |
+
dtype: int64
|
603 |
+
- name: end
|
604 |
+
dtype: int64
|
605 |
+
- name: token_start
|
606 |
+
dtype: int64
|
607 |
+
- name: token_end
|
608 |
+
dtype: int64
|
609 |
+
- name: label
|
610 |
+
dtype: string
|
611 |
+
- name: tokens
|
612 |
+
sequence:
|
613 |
+
- name: text
|
614 |
+
dtype: string
|
615 |
+
- name: start
|
616 |
+
dtype: int64
|
617 |
+
- name: end
|
618 |
+
dtype: int64
|
619 |
+
- name: id
|
620 |
+
dtype: int64
|
621 |
+
- name: ws
|
622 |
+
dtype: bool
|
623 |
+
splits:
|
624 |
+
- name: train
|
625 |
+
num_bytes: 11962463
|
626 |
+
num_examples: 2910
|
627 |
+
download_size: 2048828
|
628 |
+
dataset_size: 11962463
|
629 |
+
- config_name: it_judgements
|
630 |
+
features:
|
631 |
+
- name: text
|
632 |
+
dtype: string
|
633 |
+
- name: source
|
634 |
+
dtype: string
|
635 |
+
- name: spans
|
636 |
+
sequence:
|
637 |
+
- name: start
|
638 |
+
dtype: int64
|
639 |
+
- name: end
|
640 |
+
dtype: int64
|
641 |
+
- name: token_start
|
642 |
+
dtype: int64
|
643 |
+
- name: token_end
|
644 |
+
dtype: int64
|
645 |
+
- name: label
|
646 |
+
dtype: string
|
647 |
+
- name: tokens
|
648 |
+
sequence:
|
649 |
+
- name: text
|
650 |
+
dtype: string
|
651 |
+
- name: start
|
652 |
+
dtype: int64
|
653 |
+
- name: end
|
654 |
+
dtype: int64
|
655 |
+
- name: id
|
656 |
+
dtype: int64
|
657 |
+
- name: ws
|
658 |
+
dtype: bool
|
659 |
+
splits:
|
660 |
+
- name: train
|
661 |
+
num_bytes: 13235994
|
662 |
+
num_examples: 243
|
663 |
+
download_size: 2561712
|
664 |
+
dataset_size: 13235994
|
665 |
+
- config_name: es_laws
|
666 |
+
features:
|
667 |
+
- name: text
|
668 |
+
dtype: string
|
669 |
+
- name: source
|
670 |
+
dtype: string
|
671 |
+
- name: spans
|
672 |
+
sequence:
|
673 |
+
- name: start
|
674 |
+
dtype: int64
|
675 |
+
- name: end
|
676 |
+
dtype: int64
|
677 |
+
- name: token_start
|
678 |
+
dtype: int64
|
679 |
+
- name: token_end
|
680 |
+
dtype: int64
|
681 |
+
- name: label
|
682 |
+
dtype: string
|
683 |
+
- name: tokens
|
684 |
+
sequence:
|
685 |
+
- name: text
|
686 |
+
dtype: string
|
687 |
+
- name: start
|
688 |
+
dtype: int64
|
689 |
+
- name: end
|
690 |
+
dtype: int64
|
691 |
+
- name: id
|
692 |
+
dtype: int64
|
693 |
+
- name: ws
|
694 |
+
dtype: bool
|
695 |
+
splits:
|
696 |
+
- name: train
|
697 |
+
num_bytes: 9204721
|
698 |
+
num_examples: 677
|
699 |
+
download_size: 1753376
|
700 |
+
dataset_size: 9204721
|
701 |
+
- config_name: es_judgements
|
702 |
+
features:
|
703 |
+
- name: text
|
704 |
+
dtype: string
|
705 |
+
- name: source
|
706 |
+
dtype: string
|
707 |
+
- name: spans
|
708 |
+
sequence:
|
709 |
+
- name: start
|
710 |
+
dtype: int64
|
711 |
+
- name: end
|
712 |
+
dtype: int64
|
713 |
+
- name: token_start
|
714 |
+
dtype: int64
|
715 |
+
- name: token_end
|
716 |
+
dtype: int64
|
717 |
+
- name: label
|
718 |
+
dtype: string
|
719 |
+
- name: tokens
|
720 |
+
sequence:
|
721 |
+
- name: text
|
722 |
+
dtype: string
|
723 |
+
- name: start
|
724 |
+
dtype: int64
|
725 |
+
- name: end
|
726 |
+
dtype: int64
|
727 |
+
- name: id
|
728 |
+
dtype: int64
|
729 |
+
- name: ws
|
730 |
+
dtype: bool
|
731 |
+
splits:
|
732 |
+
- name: train
|
733 |
+
num_bytes: 13913652
|
734 |
+
num_examples: 190
|
735 |
+
download_size: 2685340
|
736 |
+
dataset_size: 13913652
|
737 |
+
- config_name: en_laws
|
738 |
+
features:
|
739 |
+
- name: text
|
740 |
+
dtype: string
|
741 |
+
- name: source
|
742 |
+
dtype: string
|
743 |
+
- name: spans
|
744 |
+
sequence:
|
745 |
+
- name: start
|
746 |
+
dtype: int64
|
747 |
+
- name: end
|
748 |
+
dtype: int64
|
749 |
+
- name: token_start
|
750 |
+
dtype: int64
|
751 |
+
- name: token_end
|
752 |
+
dtype: int64
|
753 |
+
- name: label
|
754 |
+
dtype: string
|
755 |
+
- name: tokens
|
756 |
+
sequence:
|
757 |
+
- name: text
|
758 |
+
dtype: string
|
759 |
+
- name: start
|
760 |
+
dtype: int64
|
761 |
+
- name: end
|
762 |
+
dtype: int64
|
763 |
+
- name: id
|
764 |
+
dtype: int64
|
765 |
+
- name: ws
|
766 |
+
dtype: bool
|
767 |
+
splits:
|
768 |
+
- name: train
|
769 |
+
download_size: 0
|
770 |
+
dataset_size: 0
|
771 |
+
- config_name: en_judgements
|
772 |
+
features:
|
773 |
+
- name: text
|
774 |
+
dtype: string
|
775 |
+
- name: source
|
776 |
+
dtype: string
|
777 |
+
- name: spans
|
778 |
+
sequence:
|
779 |
+
- name: start
|
780 |
+
dtype: int64
|
781 |
+
- name: end
|
782 |
+
dtype: int64
|
783 |
+
- name: token_start
|
784 |
+
dtype: int64
|
785 |
+
- name: token_end
|
786 |
+
dtype: int64
|
787 |
+
- name: label
|
788 |
+
dtype: string
|
789 |
+
- name: tokens
|
790 |
+
sequence:
|
791 |
+
- name: text
|
792 |
+
dtype: string
|
793 |
+
- name: start
|
794 |
+
dtype: int64
|
795 |
+
- name: end
|
796 |
+
dtype: int64
|
797 |
+
- name: id
|
798 |
+
dtype: int64
|
799 |
+
- name: ws
|
800 |
+
dtype: bool
|
801 |
+
splits:
|
802 |
+
- name: train
|
803 |
+
num_bytes: 27366474
|
804 |
+
num_examples: 80
|
805 |
+
download_size: 5448700
|
806 |
+
dataset_size: 27366474
|
807 |
+
- config_name: de_laws
|
808 |
+
features:
|
809 |
+
- name: text
|
810 |
+
dtype: string
|
811 |
+
- name: source
|
812 |
+
dtype: string
|
813 |
+
- name: spans
|
814 |
+
sequence:
|
815 |
+
- name: start
|
816 |
+
dtype: int64
|
817 |
+
- name: end
|
818 |
+
dtype: int64
|
819 |
+
- name: token_start
|
820 |
+
dtype: int64
|
821 |
+
- name: token_end
|
822 |
+
dtype: int64
|
823 |
+
- name: label
|
824 |
+
dtype: string
|
825 |
+
- name: tokens
|
826 |
+
sequence:
|
827 |
+
- name: text
|
828 |
+
dtype: string
|
829 |
+
- name: start
|
830 |
+
dtype: int64
|
831 |
+
- name: end
|
832 |
+
dtype: int64
|
833 |
+
- name: id
|
834 |
+
dtype: int64
|
835 |
+
- name: ws
|
836 |
+
dtype: bool
|
837 |
+
splits:
|
838 |
+
- name: train
|
839 |
+
num_bytes: 19936051
|
840 |
+
num_examples: 13
|
841 |
+
download_size: 3745480
|
842 |
+
dataset_size: 19936051
|
843 |
+
- config_name: de_judgements
|
844 |
+
features:
|
845 |
+
- name: text
|
846 |
+
dtype: string
|
847 |
+
- name: source
|
848 |
+
dtype: string
|
849 |
+
- name: spans
|
850 |
+
sequence:
|
851 |
+
- name: start
|
852 |
+
dtype: int64
|
853 |
+
- name: end
|
854 |
+
dtype: int64
|
855 |
+
- name: token_start
|
856 |
+
dtype: int64
|
857 |
+
- name: token_end
|
858 |
+
dtype: int64
|
859 |
+
- name: label
|
860 |
+
dtype: string
|
861 |
+
- name: tokens
|
862 |
+
sequence:
|
863 |
+
- name: text
|
864 |
+
dtype: string
|
865 |
+
- name: start
|
866 |
+
dtype: int64
|
867 |
+
- name: end
|
868 |
+
dtype: int64
|
869 |
+
- name: id
|
870 |
+
dtype: int64
|
871 |
+
- name: ws
|
872 |
+
dtype: bool
|
873 |
+
splits:
|
874 |
+
- name: train
|
875 |
+
num_bytes: 20497742
|
876 |
+
num_examples: 131
|
877 |
+
download_size: 4138160
|
878 |
+
dataset_size: 20497742
|
879 |
+
- config_name: pt_laws
|
880 |
+
features:
|
881 |
+
- name: text
|
882 |
+
dtype: string
|
883 |
+
- name: source
|
884 |
+
dtype: string
|
885 |
+
- name: spans
|
886 |
+
sequence:
|
887 |
+
- name: start
|
888 |
+
dtype: int64
|
889 |
+
- name: end
|
890 |
+
dtype: int64
|
891 |
+
- name: token_start
|
892 |
+
dtype: int64
|
893 |
+
- name: token_end
|
894 |
+
dtype: int64
|
895 |
+
- name: label
|
896 |
+
dtype: string
|
897 |
+
- name: tokens
|
898 |
+
sequence:
|
899 |
+
- name: text
|
900 |
+
dtype: string
|
901 |
+
- name: start
|
902 |
+
dtype: int64
|
903 |
+
- name: end
|
904 |
+
dtype: int64
|
905 |
+
- name: id
|
906 |
+
dtype: int64
|
907 |
+
- name: ws
|
908 |
+
dtype: bool
|
909 |
+
splits:
|
910 |
+
- name: train
|
911 |
+
num_bytes: 1007758
|
912 |
+
num_examples: 58
|
913 |
+
download_size: 209128
|
914 |
+
dataset_size: 1007758
|
915 |
+
- config_name: pt_judgements
|
916 |
+
features:
|
917 |
+
- name: text
|
918 |
+
dtype: string
|
919 |
+
- name: source
|
920 |
+
dtype: string
|
921 |
+
- name: spans
|
922 |
+
sequence:
|
923 |
+
- name: start
|
924 |
+
dtype: int64
|
925 |
+
- name: end
|
926 |
+
dtype: int64
|
927 |
+
- name: token_start
|
928 |
+
dtype: int64
|
929 |
+
- name: token_end
|
930 |
+
dtype: int64
|
931 |
+
- name: label
|
932 |
+
dtype: string
|
933 |
+
- name: tokens
|
934 |
+
sequence:
|
935 |
+
- name: text
|
936 |
+
dtype: string
|
937 |
+
- name: start
|
938 |
+
dtype: int64
|
939 |
+
- name: end
|
940 |
+
dtype: int64
|
941 |
+
- name: id
|
942 |
+
dtype: int64
|
943 |
+
- name: ws
|
944 |
+
dtype: bool
|
945 |
+
splits:
|
946 |
+
- name: train
|
947 |
+
num_bytes: 820085
|
948 |
+
num_examples: 14
|
949 |
+
download_size: 171432
|
950 |
+
dataset_size: 820085
|
951 |
+
- config_name: pt_all
|
952 |
+
features:
|
953 |
+
- name: text
|
954 |
+
dtype: string
|
955 |
+
- name: source
|
956 |
+
dtype: string
|
957 |
+
- name: spans
|
958 |
+
sequence:
|
959 |
+
- name: start
|
960 |
+
dtype: int64
|
961 |
+
- name: end
|
962 |
+
dtype: int64
|
963 |
+
- name: token_start
|
964 |
+
dtype: int64
|
965 |
+
- name: token_end
|
966 |
+
dtype: int64
|
967 |
+
- name: label
|
968 |
+
dtype: string
|
969 |
+
- name: tokens
|
970 |
+
sequence:
|
971 |
+
- name: text
|
972 |
+
dtype: string
|
973 |
+
- name: start
|
974 |
+
dtype: int64
|
975 |
+
- name: end
|
976 |
+
dtype: int64
|
977 |
+
- name: id
|
978 |
+
dtype: int64
|
979 |
+
- name: ws
|
980 |
+
dtype: bool
|
981 |
+
splits:
|
982 |
+
- name: train
|
983 |
+
num_bytes: 1827843
|
984 |
+
num_examples: 72
|
985 |
+
download_size: 380560
|
986 |
+
dataset_size: 1827843
|
987 |
+
- config_name: all_laws
|
988 |
+
features:
|
989 |
+
- name: text
|
990 |
+
dtype: string
|
991 |
+
- name: source
|
992 |
+
dtype: string
|
993 |
+
- name: spans
|
994 |
+
sequence:
|
995 |
+
- name: start
|
996 |
+
dtype: int64
|
997 |
+
- name: end
|
998 |
+
dtype: int64
|
999 |
+
- name: token_start
|
1000 |
+
dtype: int64
|
1001 |
+
- name: token_end
|
1002 |
+
dtype: int64
|
1003 |
+
- name: label
|
1004 |
+
dtype: string
|
1005 |
+
- name: tokens
|
1006 |
+
sequence:
|
1007 |
+
- name: text
|
1008 |
+
dtype: string
|
1009 |
+
- name: start
|
1010 |
+
dtype: int64
|
1011 |
+
- name: end
|
1012 |
+
dtype: int64
|
1013 |
+
- name: id
|
1014 |
+
dtype: int64
|
1015 |
+
- name: ws
|
1016 |
+
dtype: bool
|
1017 |
+
splits:
|
1018 |
+
- name: train
|
1019 |
+
num_bytes: 55103686
|
1020 |
+
num_examples: 5789
|
1021 |
+
download_size: 9958380
|
1022 |
+
dataset_size: 55103686
|
1023 |
+
- config_name: all_judgements
|
1024 |
+
features:
|
1025 |
+
- name: text
|
1026 |
+
dtype: string
|
1027 |
+
- name: source
|
1028 |
+
dtype: string
|
1029 |
+
- name: spans
|
1030 |
+
sequence:
|
1031 |
+
- name: start
|
1032 |
+
dtype: int64
|
1033 |
+
- name: end
|
1034 |
+
dtype: int64
|
1035 |
+
- name: token_start
|
1036 |
+
dtype: int64
|
1037 |
+
- name: token_end
|
1038 |
+
dtype: int64
|
1039 |
+
- name: label
|
1040 |
+
dtype: string
|
1041 |
+
- name: tokens
|
1042 |
+
sequence:
|
1043 |
+
- name: text
|
1044 |
+
dtype: string
|
1045 |
+
- name: start
|
1046 |
+
dtype: int64
|
1047 |
+
- name: end
|
1048 |
+
dtype: int64
|
1049 |
+
- name: id
|
1050 |
+
dtype: int64
|
1051 |
+
- name: ws
|
1052 |
+
dtype: bool
|
1053 |
+
splits:
|
1054 |
+
- name: train
|
1055 |
+
num_bytes: 88897336
|
1056 |
+
num_examples: 973
|
1057 |
+
download_size: 17586448
|
1058 |
+
dataset_size: 88897336
|
1059 |
+
- config_name: all_all
|
1060 |
+
features:
|
1061 |
+
- name: text
|
1062 |
+
dtype: string
|
1063 |
+
- name: source
|
1064 |
+
dtype: string
|
1065 |
+
- name: spans
|
1066 |
+
sequence:
|
1067 |
+
- name: start
|
1068 |
+
dtype: int64
|
1069 |
+
- name: end
|
1070 |
+
dtype: int64
|
1071 |
+
- name: token_start
|
1072 |
+
dtype: int64
|
1073 |
+
- name: token_end
|
1074 |
+
dtype: int64
|
1075 |
+
- name: label
|
1076 |
+
dtype: string
|
1077 |
+
- name: tokens
|
1078 |
+
sequence:
|
1079 |
+
- name: text
|
1080 |
+
dtype: string
|
1081 |
+
- name: start
|
1082 |
+
dtype: int64
|
1083 |
+
- name: end
|
1084 |
+
dtype: int64
|
1085 |
+
- name: id
|
1086 |
+
dtype: int64
|
1087 |
+
- name: ws
|
1088 |
+
dtype: bool
|
1089 |
+
splits:
|
1090 |
+
- name: train
|
1091 |
+
num_bytes: 144001023
|
1092 |
+
num_examples: 6762
|
1093 |
+
download_size: 27544828
|
1094 |
+
dataset_size: 144001023
|
1095 |
+
---
|