TensorTonicTensorTonic
Problems
Study PlansProjectsInterviewPricingFeedback

Research Papers

Word2Vec

Word2Vec badge
1

Subsampling

Frequent-word subsampling keep-probabilities that downweight very common words during training.

2

Skip-gram Pairs

Generate (center, context) training pairs from a token sequence within a context window.

3

Negative Sampling

The unigram^0.75 noise distribution used to draw negative samples.

4

SGNS Loss

The skip-gram with negative sampling objective over a center, its positive context, and k negatives.

5

CBOW Forward

Continuous bag-of-words: average context vectors, project, and score the center word.

6

SGNS Step

One full SGD step: forward, gradients for both embedding matrices, and the parameter update.

Loading architecture visualization...