Git Product home page Git Product logo

pytorch_word2vec's Introduction

pytorch_word2vec

  • Recently, I am rewriting word2vec implement in c++ version and pyotrch version.

  • Use pytorch to implement word2vec.

  • C++ version cw2vec && word2vec.

  • Now,there are still some problems that need to be improved.

总结就是 两个单词在一句话中,位置距离在2以内, 那么就让他们的embed 后的内积取负号后作为loss 超过2的,让他们的内积加到loss里面 所以bp之后,embed的向量越近的内积大,越远的内积越小.

pytorch_word2vec's People

Contributors

dalinvip avatar zhangbo2008 avatar

Watchers

 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.