Git Product home page Git Product logo

kdd2018_mpcn's People

Contributors

vanzytay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kdd2018_mpcn's Issues

Does a sample of (user reviews, item reviews, rating) contains the review wrote by user for item?

For example, a sample (user reviews, item reviews, rating) represented the input for model MPCN obviously exists a review wrote by such user for such item. As TransNets mentioned, that review should not be present in development and test. I also saw that "We would like to emphasize that, when building user and item representations using their respective reviews, all reviews belonging to interactions from the test and development sets were not included." in section 4.1 of your paper. But I didn't find out how to deal with the above problem in your code. Could you give me some enlightenment?

I apologize for disturbing you if it's a problem too easy.

About some bug in prep_amazon2.py

Hi! Thanks for share your work. when I run prep_amazon2.py, it don't work.
NameError: name 'build_word_index' is not defined
Can you share this file.
Thank you!

other project

I read your paper Reasoning_ with Sarcasm by Reading In-between in ACL2018. I deal with the dataset Reddit ,and I can't get the similar results.I hope that you can share me the source code inlcuding the dataset.Thank you very much!

About hierarchical inputs

Hi,
Very brilliant job! I tried to understand your code, but I have some problems.

embed: `tensor` [bsz x seq_len x dim] flattened input

    embed = tf.reshape(embed, [-1, smax, _dims])
    lengths = tf.reshape(lengths, [-1])
    return embed, lengths

I think the code here is different from the comments.
In the code ,the embed should be [bsz x (num_docs * seq_len) x dim] => [(bsz * num_docs) x seq_len x dim] and lengths tensor also seems to have a problem. You mentioned in the article that it is not a combination of comments into documents, but a hierarchical structure, but I found that your lengths tensor does not seem to be used.

Thanks !

Some experimental details about parameter setting

Hi, thanks for sharing your implementation.
I tried to reuse your code on Amazon datasets, but I didn't get the performance as expected.
I tried to use Glove pretrained embedding at first and then randomly initialize the embeddings.
For the max length of each review, I firstly used the number covering 90% lengths but later set the maximum length as 50.
I doubt whether I made some mistakes in parameter settings.

Some issues about prep_amazon2.py and train.py

Hi! Thanks for share your work In Github. when I run prep_amazon2.py and train.py, it don't work.
NameError: name 'build_word_index' and 'tylib_tokenize' are not defined
NameError: name name 'get_rec_config'is not defined' are not defined
Can you share theses files.
Thank you!

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.