Datasets:
child
stringlengths 2
243
| parent
stringlengths 2
243
| label
int64 0
1
|
---|---|---|
blood group antibody to^a^ | independent low incidence blood group antibody | 1 |
blood group antibody to^a^ | blood group antibody welsh | 0 |
blood group antibody to^a^ | blood group antibody kirkpatrick | 0 |
blood group antibody to^a^ | blood group antibody d 1276 | 0 |
blood group antibody to^a^ | blood group antibody arun | 0 |
blood group antibody to^a^ | blood group antibody wolfe | 0 |
blood group antibody to^a^ | blood group antibody finlay | 0 |
blood group antibody to^a^ | blood group antibody middel | 0 |
blood group antibody to^a^ | blood group antibody tofts | 0 |
blood group antibody to^a^ | blood group antibody messenger | 0 |
blood group antibody to^a^ | blood group antibody r>2<r>2<-202 | 0 |
staphylococcus equorum | staphylococcus, coagulase negative | 1 |
staphylococcus equorum | staphylococcus condimenti | 0 |
staphylococcus equorum | staphylococcus carnosus | 0 |
staphylococcus equorum | coagulase negative staphylococcus species, not staphylococcus lugdunensis | 0 |
staphylococcus equorum | staphylococcus schleiferi | 0 |
staphylococcus equorum | staphylococcus sciuri subspecies sciuri | 0 |
staphylococcus equorum | staphylococcus xylosus | 0 |
staphylococcus equorum | staphylococcus saccharolyticus | 0 |
staphylococcus equorum | staphylococcus chromogenes | 0 |
staphylococcus equorum | staphylococcus succinus | 0 |
staphylococcus equorum | staphylococcus saprophyticus | 0 |
turning against the self - mental defense mechanism | mental defense mechanism finding | 1 |
turning against the self - mental defense mechanism | idealization - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | intellectualization - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | passive aggression - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | altruism - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | repression - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | rationalization - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | dissociation - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | humor - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | omnipotence - mental defense mechanism | 0 |
turning against the self - mental defense mechanism | splitting - mental defense mechanism | 0 |
iliotibial band friction syndrome of bilateral knee regions | disease | 1 |
iliotibial band friction syndrome of bilateral knee regions | microcystoid epithelial degeneration of cornea | 0 |
iliotibial band friction syndrome of bilateral knee regions | pellet wound of toe | 0 |
iliotibial band friction syndrome of bilateral knee regions | chordoma of vertebral column | 0 |
iliotibial band friction syndrome of bilateral knee regions | suprarenal artery embolus | 0 |
iliotibial band friction syndrome of bilateral knee regions | malignant melanoma of accessory sinus | 0 |
iliotibial band friction syndrome of bilateral knee regions | cerebellar deficiency syndrome | 0 |
iliotibial band friction syndrome of bilateral knee regions | dysarthria-clumsy hand syndrome | 0 |
iliotibial band friction syndrome of bilateral knee regions | opera glass deformity of hands | 0 |
iliotibial band friction syndrome of bilateral knee regions | open fracture of navicular bone of wrist | 0 |
iliotibial band friction syndrome of bilateral knee regions | primary congenital hypoplasia of bilateral lungs | 0 |
isoleucine modified diet | amino acid modified diet | 1 |
isoleucine modified diet | arginine modified diet | 0 |
isoleucine modified diet | phenylalanine modified diet | 0 |
isoleucine modified diet | tyrosine modified diet | 0 |
isoleucine modified diet | histidine modified diet | 0 |
isoleucine modified diet | methionine modified diet | 0 |
isoleucine modified diet | leucine modified diet | 0 |
isoleucine modified diet | increased homocysteine diet | 0 |
isoleucine modified diet | lysine modified diet | 0 |
isoleucine modified diet | threonine modified diet | 0 |
isoleucine modified diet | valine modified diet | 0 |
entire anterior surface of adrenal gland | structure of anterior surface of adrenal gland | 1 |
entire anterior surface of adrenal gland | alaria mustelae | 0 |
entire anterior surface of adrenal gland | chondroitin sulfotransferase | 0 |
entire anterior surface of adrenal gland | hospital admission, donor for transplant organ | 0 |
entire anterior surface of adrenal gland | refer to house officer | 0 |
entire anterior surface of adrenal gland | acromesomelic dysplasia maroteaux type | 0 |
entire anterior surface of adrenal gland | inadequate vestibular depth after teeth loss | 0 |
entire anterior surface of adrenal gland | bajau | 0 |
entire anterior surface of adrenal gland | mcleod neuroacanthocytosis syndrome | 0 |
entire anterior surface of adrenal gland | convalescent phase | 0 |
entire anterior surface of adrenal gland | acute hemorrhagic enterocolitis | 0 |
neurotrophic keratoconjunctivitis of left eye | disease | 1 |
neurotrophic keratoconjunctivitis of left eye | microcystoid epithelial degeneration of cornea | 0 |
neurotrophic keratoconjunctivitis of left eye | pellet wound of toe | 0 |
neurotrophic keratoconjunctivitis of left eye | chordoma of vertebral column | 0 |
neurotrophic keratoconjunctivitis of left eye | suprarenal artery embolus | 0 |
neurotrophic keratoconjunctivitis of left eye | malignant melanoma of accessory sinus | 0 |
neurotrophic keratoconjunctivitis of left eye | cerebellar deficiency syndrome | 0 |
neurotrophic keratoconjunctivitis of left eye | dysarthria-clumsy hand syndrome | 0 |
neurotrophic keratoconjunctivitis of left eye | opera glass deformity of hands | 0 |
neurotrophic keratoconjunctivitis of left eye | open fracture of navicular bone of wrist | 0 |
neurotrophic keratoconjunctivitis of left eye | primary congenital hypoplasia of bilateral lungs | 0 |
dislocation of fibula, distal end | disease | 1 |
dislocation of fibula, distal end | microcystoid epithelial degeneration of cornea | 0 |
dislocation of fibula, distal end | pellet wound of toe | 0 |
dislocation of fibula, distal end | chordoma of vertebral column | 0 |
dislocation of fibula, distal end | suprarenal artery embolus | 0 |
dislocation of fibula, distal end | malignant melanoma of accessory sinus | 0 |
dislocation of fibula, distal end | cerebellar deficiency syndrome | 0 |
dislocation of fibula, distal end | dysarthria-clumsy hand syndrome | 0 |
dislocation of fibula, distal end | opera glass deformity of hands | 0 |
dislocation of fibula, distal end | open fracture of navicular bone of wrist | 0 |
dislocation of fibula, distal end | primary congenital hypoplasia of bilateral lungs | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive muscular dystrophy with limb girdle distribution | 1 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive limb girdle muscular dystrophy type 2y | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | lim zinc finger domain containing 2-related limb girdle muscular dystrophy | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive muscular dystrophy with abnormal dystrophin-associated glycoprotein | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive limb girdle muscular dystrophy type 2a | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | hutterite type of muscular dystrophy | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive limb girdle muscular dystrophy type 2s | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | epidermolysis bullosa simplex with muscular dystrophy | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive limb girdle muscular dystrophy type 2g | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | blood vessel epicardial substance related limb girdle muscular dystrophy | 0 |
autosomal recessive limb girdle muscular dystrophy type 2u | autosomal recessive limb girdle muscular dystrophy type 2f | 0 |
evacuation of intracerebral hematoma | evacuation of hematoma | 1 |
Dataset Card for SnomedCT
This dataset is a collection of Multi-hop Inference and Mixed-hop Prediction datasets created from SnomedCT's subsumption hierarchy (TBox) for training and evaluating hierarchy embedding models.
- 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.
- 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.
See our published paper for more detail.
Links
- GitHub Repository: https://github.com/KRR-Oxford/HierarchyTransformers
- Huggingface Page: https://huggingface.co./Hierarchy-Transformers
- Zenodo Release: https://doi.org/10.5281/zenodo.10511042
- Paper: Language Models as Hierarchy Encoders (NeurIPS 2024).
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.
Dataset Structure
Each subset in this dataset follows the naming convention TaskType-NegativeType-SampleStructure
:
TaskType
: EitherMultiHop
orMixedHop
, indicating the type of hierarchy evaluation task.NegativeType
: EitherRandomNegatives
orHardNegatives
, specifying the strategy used for negative sampling.SampleStructure
: EitherTriplets
orPairs
, indicating the format of the samples.- In
Triplets
, each sample is structured as(child, parent, negative)
. - In
Pairs
, each sample is a labelled pair(child, parent, label)
, wherelabel=1
denotes a positive subsumption andlabel=0
denotes a negative subsumption.
- In
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:
from datasets import load_dataset
dataset = load_dataset("Hierarchy-Transformers/SnomedCT", "MixedHop-RandomNegatives-Triplets")
Dataset Usage
For evaluation, the
Pairs
sample structure should be adopted, as it allows for the computation of Precision, Recall, and F1 scores.For training, the choice between
Pairs
,Triplets
, or more complex sample structures depends on the model's design and specific requirements.
Citation
The relevant paper has been accepted at NeurIPS 2024 (to appear).
@article{he2024language,
title={Language models as hierarchy encoders},
author={He, Yuan and Yuan, Zhangdie and Chen, Jiaoyan and Horrocks, Ian},
journal={arXiv preprint arXiv:2401.11374},
year={2024}
}
Contact
Yuan He (yuan.he(at)cs.ox.ac.uk
)
- Downloads last month
- 263