Library
Reading
Papers that keep being referenced here. Not a syllabus; the annotation is why each one is here. Links go to arXiv — PDFs are not mirrored.
-
Transformers
Attention Is All You Need
The block, the residual, the multi-head trick. The diagrams have aged better than the training details.
-
Retrieval
Dense Passage Retrieval for Open-Domain Question Answering
A clean dense-retrieval baseline. If your retriever loses to BM25, start here.
-
Retrieval
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
The original RAG paper. Note how much of the work is indexing and retrieval, not prompting.
-
Retrieval
ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
The middle point between a bi-encoder and a cross-encoder. Read it for the token-level score.
-
Inference
GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints
The KV-cache arithmetic from the first note, in paper form.
-
Inference
Efficient Memory Management for LLM Serving with PagedAttention
Why serving long contexts is an allocator problem. Read it before promising 128k on one card.
-
Inference
Fast Inference from Transformers via Speculative Decoding
The acceptance/rejection argument. The speedup is a property of your draft and your traffic.
-
Inference
LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
Why a few outlier features force mixed-precision matmul. The paper behind a lot of int8 serving.
-
Inference
GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
The layer-wise reconstruction method behind a lot of 4-bit models. Read the calibration assumptions.
-
Training
LoRA: Low-Rank Adaptation of Large Language Models
The adapter trick that made fine-tuning cheap. Read it for what it does not change.
-
Architecture
Mixtral of Experts
Sparse experts, dense memory. The serving bill for a model that only uses part of itself.
-
Retrieval
Lost in the Middle: How Language Models Use Long Contexts
The paper to hand someone who wants to stuff fifty chunks into the prompt.
-
Evaluation
Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena
Useful, biased, and cheap. Read it before you automate your eval.
If a link dies, email varkanar.ch@gmail.com.