Word Embeddings and Positional Encoding
摘要
This chapter discusses mathematical models underlying word embeddings and positional encodings in transformers. It covers classic techniques like Word2Vec and GloVe, other advanced embeddings, and sinusoidal and learned positional encodings ([3–5]). The integration of embeddings and encodings is analyzed for its impact on self-attention and model performance.