Coder Social home page Coder Social logo

Comments (6)

lan2720 avatar lan2720 commented on July 3, 2024

Hi, I feel strange about it too.

Another thing puzzles me is where the wordlist.txt comes from. Since I try to generate IMDB wordlist using its train.txt and dev.txt. Just get 90000+ words, rather than 100000+ words as authors described.
Is there anything I missed?

from nsc.

wangjialin114 avatar wangjialin114 commented on July 3, 2024

@lan2720 About the wordlist, i think you should just use the author gives to you.
About where it comes from , i guess , maybe the original dataset(that have not been split).Then use tokenization to get it.

from nsc.

lan2720 avatar lan2720 commented on July 3, 2024

@wangjialin114 Thanks but I don't think so. Because the authors say they use the datasets provided by Tang. In Tang's zip file, train/dev/test data have been split already. And he didn't provide other files like wordlist.txt. So wordlist.txt was created by the authors using train and dev sets. But now I just cannot get the same result according to this idea.

from nsc.

huimchen avatar huimchen commented on July 3, 2024
  • @wangjialin114
    Thanks for your question. As you said, there is one "UNK" word embedding in the embinit.save, which is the last embedding.

from nsc.

huimchen avatar huimchen commented on July 3, 2024
  • @lan2720
    Thanks for your question. I get the wordlist.txt from a more original dataset in Tang 2015"Document Modeling with Gated Recurrent Neural Network for Sentiment Classification". And the dataset in this paper is a subset from the original dataset. Maybe I state not so clearly.

from nsc.

lan2720 avatar lan2720 commented on July 3, 2024

@huimchen Thanks for your clear answer!

from nsc.

Related Issues (20)

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.