Word Embedding For Fun and Profit
summary
Trains gensim word2vec on a ~170k‑word movie‑plots corpus from the movie-plots-by-genre repo, compares baselines: majority label 40%, tf‑idf bag‑of‑words 46%, doc2vec 52%, and simple averaged word vectors wins (~58%) out of the box. Notes: training is fast (~25s on laptop for this small set), prediction for doc2vec requires descent at inference and is unstable, models need ~500k+ words to stabilize, removing stopwords and PCA help, and real gains require careful hyperparameter tuning.
AI-written summary · about
chapters (14)
- 0:00Word embeddings and GenSim
- 2:34Theory behind embeddings
- 10:33How word2vec works
- 22:05Movie genre demo setup
- 24:16Baseline genre models
- 29:14Word vectors for classification
- 33:09Doc2Vec for genre prediction
- 43:47Model evaluation limits
- 48:14Debugging word embeddings
- 53:51Embeddings vs other NLP
- 55:37Bias and fairness in embeddings
- 57:11Analogies and multilingual embeddings
- 1:00:18Randomness in production
- 1:02:47Closing and Q&A
related talks
34mWord Embeddings for fun and profit in Gensim
01h 01mWord Embeddings - An Alternative & Efficient Approach to Search for Docs
46mBeyond Bag of Words A Practitioner’s Guide to Advanced NLP
59mContextual search with vector search: exploring your options with open source tools
39mBeyond word2vec: GloVe, fastText, StarSpace
40mText similiarity with the next generation of word embeddings in Gensim
42mDocument Vectors in the Wild
35mHow does text become data?
