Large Language Models
Lecture 4
Word Representation: GloVe
Krishnendu Ghosh
Count-based vs Prediction-based
GloVe – Global Vectors
Crucial insight: Ratios of co-occurrence probabilities can encode word meaning
GloVe – Global Vectors
Crucial insight: Ratios of co-occurrence probabilities can encode word meaning
Co-occurrence Matrix
Learn Word Vectors
Learn Word Vectors
Learn Word Vectors
Learn Word Vectors
Weighting function
GloVe: Advantages
• Fast training
• Scalable to huge corpora
• Good performance even with small corpus and small vectors
Details About GloVe
Original paper: https://nlp.stanford.edu/pubs/glove.pdf
Blogs with easy explanations:
https://medium.com/sciforce/word-vectors-in-natural-language-processing-global-vectors-glove-51339db89639
Source: https://lcs2-iitd.github.io/ELL881-AIL821-2401/lectures/