Commit
•
26d5783
1
Parent(s):
1bf6781
Update README.md
Browse files
README.md
CHANGED
@@ -36,15 +36,8 @@ For each ORG-PROD combination, the dataset contains an instance, labeled with ei
|
|
36 |
|
37 |
### Direct Use
|
38 |
|
39 |
-
The dataset can be used for binary relation
|
40 |
|
41 |
-
[More Information Needed]
|
42 |
-
|
43 |
-
### Out-of-Scope Use
|
44 |
-
|
45 |
-
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
|
46 |
-
|
47 |
-
[More Information Needed]
|
48 |
|
49 |
## Dataset Structure
|
50 |
|
@@ -52,9 +45,24 @@ The dataset can be used for binary relation extraction.
|
|
52 |
used to create the splits, relationships between data points, etc. -->
|
53 |
The original dataset was annotated at the document level. We used a random 80/10/10 split to create train, dev and test sets. The documents in each split
|
54 |
were then converted to sentence-level JSONL files. The test set documents contained a larger number of ORG and PROD annotations than the dev split, which resulted
|
55 |
-
in a larger test split in the JSONL version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
-
[More Information Needed]
|
58 |
|
59 |
## Dataset Creation
|
60 |
|
@@ -122,7 +130,7 @@ Users should be made aware of the risks, biases and limitations of the dataset.
|
|
122 |
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
123 |
|
124 |
**BibTeX:**
|
125 |
-
|
126 |
@InProceedings{SCHÖN18.88,
|
127 |
author = {Saskia Schön and Veselina Mironova and Aleksandra Gabryszak and Leonhard Hennig},
|
128 |
title = "{A Corpus Study and Annotation Schema for Named Entity Recognition and Relation Extraction of Business Products}",
|
@@ -135,6 +143,13 @@ Users should be made aware of the risks, biases and limitations of the dataset.
|
|
135 |
isbn = {979-10-95546-00-9},
|
136 |
language = {english}
|
137 |
}
|
|
|
138 |
|
139 |
**APA:**
|
|
|
140 |
Schön, S., Mironova, V., Gabryszak, A., & Hennig, L. (2018). A Corpus Study and Annotation Schema for Named Entity Recognition and Relation Extraction of Business Products. ArXiv, abs/2004.03287.
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
### Direct Use
|
38 |
|
39 |
+
The dataset can be used for binary relation classification.
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
## Dataset Structure
|
43 |
|
|
|
45 |
used to create the splits, relationships between data points, etc. -->
|
46 |
The original dataset was annotated at the document level. We used a random 80/10/10 split to create train, dev and test sets. The documents in each split
|
47 |
were then converted to sentence-level JSONL files. The test set documents contained a larger number of ORG and PROD annotations than the dev split, which resulted
|
48 |
+
in a larger test split in the JSONL version. Sentence splitting and tokenization were performed with Spacy 3.2.0, using the `en_core_web_sm' model. The JSON field
|
49 |
+
structure follows the structure used in the TACRED dataset and includes fields for 'grammar' and 'type', which are somewhat redundant in our case.
|
50 |
+
of the JSON follows
|
51 |
+
|
52 |
+
Each instance of the dataset contains the following fields:
|
53 |
+
- id: the instance id of this sentence, a string feature
|
54 |
+
- tokens: the list of tokens of this sentence, a list feature
|
55 |
+
- label: the relation label, either "CompanyProvidesProduct" or "no_relation"
|
56 |
+
- entities: the token-based start and end offsets of the head (ORG) and tail (PROD) entities, a list feature
|
57 |
+
- grammar: a fixed ["SUBJ", "OBJ"] list, since we do not include inverted relations
|
58 |
+
- type: a fixed ["ORGANIZATION", "PRODUCT"] list, denoting the entity types of the head and tail entities
|
59 |
+
|
60 |
+
## Data Splits
|
61 |
+
|
62 |
+
| Train | Validation | Test |
|
63 |
+
|-------|------------|------|
|
64 |
+
| 2437 | 330 | 510 |
|
65 |
|
|
|
66 |
|
67 |
## Dataset Creation
|
68 |
|
|
|
130 |
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
131 |
|
132 |
**BibTeX:**
|
133 |
+
```
|
134 |
@InProceedings{SCHÖN18.88,
|
135 |
author = {Saskia Schön and Veselina Mironova and Aleksandra Gabryszak and Leonhard Hennig},
|
136 |
title = "{A Corpus Study and Annotation Schema for Named Entity Recognition and Relation Extraction of Business Products}",
|
|
|
143 |
isbn = {979-10-95546-00-9},
|
144 |
language = {english}
|
145 |
}
|
146 |
+
```
|
147 |
|
148 |
**APA:**
|
149 |
+
```
|
150 |
Schön, S., Mironova, V., Gabryszak, A., & Hennig, L. (2018). A Corpus Study and Annotation Schema for Named Entity Recognition and Relation Extraction of Business Products. ArXiv, abs/2004.03287.
|
151 |
+
```
|
152 |
+
|
153 |
+
### Contributions
|
154 |
+
|
155 |
+
Thanks to [@leonhardhennig](https://github.com/leonhardhennig) for adding this dataset.
|