Update README.md
Browse files
README.md
CHANGED
|
@@ -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}
|
| 1163 |
dataset = load_dataset('rdcs/MultiLegalSBD', config)
|
| 1164 |
```
|
| 1165 |
|
|
@@ -1173,7 +1173,7 @@ dataset = load_dataset('rdcs/MultiLegalSBD', config)
|
|
| 1173 |
- spans:
|
| 1174 |
- start: offset of the first character
|
| 1175 |
- end: offset of the last character
|
| 1176 |
-
- label:
|
| 1177 |
- token_start: id of the first token
|
| 1178 |
- token_end: id of the last token
|
| 1179 |
- tokens:
|
|
|
|
| 1159 |
Use the the dataset like this:
|
| 1160 |
```
|
| 1161 |
from datasets import load_dataset
|
| 1162 |
+
config = 'fr_laws' #{language}_{type} | to load all languages and/or all types, use 'all_all'
|
| 1163 |
dataset = load_dataset('rdcs/MultiLegalSBD', config)
|
| 1164 |
```
|
| 1165 |
|
|
|
|
| 1173 |
- spans:
|
| 1174 |
- start: offset of the first character
|
| 1175 |
- end: offset of the last character
|
| 1176 |
+
- label: One label only -> Sentence
|
| 1177 |
- token_start: id of the first token
|
| 1178 |
- token_end: id of the last token
|
| 1179 |
- tokens:
|