Natural language processing and large language model notes covering static embeddings, language models, BERT, LLM training, reasoning, uncertainty, and context engineering.
Start Here
For a structured pass through NLP and LLMs, read the modules in this order:
Embeddings
Language Models and Pretrained Models
LLM Training and Alignment
LLM Inference and Analysis
Module Map
Module Scope Embeddings Word vectors, Word2Vec, negative sampling, and GloVe Language Models and Pretrained Models N-gram models, BERT, and pretrained Transformer encoders LLM Training and Alignment Pretraining, alignment, post-training, and forgetting LLM Inference and Analysis Reasoning, uncertainty, context engineering, and analysis
Notes
Concept Map
Embeddings: one-hot encoding, dense word vectors, Word2Vec, negative sampling, GloVe, and contextual embeddings.
Language models: N-gram models, Markov assumptions, sparsity, and pretrained Transformer encoders.
LLM training: pretraining, SFT, RLHF, alignment, knowledge distillation, post-training, and catastrophic forgetting.
LLM inference: chain of thought, test-time compute, reasoning workflows, uncertainty estimation, semantic entropy, and context engineering.
Planned Notes
LLM Sampling Methods
Latent Space LLM Survey 2024
Mitigating LLM Hallucinations via Conformal Abstention
Information Theory for NLP
Transformer and Attention
4 items under this folder.