~/talk

Word Embeddings for fun and profit in Gensim

Talkat PyData London 2016 · 2016-05-06..05-08· [machine-learning, python]
speakerdeck:tmylk
slides:none on file

Uses Gensim to load Google News Word2Vec (300‑dim) and trains on 2,000 movie plots (170k words); builds document features by averaging word vectors and with doc2vec, then feeds logistic regression. tf‑idf and character n‑grams give ~42–44% baseline, averaging vectors and doc2vec reach ~50–52% accuracy, so neural embeddings give only ~5% uplift. Shows vector arithmetic working for analogies, reports doc2vec training ~25s but inference is slower.

AI-written summary · about

  1. 0:00Word embeddings and Gensim
  2. 1:10Word embeddings benefits
  3. 3:57One-hot vectors definition
  4. 5:45Distributional hypothesis
  5. 7:12Word2vec gradient descent
  6. 9:40Softmax probabilities
  7. 11:26Vector arithmetic analogies
  8. 12:51Unsupervised learning applications
  9. 15:24Movie plot genre classification demo
  10. 17:33Averaging word vectors baseline
  11. 19:21Doc2Vec document tags
  12. 21:50Doc2Vec training and prediction
  13. 23:38TF-IDF and n-grams baselines
  14. 25:01Model tuning comparison
  15. 26:25Debugging embeddings
  16. 27:47Word embeddings use cases
  17. 28:53Other embedding applications
  18. 31:14NLP pre-processing tips
  19. 32:24LDA2Vec interpretable embeddings
  20. 33:06Loading external embeddings
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.