Datasets:
Tom Aarsen
commited on
Commit
·
2204ec8
1
Parent(s):
ad533c2
Update README with label2id mapping
Browse files
README.md
CHANGED
@@ -495,12 +495,30 @@ See the [AWS Open Data Registry entry for MultiCoNER](https://registry.opendata.
|
|
495 |
* `PROD`: Product, i.e. consumer products
|
496 |
* `CW`: Creative Work, i.e. movies/songs/book titles
|
497 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
498 |
## Languages
|
499 |
The MultiCoNER dataset consists of the following languages: Bangla, German, English, Spanish, Farsi, Hindi, Korean, Dutch, Russian, Turkish and Chinese.
|
500 |
|
501 |
-
## Dataset Structure
|
502 |
-
The dataset follows the IOB format of CoNLL.
|
503 |
-
|
504 |
## Usage
|
505 |
```python
|
506 |
from datasets import load_dataset
|
|
|
495 |
* `PROD`: Product, i.e. consumer products
|
496 |
* `CW`: Creative Work, i.e. movies/songs/book titles
|
497 |
|
498 |
+
### Dataset Structure
|
499 |
+
The dataset follows the IOB format of CoNLL. In particular, it uses the following label to ID mapping:
|
500 |
+
```python
|
501 |
+
|
502 |
+
{
|
503 |
+
"O": 0,
|
504 |
+
"B-PER": 1,
|
505 |
+
"I-PER": 2,
|
506 |
+
"B-LOC": 3,
|
507 |
+
"I-LOC": 4,
|
508 |
+
"B-CORP": 5,
|
509 |
+
"I-CORP": 6,
|
510 |
+
"B-GRP": 7,
|
511 |
+
"I-GRP": 8,
|
512 |
+
"B-PROD": 9,
|
513 |
+
"I-PROD": 10,
|
514 |
+
"B-CW": 11,
|
515 |
+
"I-CW": 12,
|
516 |
+
}
|
517 |
+
```
|
518 |
+
|
519 |
## Languages
|
520 |
The MultiCoNER dataset consists of the following languages: Bangla, German, English, Spanish, Farsi, Hindi, Korean, Dutch, Russian, Turkish and Chinese.
|
521 |
|
|
|
|
|
|
|
522 |
## Usage
|
523 |
```python
|
524 |
from datasets import load_dataset
|