Code Monkey home page Code Monkey logo

word2vec-demo's Introduction

word2vec-demo

w2v_demo.mp4
  • This is a demo of word2vec skip-gram architecture
    • The sliding window size is 3
    • We use a center word (in one hot vector format) as an input to predict context words (in one hot vector format)
    • After the training is done, the hidden layer can be used as word embeddings and we can observe that similar words will be close to each other in vector space

How to run

  • Open w2v.html by browser, and click Train button

word2vec-demo's People

Contributors

hemingwaylee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

word2vec-demo's Issues

Consider distribute this repository under an open source license

Just came here from the Facebook post. Thank you for this great project!

It is still one step away to become open-source. Without a license, the whole repository is all-right-reserved. That is, no one could download and use it legally except you.

It's quite easy to add a license -- just follow the GitHub documentation and add a LICENSE file to this repository.

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository

Here's a website created by by GitHub that helps people choose a license:
https://choosealicense.com/

Some licenses I have heard of (from the most permissive to the most copy-left):

  • BSD0: Permit everyone to use, modify, and redistribute it freely without any limitation.

  • MIT License: Permit everyone to use, modify, and redistrimute it freely as long as they give credit to you by mentioning your name (attribution).

  • GNU LGPL: Permit everyone to use, modify, and redistribute it, but requiring the redistributed program to open source and license under GNU LGPL or GNU GPL.

  • GNU GPL: Similar to GNU LGPL, but requires programs that uses this project as a library to also open source and license under GNU GPL.

  • GNU AGPL: Since this project can be run on a server and become a SaaS, GNU AGPL extends GNU GPL by requiring anyone who run this project or its derivation on their server publicly to open source their work.

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.