Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
---
|
2 |
name: WordNetNoun Subsumption (Hypernym) Hierarchy.
|
3 |
description: >
|
4 |
-
This dataset is a collection of Multi-hop Inference and Mixed-hop Prediction
|
|
|
|
|
5 |
license: apache-2.0
|
6 |
language:
|
7 |
- en
|
@@ -18,7 +20,8 @@ tags:
|
|
18 |
configs:
|
19 |
- config_name: MultiHop-RandomNegatives-Triplets
|
20 |
description: >
|
21 |
-
A dataset for Multi-hop Inference with random negatives; samples formatted
|
|
|
22 |
data_files:
|
23 |
- split: train
|
24 |
path: MultiHop-RandomNegatives-Triplets/train*
|
@@ -28,7 +31,8 @@ configs:
|
|
28 |
path: MultiHop-RandomNegatives-Triplets/test*
|
29 |
- config_name: MultiHop-HardNegatives-Triplets
|
30 |
description: >
|
31 |
-
A dataset for Multi-hop Inference with hard negatives; samples formatted as
|
|
|
32 |
data_files:
|
33 |
- split: train
|
34 |
path: MultiHop-HardNegatives-Triplets/train*
|
@@ -38,7 +42,8 @@ configs:
|
|
38 |
path: MultiHop-HardNegatives-Triplets/test*
|
39 |
- config_name: MixedHop-RandomNegatives-Triplets
|
40 |
description: >
|
41 |
-
A dataset for Mixed-hop Prediction with random negatives; samples formatted
|
|
|
42 |
data_files:
|
43 |
- split: train
|
44 |
path: MixedHop-RandomNegatives-Triplets/train*
|
@@ -48,7 +53,8 @@ configs:
|
|
48 |
path: MixedHop-RandomNegatives-Triplets/test*
|
49 |
- config_name: MixedHop-HardNegatives-Triplets
|
50 |
description: >
|
51 |
-
A dataset for Mixed-hop Prediction with hard negatives; samples formatted as
|
|
|
52 |
data_files:
|
53 |
- split: train
|
54 |
path: MixedHop-HardNegatives-Triplets/train*
|
@@ -58,7 +64,8 @@ configs:
|
|
58 |
path: MixedHop-HardNegatives-Triplets/test*
|
59 |
- config_name: MultiHop-RandomNegatives-Pairs
|
60 |
description: >
|
61 |
-
A dataset for Multi-hop Inference with random negatives; samples formatted
|
|
|
62 |
data_files:
|
63 |
- split: train
|
64 |
path: MultiHop-RandomNegatives-Pairs/train*
|
@@ -68,7 +75,8 @@ configs:
|
|
68 |
path: MultiHop-RandomNegatives-Pairs/test*
|
69 |
- config_name: MultiHop-HardNegatives-Pairs
|
70 |
description: >
|
71 |
-
A dataset for Multi-hop Inference with hard negatives; samples formatted as
|
|
|
72 |
data_files:
|
73 |
- split: train
|
74 |
path: MultiHop-HardNegatives-Pairs/train*
|
@@ -78,7 +86,8 @@ configs:
|
|
78 |
path: MultiHop-HardNegatives-Pairs/test*
|
79 |
- config_name: MixedHop-RandomNegatives-Pairs
|
80 |
description: >
|
81 |
-
A dataset for Mixed-hop Prediction with random negatives; samples formatted
|
|
|
82 |
data_files:
|
83 |
- split: train
|
84 |
path: MixedHop-RandomNegatives-Pairs/train*
|
@@ -88,7 +97,8 @@ configs:
|
|
88 |
path: MixedHop-RandomNegatives-Pairs/test*
|
89 |
- config_name: MixedHop-HardNegatives-Pairs
|
90 |
description: >
|
91 |
-
A dataset for Mixed-hop Prediction with hard negatives; samples formatted as
|
|
|
92 |
data_files:
|
93 |
- split: train
|
94 |
path: MixedHop-HardNegatives-Pairs/train*
|
@@ -100,141 +110,50 @@ configs:
|
|
100 |
|
101 |
# Dataset Card for WordNetNoun
|
102 |
|
103 |
-
<!-- Provide a quick summary of the dataset. -->
|
104 |
-
|
105 |
This dataset is a collection of **Multi-hop Inference** and **Mixed-hop Prediction** datasets created from WordNet's subsumption (hypernym) hierarchy of noun entities for training and evaluating hierarchy embedding models.
|
106 |
|
107 |
-
-
|
108 |
-
|
109 |
-
|
110 |
-
## Dataset Details
|
111 |
-
|
112 |
-
### Dataset Description
|
113 |
-
|
114 |
-
<!-- Provide a longer summary of what this dataset is. -->
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
- **Curated by:** [More Information Needed]
|
119 |
-
- **Funded by [optional]:** [More Information Needed]
|
120 |
-
- **Shared by [optional]:** [More Information Needed]
|
121 |
-
- **Language(s) (NLP):** [More Information Needed]
|
122 |
-
- **License:** [More Information Needed]
|
123 |
-
|
124 |
-
### Dataset Sources [optional]
|
125 |
-
|
126 |
-
<!-- Provide the basic links for the dataset. -->
|
127 |
-
|
128 |
-
- **Repository:** [More Information Needed]
|
129 |
-
- **Paper [optional]:** [More Information Needed]
|
130 |
-
- **Demo [optional]:** [More Information Needed]
|
131 |
-
|
132 |
-
## Uses
|
133 |
-
|
134 |
-
<!-- Address questions around how the dataset is intended to be used. -->
|
135 |
|
136 |
-
|
137 |
|
138 |
-
<!-- This section describes suitable use cases for the dataset. -->
|
139 |
|
140 |
-
|
141 |
|
142 |
-
|
|
|
|
|
|
|
143 |
|
144 |
-
|
145 |
|
146 |
-
[More Information Needed]
|
147 |
|
148 |
## Dataset Structure
|
149 |
|
150 |
-
|
151 |
-
|
152 |
-
[More Information Needed]
|
153 |
-
|
154 |
-
## Dataset Creation
|
155 |
-
|
156 |
-
### Curation Rationale
|
157 |
-
|
158 |
-
<!-- Motivation for the creation of this dataset. -->
|
159 |
-
|
160 |
-
[More Information Needed]
|
161 |
-
|
162 |
-
### Source Data
|
163 |
-
|
164 |
-
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
|
165 |
-
|
166 |
-
#### Data Collection and Processing
|
167 |
-
|
168 |
-
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
|
169 |
-
|
170 |
-
[More Information Needed]
|
171 |
-
|
172 |
-
#### Who are the source data producers?
|
173 |
-
|
174 |
-
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
|
175 |
-
|
176 |
-
[More Information Needed]
|
177 |
-
|
178 |
-
### Annotations [optional]
|
179 |
-
|
180 |
-
<!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
|
181 |
-
|
182 |
-
#### Annotation process
|
183 |
-
|
184 |
-
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
185 |
-
|
186 |
-
[More Information Needed]
|
187 |
-
|
188 |
-
#### Who are the annotators?
|
189 |
-
|
190 |
-
<!-- This section describes the people or systems who created the annotations. -->
|
191 |
-
|
192 |
-
[More Information Needed]
|
193 |
-
|
194 |
-
#### Personal and Sensitive Information
|
195 |
-
|
196 |
-
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
|
197 |
-
|
198 |
-
[More Information Needed]
|
199 |
-
|
200 |
-
## Bias, Risks, and Limitations
|
201 |
-
|
202 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
203 |
-
|
204 |
-
[More Information Needed]
|
205 |
-
|
206 |
-
### Recommendations
|
207 |
-
|
208 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
209 |
-
|
210 |
-
Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
|
211 |
-
|
212 |
-
## Citation [optional]
|
213 |
-
|
214 |
-
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
215 |
-
|
216 |
-
**BibTeX:**
|
217 |
-
|
218 |
-
[More Information Needed]
|
219 |
-
|
220 |
-
**APA:**
|
221 |
-
|
222 |
-
[More Information Needed]
|
223 |
|
224 |
-
|
225 |
|
226 |
-
|
227 |
|
228 |
-
|
|
|
|
|
229 |
|
230 |
-
## More Information [optional]
|
231 |
|
232 |
-
|
233 |
|
234 |
-
|
235 |
|
236 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
238 |
## Dataset Card Contact
|
239 |
|
240 |
-
|
|
|
1 |
---
|
2 |
name: WordNetNoun Subsumption (Hypernym) Hierarchy.
|
3 |
description: >
|
4 |
+
This dataset is a collection of Multi-hop Inference and Mixed-hop Prediction
|
5 |
+
datasets created from WordNet's subsumption (hypernym) hierarchy of noun
|
6 |
+
entities for training and evaluating hierarchy embedding models.
|
7 |
license: apache-2.0
|
8 |
language:
|
9 |
- en
|
|
|
20 |
configs:
|
21 |
- config_name: MultiHop-RandomNegatives-Triplets
|
22 |
description: >
|
23 |
+
A dataset for Multi-hop Inference with random negatives; samples formatted
|
24 |
+
as triplets.
|
25 |
data_files:
|
26 |
- split: train
|
27 |
path: MultiHop-RandomNegatives-Triplets/train*
|
|
|
31 |
path: MultiHop-RandomNegatives-Triplets/test*
|
32 |
- config_name: MultiHop-HardNegatives-Triplets
|
33 |
description: >
|
34 |
+
A dataset for Multi-hop Inference with hard negatives; samples formatted as
|
35 |
+
triplets.
|
36 |
data_files:
|
37 |
- split: train
|
38 |
path: MultiHop-HardNegatives-Triplets/train*
|
|
|
42 |
path: MultiHop-HardNegatives-Triplets/test*
|
43 |
- config_name: MixedHop-RandomNegatives-Triplets
|
44 |
description: >
|
45 |
+
A dataset for Mixed-hop Prediction with random negatives; samples formatted
|
46 |
+
as triplets.
|
47 |
data_files:
|
48 |
- split: train
|
49 |
path: MixedHop-RandomNegatives-Triplets/train*
|
|
|
53 |
path: MixedHop-RandomNegatives-Triplets/test*
|
54 |
- config_name: MixedHop-HardNegatives-Triplets
|
55 |
description: >
|
56 |
+
A dataset for Mixed-hop Prediction with hard negatives; samples formatted as
|
57 |
+
triplets.
|
58 |
data_files:
|
59 |
- split: train
|
60 |
path: MixedHop-HardNegatives-Triplets/train*
|
|
|
64 |
path: MixedHop-HardNegatives-Triplets/test*
|
65 |
- config_name: MultiHop-RandomNegatives-Pairs
|
66 |
description: >
|
67 |
+
A dataset for Multi-hop Inference with random negatives; samples formatted
|
68 |
+
as pairs.
|
69 |
data_files:
|
70 |
- split: train
|
71 |
path: MultiHop-RandomNegatives-Pairs/train*
|
|
|
75 |
path: MultiHop-RandomNegatives-Pairs/test*
|
76 |
- config_name: MultiHop-HardNegatives-Pairs
|
77 |
description: >
|
78 |
+
A dataset for Multi-hop Inference with hard negatives; samples formatted as
|
79 |
+
pairs.
|
80 |
data_files:
|
81 |
- split: train
|
82 |
path: MultiHop-HardNegatives-Pairs/train*
|
|
|
86 |
path: MultiHop-HardNegatives-Pairs/test*
|
87 |
- config_name: MixedHop-RandomNegatives-Pairs
|
88 |
description: >
|
89 |
+
A dataset for Mixed-hop Prediction with random negatives; samples formatted
|
90 |
+
as pairs.
|
91 |
data_files:
|
92 |
- split: train
|
93 |
path: MixedHop-RandomNegatives-Pairs/train*
|
|
|
97 |
path: MixedHop-RandomNegatives-Pairs/test*
|
98 |
- config_name: MixedHop-HardNegatives-Pairs
|
99 |
description: >
|
100 |
+
A dataset for Mixed-hop Prediction with hard negatives; samples formatted as
|
101 |
+
pairs.
|
102 |
data_files:
|
103 |
- split: train
|
104 |
path: MixedHop-HardNegatives-Pairs/train*
|
|
|
110 |
|
111 |
# Dataset Card for WordNetNoun
|
112 |
|
|
|
|
|
113 |
This dataset is a collection of **Multi-hop Inference** and **Mixed-hop Prediction** datasets created from WordNet's subsumption (hypernym) hierarchy of noun entities for training and evaluating hierarchy embedding models.
|
114 |
|
115 |
+
- **Multi-hop Inference**: This task aims to evaluate the model’s ability in deducing indirect, multi-hop subsumptions from direct, one-hop subsumptions, so as to simulate transitive inference.
|
116 |
+
- **Mixed-hop Prediction**: This task aims to evaluate the model��s capability in determining the existence of subsumption relationships between arbitrary entity pairs, where the entities are not necessarily seen during training. The transfer setting of this task involves training models on asserted training edges of one hierarchy testing on arbitrary entity pairs of another.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
|
118 |
+
See our published paper (link below) for more detail.
|
119 |
|
|
|
120 |
|
121 |
+
## Links
|
122 |
|
123 |
+
- **GitHub Repository:** https://github.com/KRR-Oxford/HierarchyTransformers
|
124 |
+
- **Huggingface Page**: https://huggingface.co/Hierarchy-Transformers
|
125 |
+
- **Zenodo Release**: https://doi.org/10.5281/zenodo.10511042
|
126 |
+
- **Paper:** [Language Models as Hierarchy Encoders]((https://arxiv.org/abs/2401.11374)) (NeurIPS 2024).
|
127 |
|
128 |
+
The information of original entity IDs is not available in the Huggingface release; To map entities back to their original hierarchies, refer to this [Zenodo release](https://doi.org/10.5281/zenodo.10511042).
|
129 |
|
|
|
130 |
|
131 |
## Dataset Structure
|
132 |
|
133 |
+
Each subset in this dataset follows the naming convention `TaskType-NegativeType-SampleStructure`:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
|
135 |
+
- `TaskType`: Either `MultiHop` or `MixedHop`, indicating the type of hierarchy evaluation task.
|
136 |
|
137 |
+
- `NegativeType`: Either `RandomNegatives` or `HardNegatives`, specifying the strategy used for negative sampling.
|
138 |
|
139 |
+
- `SampleStructure`: Either `Triplets` or `Pairs`, indicating the format of the samples.
|
140 |
+
- In `Triplets`, each sample is structured as `(child, parent, negative)`.
|
141 |
+
- In `Pairs`, each sample is a labelled pair `(child, parent, label)`, where `label=1` denotes a positive subsumption and `label=0` denotes a negative subsumption.
|
142 |
|
|
|
143 |
|
144 |
+
## Citation
|
145 |
|
146 |
+
The relevant paper has been accepted at NeurIPS 2024 (to appear).
|
147 |
|
148 |
+
```
|
149 |
+
@article{he2024language,
|
150 |
+
title={Language models as hierarchy encoders},
|
151 |
+
author={He, Yuan and Yuan, Zhangdie and Chen, Jiaoyan and Horrocks, Ian},
|
152 |
+
journal={arXiv preprint arXiv:2401.11374},
|
153 |
+
year={2024}
|
154 |
+
}
|
155 |
+
```
|
156 |
|
157 |
## Dataset Card Contact
|
158 |
|
159 |
+
Yuan He (`yuan.he(at)cs.ox.ac.uk`)
|