Code Monkey home page Code Monkey logo

recipe2vec's Introduction

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}
}

recipe2vec's People

Contributors

meettyj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.