GithubHelp home page GithubHelp logo

pjlintw / nnlm Goto Github PK

View Code? Open in Web Editor NEW
10.0 0.0 1.0 239.33 MB

Implementation of "A Neural Probabilistic Language Model" by Yoshua Bengio et al. - Tensorflow

Python 99.34% Jupyter Notebook 0.66%
tensorflow nlp natural-language-processing nnlm neural-language-model

nnlm's People

Contributors

pjlintw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chrisandrewca

nnlm's Issues

Change model output

Hi Sir,

            Hope you are doing well in these tough times, Thanks for sharing your git repo on NNLM that is implementation of bengio 2003 . I want to use NNLM  to predict the next word . First of all i am very thankful  how you  make input and output batches like (Only you have implemented this like that thanks ) --Sentence -  I am learning NNLM
Input batch-1 I Output batch-1 am
Input  batch 2- I am
Output 2 - learning.
Input batch 3- I am learning 
Output batch -3 NNML
In my application, that  i  am working on I want the result same way ,but in your implementation Cosine Similarity measure of a given word  with top n words are output .

Kindly guide me how tp make necessary changes so that I am able to predict the next possible word in any variable length  input sequence .

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.