Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-class-classification
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
relation extraction
License:
renamed subj/obj to e1 / e2 to closer align with source data
Browse files
README.md
CHANGED
|
@@ -86,13 +86,13 @@ dataset_info:
|
|
| 86 |
dtype: string
|
| 87 |
- name: token
|
| 88 |
sequence: string
|
| 89 |
-
- name:
|
| 90 |
dtype: int32
|
| 91 |
-
- name:
|
| 92 |
dtype: int32
|
| 93 |
-
- name:
|
| 94 |
dtype: int32
|
| 95 |
-
- name:
|
| 96 |
dtype: int32
|
| 97 |
- name: relation
|
| 98 |
dtype:
|
|
@@ -232,10 +232,10 @@ An example of 'train' looks as follows:
|
|
| 232 |
{
|
| 233 |
"id": "1",
|
| 234 |
"token": ["Leland", "High", "School", "is", "a", "public", "high", "school", "located", "in", "the", "Almaden", "Valley", "in", "San", "Jose", "California", "USA", "in", "the", "San", "Jose", "Unified", "School", "District", "."],
|
| 235 |
-
"
|
| 236 |
-
"
|
| 237 |
-
"
|
| 238 |
-
"
|
| 239 |
"relation": 3
|
| 240 |
}
|
| 241 |
```
|
|
@@ -254,10 +254,10 @@ An example of 'train' looks as follows:
|
|
| 254 |
#### kbp37_formatted
|
| 255 |
- `id`: the instance id of this sentence, a `string` feature.
|
| 256 |
- `token`: the list of tokens of this sentence, using `str.split()`, a `list` of `string` features.
|
| 257 |
-
- `
|
| 258 |
-
- `
|
| 259 |
-
- `
|
| 260 |
-
- `
|
| 261 |
- `relation`: the relation label of this instance, an `int` classification label (same as `'kbp37''`).
|
| 262 |
|
| 263 |
### Data Splits
|
|
|
|
| 86 |
dtype: string
|
| 87 |
- name: token
|
| 88 |
sequence: string
|
| 89 |
+
- name: e1_start
|
| 90 |
dtype: int32
|
| 91 |
+
- name: e1_end
|
| 92 |
dtype: int32
|
| 93 |
+
- name: e2_start
|
| 94 |
dtype: int32
|
| 95 |
+
- name: e2_end
|
| 96 |
dtype: int32
|
| 97 |
- name: relation
|
| 98 |
dtype:
|
|
|
|
| 232 |
{
|
| 233 |
"id": "1",
|
| 234 |
"token": ["Leland", "High", "School", "is", "a", "public", "high", "school", "located", "in", "the", "Almaden", "Valley", "in", "San", "Jose", "California", "USA", "in", "the", "San", "Jose", "Unified", "School", "District", "."],
|
| 235 |
+
"e1_start": 0,
|
| 236 |
+
"e1_end": 3,
|
| 237 |
+
"e2_start": 14,
|
| 238 |
+
"e2_end": 16,
|
| 239 |
"relation": 3
|
| 240 |
}
|
| 241 |
```
|
|
|
|
| 254 |
#### kbp37_formatted
|
| 255 |
- `id`: the instance id of this sentence, a `string` feature.
|
| 256 |
- `token`: the list of tokens of this sentence, using `str.split()`, a `list` of `string` features.
|
| 257 |
+
- `e1_start`: the 0-based index of the start token of the first argument', an `int` feature.
|
| 258 |
+
- `e1_end`: the 0-based index of the end token of the first argument, exclusive, an `int` feature.
|
| 259 |
+
- `e2_start`: the 0-based index of the start token of the second argument, an `int` feature.
|
| 260 |
+
- `e2_end`: the 0-based index of the end token of the second argument, exclusive, an `int` feature.
|
| 261 |
- `relation`: the relation label of this instance, an `int` classification label (same as `'kbp37''`).
|
| 262 |
|
| 263 |
### Data Splits
|