BLOGLLM Logo
Go Pro
Guest
Not signed in
All BlogsCoursesPracticeInterview prepSeriesTagsBookmarksPricing
Log in
All BlogsCoursesPracticeTagsBookmarksPricing
BlogsCourses
Practice
My PrepProblemsStudy PlansResearch PapersRoadmapInterviewContestsLeaderboardGames
Articles
Practice / Research papers
Foundations · 2013

Distributed Representations of Words and Phrases and their Compositionality

Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, Jeffrey Dean

NeurIPS 2013 · arXiv 1310.4546 · Read the paper ↗

Skip-gram with negative sampling: learn word vectors by telling real context words from random ones.

3 steps · 0 solved

Start: Skip-gram negative sampling loss →
  1. 1Skip-gram negative sampling lossThe objective at the heart of word2vec.word2vec skip-gram negative sampling loss (Mikolov et al., 2013)Easy
  2. 2Embedding gradientsBackprop into the rows of an embedding table.Backpropagate through an embedding lookupMedium
  3. 3Similarity between vectorsCompare learned embeddings with cosine similarity.Help desk: find near-duplicate tickets with a cosine similarity matrixEasy

More foundations papers

  • Deep Residual Learning for Image Recognition 2015
  • Adam: A Method for Stochastic Optimization 2014
  • Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift 2015
  • Dropout: A Simple Way to Prevent Neural Networks from Overfitting 2014
Goal
Train word vectors with negative sampling
0 / 3 solved
Start: Skip-gram negative sampling loss →
How it works

Solve the steps in order. Each one is a small function with tests that run in your browser. Later steps reuse ideas from earlier ones.

© BlogLLM, Bengaluru, IndiaAboutTermsPrivacyRefundsDMCAContactRSS