Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -115,7 +115,7 @@ This dataset is a collection of **Multi-hop Inference** and **Mixed-hop Predicti
|
|
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
|
119 |
|
120 |
|
121 |
## Links
|
@@ -123,7 +123,7 @@ See our published paper (link below) for more detail.
|
|
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](
|
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 |
|
@@ -137,9 +137,15 @@ Each subset in this dataset follows the naming convention `TaskType-NegativeType
|
|
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 |
|
|
|
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](https://arxiv.org/abs/2401.11374) for more detail.
|
119 |
|
120 |
|
121 |
## Links
|
|
|
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 |
|
|
|
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 |
+
For example, to load a subset for the **Mixed-hop Prediction** task with **random negatives** and samples presented as **triplets**, we can use the following command:
|
144 |
+
|
145 |
+
```python
|
146 |
+
from datasets import load_dataset
|
147 |
+
dataset = load_dataset("Hierarchy-Transformers/WordNetNoun", "MixedHop-RandomNegatives-Triplets")
|
148 |
+
```
|
149 |
|
150 |
## Citation
|
151 |
|