Datasets:

Modalities:
Tabular
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
dfki-nlp commited on
Commit
0798862
·
1 Parent(s): 1f953c7

renamed subj/obj to e1 / e2 to closer align with source data

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -86,13 +86,13 @@ dataset_info:
86
  dtype: string
87
  - name: token
88
  sequence: string
89
- - name: subj_start
90
  dtype: int32
91
- - name: subj_end
92
  dtype: int32
93
- - name: obj_start
94
  dtype: int32
95
- - name: obj_end
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
- "subj_start": 0,
236
- "subj_end": 3,
237
- "obj_start": 14,
238
- "obj_end": 16,
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
- - `subj_start`: the 0-based index of the start token of the relation subject mention, an `int` feature.
258
- - `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive, an `int` feature.
259
- - `obj_start`: the 0-based index of the start token of the relation object mention, an `int` feature.
260
- - `obj_end`: the 0-based index of the end token of the relation object mention, exclusive, an `int` feature.
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