Skip to content

meettyj/Recipe2Vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recipe2Vec

This is the official repo for the IJCAI'22 paper "Recipe2Vec: Multi-modal Recipe Representation Learning with Graph Neural Networks".

Data

Please first download the data, then put them under the folder 'data/'.

For the mappings between the nodes in Large-RG (the recipe graph) and the recipe text (recipes.json), please check the following code block:

recipeID2nodeID_dict, nodeID2recipeID_dict = torch.load('../data/recipeID2nodeID_and_nodeID2recipeID.pt')
ingreID2nodeID_dict, nodeID2ingreID_dict = torch.load('../data/ingre2nodeID_and_nodeID2ingre.pt')

Code

All codes have been put into a jupyter notebook for easy reading and executing. We further log the results in the notebook for demonstration purposes.

Citing Recipe2Vec

If you find Recipe2Vec useful, please cite our paper.

@inproceedings{Recipe2Vec,
  author = {Tian, Yijun and Zhang, Chuxu and Guo, Zhichun and Ma, Yihong and Metoyer, Ronald and Chawla, Nitesh V.},
  title = {Recipe2Vec: Multi-modal Recipe Representation Learning with Graph Neural Networks},
  booktitle = {IJCAI},
  year = {2022}
}

About

Code & data for IJCAI'22 paper "Recipe2Vec: Multi-modal Recipe Representation Learning with Graph Neural Networks".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published