Update README.md
Browse files
README.md
CHANGED
@@ -1150,7 +1150,7 @@ English, French, Italian, German, Portuguese, Spanish
|
|
1150 |
|
1151 |
## Dataset Structure
|
1152 |
|
1153 |
-
It is structured in the following format: {language}_{type}_{shard}.jsonl.xz
|
1154 |
|
1155 |
type is one of the following:
|
1156 |
- laws
|
@@ -1159,7 +1159,7 @@ type is one of the following:
|
|
1159 |
Use the the dataset like this:
|
1160 |
```
|
1161 |
from datasets import load_dataset
|
1162 |
-
config = 'fr_laws' #{language}_{type}
|
1163 |
dataset = load_dataset('rdcs/MultiLegalSBD', config)
|
1164 |
```
|
1165 |
### Data Instances
|
@@ -1168,7 +1168,20 @@ dataset = load_dataset('rdcs/MultiLegalSBD', config)
|
|
1168 |
|
1169 |
### Data Fields
|
1170 |
|
1171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1172 |
|
1173 |
### Data Splits
|
1174 |
|
|
|
1150 |
|
1151 |
## Dataset Structure
|
1152 |
|
1153 |
+
It is structured in the following format: {language}\_{type}\_{shard}.jsonl.xz
|
1154 |
|
1155 |
type is one of the following:
|
1156 |
- laws
|
|
|
1159 |
Use the the dataset like this:
|
1160 |
```
|
1161 |
from datasets import load_dataset
|
1162 |
+
config = 'fr_laws' #{language}\_{type}
|
1163 |
dataset = load_dataset('rdcs/MultiLegalSBD', config)
|
1164 |
```
|
1165 |
### Data Instances
|
|
|
1168 |
|
1169 |
### Data Fields
|
1170 |
|
1171 |
+
- text: the original text
|
1172 |
+
- spans:
|
1173 |
+
- start: offset of the first character
|
1174 |
+
- end: offset of the last character
|
1175 |
+
- label: "Sentence"
|
1176 |
+
- token_start: id of the first token
|
1177 |
+
- token_end: id of the last token
|
1178 |
+
- tokens:
|
1179 |
+
- text: token text
|
1180 |
+
- start: offset of the first character
|
1181 |
+
- end: offset of the last character
|
1182 |
+
- id: token id
|
1183 |
+
- ws: whether the token is followed by whitespace
|
1184 |
+
|
1185 |
|
1186 |
### Data Splits
|
1187 |
|