Coder Social home page Coder Social logo

dannymerkx / next_word_prediction Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 13.0 167 KB

Pytorch implementation of next word prediction. Includes my own implementation of Google AI's Transformer architecture

Python 61.68% Shell 1.91% Julia 36.41%

next_word_prediction's People

Contributors

dannymerkx 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

Watchers

 avatar  avatar  avatar

next_word_prediction's Issues

Qustion with regard to the different learning ability between models

I notice that in your work, you have made it possible that parameters are comparable for 2 different models.
However, from what I understand, the same amount of parameter does not equal the same ability of learning.
If that's the case, a simple MLP layer could be stacked to compete with SOTA models in CV or NLP, but as far as we know, this is not true since we do know that some models learns well because of a more complex and efficient structure.
The transformer model itself is just much more powerful comparing to exsiting recurrent models like GRU, BiLSTM even with same amount of parameters. If a new recurrent model in the future could perform like transformer, does the idea of 'human reading style is like attention rather than recurrent' still hold?

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.