child
stringlengths 2
171
| parent
stringlengths 2
171
| label
int64 0
1
|
---|---|---|
diabetic mayonnaise | food dressing product | 1 |
diabetic mayonnaise | dressing, lowfat | 0 |
diabetic mayonnaise | animal product based dressing | 0 |
diabetic mayonnaise | animal product dressing | 0 |
diabetic mayonnaise | dressing, very low fat | 0 |
diabetic mayonnaise | plant product dressing | 0 |
diabetic mayonnaise | food spread | 0 |
diabetic mayonnaise | dressing for fish | 0 |
diabetic mayonnaise | french dressing, fat free | 0 |
diabetic mayonnaise | dressing | 0 |
diabetic mayonnaise | metanephrops | 0 |
sialic acid | carbohydrate | 1 |
sialic acid | polyol | 0 |
sialic acid | monosaccharide | 0 |
sialic acid | polysaccharide | 0 |
sialic acid | available carbohydrate | 0 |
sialic acid | alditol | 0 |
sialic acid | chitosan | 0 |
sialic acid | dietary fibre | 0 |
sialic acid | oligosaccharide | 0 |
sialic acid | polydextrose | 0 |
sialic acid | carbohydrate acid | 0 |
decapterus macrosoma | mackerel scads (decapterus spp) | 1 |
decapterus macrosoma | decapterus maruadsi | 0 |
decapterus macrosoma | decapterus tabl | 0 |
decapterus macrosoma | decapterus koheru | 0 |
decapterus macrosoma | decapterus russelli | 0 |
decapterus macrosoma | decapterus muroadsi | 0 |
decapterus macrosoma | decapterus punctatus | 0 |
decapterus macrosoma | decapterus scombrinus | 0 |
decapterus macrosoma | decapterus macarellus | 0 |
decapterus macrosoma | decapterus kurroides | 0 |
decapterus macrosoma | turkey breast (roasted) | 0 |
calciol | d3 vitamins | 1 |
calciol | vitamin d2 | 0 |
calciol | vitamin d4 | 0 |
calciol | vitamin d5 | 0 |
calciol | calcidiol | 0 |
calciol | p-menthan-3-ol | 0 |
calciol | actinopteri | 0 |
calciol | cranberry catsup | 0 |
calciol | selaroides leptolepis | 0 |
calciol | engraulis | 0 |
calciol | aequipecten glyptus | 0 |
saurida tumbil | saurida | 1 |
saurida tumbil | synodus saurus | 0 |
saurida tumbil | saurida elongata | 0 |
saurida tumbil | harpadon nehereus | 0 |
saurida tumbil | saurida undosquamis | 0 |
saurida tumbil | saurida filamentosa | 0 |
saurida tumbil | woodcock meat (raw) | 0 |
saurida tumbil | guava (dried) | 0 |
saurida tumbil | cherry snapper (raw) | 0 |
saurida tumbil | 21330 - cooked cured (or seasoned) poultry meat (efsa foodex2) | 0 |
saurida tumbil | cow milk sherbet food product | 0 |
custard | custard dessert food product | 1 |
custard | flan | 0 |
custard | mousse mix (dry) | 0 |
custard | rennet custard | 0 |
custard | bavarian mousse | 0 |
custard | custard pastry filling | 0 |
custard | flan (artificially sweetened) | 0 |
custard | milk pudding | 0 |
custard | graddost cheese (semisoft, ripened) | 0 |
custard | 35650 - honeybush (efsa foodex2) | 0 |
custard | wolffish food product | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 34520 - strawberry infusion leaves and similar- (efsa foodex2) | 1 |
34970 - ground ivy infusion leaves (efsa foodex2) | 35150 - lemon myrtle infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 35460 - sweet trefoil infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 35040 - hemp infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 34610 - aloe leaf gel (pulp) (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 35090 - horehound infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 34940 - goat´s rue infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 34690 - buchu infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 35260 - mulberry (black and white) infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 35290 - mullein infusion leaves (efsa foodex2) | 0 |
34970 - ground ivy infusion leaves (efsa foodex2) | 34850 - echinacea infusion leaves (efsa foodex2) | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | sarsaparilla root (smilax aristolochiifolia) | 1 |
sarsaparilla root (smilax aristolochiifolia, raw) | myoxocephalus polyacanthocephalus | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | caesio cuning | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | concentration of inositol in material entity | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | shrimp (powdered) | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | lake trout fillet (raw) | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | cereal and potato-based snack food | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | hypomesus | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | fruit paste for confectionery | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | mango nectar | 0 |
sarsaparilla root (smilax aristolochiifolia, raw) | dry bean pod | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | milk based product analog | 1 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | milk beverage analog | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | imitation milkshake mix (dry) | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | ice cream product analog | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | imitation half and half | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | fat-water emulsion for use as a substitute for milk and cream in beverage coffee (mix) | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | imitation dairy product | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | sesame milk beverage base | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | invertebrate animal food product | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | 08980 - thai basil (efsa foodex2) | 0 |
fat-water emulsion for use as a substitute for milk and cream in beverage coffee | atlantic, southwest (fao major fishing area 41) | 0 |
jack bean (whole, dried) | pulse food product | 1 |
Dataset Card for FoodOn
This dataset is a collection of Mixed-hop Prediction datasets created from FoodOn's subsumption hierarchy (TBox) for evaluating hierarchy embedding models.
- 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.
In this dataset, only
MixedHop
is available.
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/FoodOn", "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
- 12