Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-class-classification
Languages:
English
Size:
100K - 1M
License:
Update README.md
Browse files
README.md
CHANGED
@@ -102,23 +102,13 @@ The language in the dataset is English.
|
|
102 |
|
103 |
### Data Instances
|
104 |
|
105 |
-
An example of 'train' looks as
|
106 |
```json
|
107 |
{
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
'end': 72,
|
113 |
-
'name': 'surgical resection'
|
114 |
-
},
|
115 |
-
't': {
|
116 |
-
'id': 'C0033325',
|
117 |
-
'start': 130,
|
118 |
-
'end': 139,
|
119 |
-
'name': 'prognosis'
|
120 |
-
},
|
121 |
-
'relation': 0
|
122 |
}
|
123 |
```
|
124 |
|
@@ -127,13 +117,11 @@ An example of 'train' looks as follow:
|
|
127 |
- `text`: the text of this example, a `string` feature.
|
128 |
- `h`: head entity
|
129 |
- `id`: identifier of the head entity, a `string` feature.
|
130 |
-
- `
|
131 |
-
- `end`: character off end of the head entity, a `int32` feature.
|
132 |
- `name`: head entity text, a `string` feature.
|
133 |
- `t`: tail entity
|
134 |
- `id`: identifier of the tail entity, a `string` feature.
|
135 |
-
- `
|
136 |
-
- `end`: character off end of the tail entity, a `int32` feature.
|
137 |
- `name`: tail entity text, a `string` feature.
|
138 |
- `relation`: a class label.
|
139 |
|
|
|
102 |
|
103 |
### Data Instances
|
104 |
|
105 |
+
An example of 'train' looks as follows:
|
106 |
```json
|
107 |
{
|
108 |
+
"text": "Urethral stones are rarely formed primarily in the urethra and are usually associated with urethral strictures or diverticula .",
|
109 |
+
"h": {"id": "C0041967", "pos": [51, 58], "name": "urethra"},
|
110 |
+
"t": {"id": "C0041974", "pos": [91, 110], "name": "urethral strictures"},
|
111 |
+
"relation": "finding_site_of"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
}
|
113 |
```
|
114 |
|
|
|
117 |
- `text`: the text of this example, a `string` feature.
|
118 |
- `h`: head entity
|
119 |
- `id`: identifier of the head entity, a `string` feature.
|
120 |
+
- `pos`: character offsets of the head entity, a list of `int32` features.
|
|
|
121 |
- `name`: head entity text, a `string` feature.
|
122 |
- `t`: tail entity
|
123 |
- `id`: identifier of the tail entity, a `string` feature.
|
124 |
+
- `pos`: character offsets of the tail entity, a list of `int32` features.
|
|
|
125 |
- `name`: tail entity text, a `string` feature.
|
126 |
- `relation`: a class label.
|
127 |
|