Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K - 10K
ArXiv:
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: tokens
|
|
@@ -7,60 +27,110 @@ dataset_info:
|
|
| 7 |
sequence:
|
| 8 |
class_label:
|
| 9 |
names:
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
splits:
|
| 46 |
- name: train
|
| 47 |
-
num_bytes:
|
| 48 |
num_examples: 200
|
| 49 |
- name: validation
|
| 50 |
-
num_bytes:
|
| 51 |
num_examples: 450
|
| 52 |
- name: test
|
| 53 |
-
num_bytes:
|
| 54 |
num_examples: 543
|
| 55 |
-
download_size: 202426
|
| 56 |
-
dataset_size: 724206
|
| 57 |
-
configs:
|
| 58 |
-
- config_name: default
|
| 59 |
-
data_files:
|
| 60 |
-
- split: train
|
| 61 |
-
path: data/train-*
|
| 62 |
-
- split: validation
|
| 63 |
-
path: data/validation-*
|
| 64 |
-
- split: test
|
| 65 |
-
path: data/test-*
|
| 66 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- expert-generated
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license:
|
| 9 |
+
- other
|
| 10 |
+
multilinguality:
|
| 11 |
+
- monolingual
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
source_datasets:
|
| 15 |
+
- original
|
| 16 |
+
task_categories:
|
| 17 |
+
- token-classification
|
| 18 |
+
task_ids:
|
| 19 |
+
- named-entity-recognition
|
| 20 |
+
paperswithcode_id: crossner
|
| 21 |
+
pretty_name: CrossNER-SCIENCE
|
| 22 |
dataset_info:
|
| 23 |
features:
|
| 24 |
- name: tokens
|
|
|
|
| 27 |
sequence:
|
| 28 |
class_label:
|
| 29 |
names:
|
| 30 |
+
"0": O
|
| 31 |
+
"1": B-scientist
|
| 32 |
+
"2": I-scientist
|
| 33 |
+
"3": B-person
|
| 34 |
+
"4": I-person
|
| 35 |
+
"5": B-university
|
| 36 |
+
"6": I-university
|
| 37 |
+
"7": B-organisation
|
| 38 |
+
"8": I-organisation
|
| 39 |
+
"9": B-country
|
| 40 |
+
"10": I-country
|
| 41 |
+
"11": B-location
|
| 42 |
+
"12": I-location
|
| 43 |
+
"13": B-discipline
|
| 44 |
+
"14": I-discipline
|
| 45 |
+
"15": B-enzyme
|
| 46 |
+
"16": I-enzyme
|
| 47 |
+
"17": B-protein
|
| 48 |
+
"18": I-protein
|
| 49 |
+
"19": B-chemicalelement
|
| 50 |
+
"20": I-chemicalelement
|
| 51 |
+
"21": B-chemicalcompound
|
| 52 |
+
"22": I-chemicalcompound
|
| 53 |
+
"23": B-astronomicalobject
|
| 54 |
+
"24": I-astronomicalobject
|
| 55 |
+
"25": B-academicjournal
|
| 56 |
+
"26": I-academicjournal
|
| 57 |
+
"27": B-event
|
| 58 |
+
"28": I-event
|
| 59 |
+
"29": B-theory
|
| 60 |
+
"30": I-theory
|
| 61 |
+
"31": B-award
|
| 62 |
+
"32": I-award
|
| 63 |
+
"33": B-misc
|
| 64 |
+
"34": I-misc
|
| 65 |
splits:
|
| 66 |
- name: train
|
| 67 |
+
num_bytes: 20000
|
| 68 |
num_examples: 200
|
| 69 |
- name: validation
|
| 70 |
+
num_bytes: 45000
|
| 71 |
num_examples: 450
|
| 72 |
- name: test
|
| 73 |
+
num_bytes: 54300
|
| 74 |
num_examples: 543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
---
|
| 76 |
+
|
| 77 |
+
# CrossNER SCIENCE Dataset
|
| 78 |
+
|
| 79 |
+
An NER dataset for cross-domain evaluation, [read more](https://arxiv.org/abs/2012.04373).
|
| 80 |
+
This split contains labeled data from the SCIENCE domain.
|
| 81 |
+
|
| 82 |
+
## Features
|
| 83 |
+
|
| 84 |
+
- **tokens**: A list of words in the sentence
|
| 85 |
+
- **ner_tags**: A list of NER labels (as integers) corresponding to each token
|
| 86 |
+
|
| 87 |
+
## Label Mapping
|
| 88 |
+
|
| 89 |
+
The dataset uses the following 35 labels:
|
| 90 |
+
|
| 91 |
+
| Index | Label |
|
| 92 |
+
|-------|-------|
|
| 93 |
+
| 0 | O |
|
| 94 |
+
| 1 | B-scientist |
|
| 95 |
+
| 2 | I-scientist |
|
| 96 |
+
| 3 | B-person |
|
| 97 |
+
| 4 | I-person |
|
| 98 |
+
| 5 | B-university |
|
| 99 |
+
| 6 | I-university |
|
| 100 |
+
| 7 | B-organisation |
|
| 101 |
+
| 8 | I-organisation |
|
| 102 |
+
| 9 | B-country |
|
| 103 |
+
| 10 | I-country |
|
| 104 |
+
| 11 | B-location |
|
| 105 |
+
| 12 | I-location |
|
| 106 |
+
| 13 | B-discipline |
|
| 107 |
+
| 14 | I-discipline |
|
| 108 |
+
| 15 | B-enzyme |
|
| 109 |
+
| 16 | I-enzyme |
|
| 110 |
+
| 17 | B-protein |
|
| 111 |
+
| 18 | I-protein |
|
| 112 |
+
| 19 | B-chemicalelement |
|
| 113 |
+
| 20 | I-chemicalelement |
|
| 114 |
+
| 21 | B-chemicalcompound |
|
| 115 |
+
| 22 | I-chemicalcompound |
|
| 116 |
+
| 23 | B-astronomicalobject |
|
| 117 |
+
| 24 | I-astronomicalobject |
|
| 118 |
+
| 25 | B-academicjournal |
|
| 119 |
+
| 26 | I-academicjournal |
|
| 120 |
+
| 27 | B-event |
|
| 121 |
+
| 28 | I-event |
|
| 122 |
+
| 29 | B-theory |
|
| 123 |
+
| 30 | I-theory |
|
| 124 |
+
| 31 | B-award |
|
| 125 |
+
| 32 | I-award |
|
| 126 |
+
| 33 | B-misc |
|
| 127 |
+
| 34 | I-misc |
|
| 128 |
+
|
| 129 |
+
## Usage
|
| 130 |
+
|
| 131 |
+
```python
|
| 132 |
+
from datasets import load_dataset
|
| 133 |
+
|
| 134 |
+
dataset = load_dataset("eesuhn/crossner-science")
|
| 135 |
+
```
|
| 136 |
+
|