Scaling laws and Chinchilla: why small models keep getting stronger
From Kaplan's 2020 power laws to Chinchilla's ~20 tokens per parameter, and why models are now over-trained to be cheap to serve.
How language models work: tokens, attention, sampling, embeddings, RAG, hallucinations. · 11 articles
From Kaplan's 2020 power laws to Chinchilla's ~20 tokens per parameter, and why models are now over-trained to be cheap to serve.
InstructGPT's three RLHF steps, how Constitutional AI uses principles and AI feedback, a comparison of the two, and side effects like sycophancy and verbosity.
Three foundational studies (CoT, step-by-step, self-consistency), why step-by-step reasoning works, and using it with Claude's thinking.
Routers and experts, three milestones (Sparsely-Gated MoE, Switch Transformer, Mixtral), and understanding total vs active parameters when self-hosting.
Tokenization and Byte Pair Encoding explained: why models miscount letters, why non-English text costs more tokens, and how to count tokens with the Claude API.
Self-attention, Query/Key/Value and multi-head explained, plus why the Transformer makes long context expensive and caching effective.
How sampling works in LLMs, what temperature, top-p and top-k do, how to set them on the Claude API per task, and common misconceptions.
What embeddings are, why meaning-based search beats keywords, using them with Claude via Voyage AI, input_type, quantization and common traps.
Anthropic's Contextual Retrieval: prepend context to each chunk and combine embeddings, BM25 and reranking to cut retrieval failures by 67%.
The causes of hallucination per 2025 research (training plus scoring that rewards guessing), common types, and Anthropic's mitigation techniques.
Two studies show LLMs use context unevenly: information in the middle gets missed and quality drops as input grows. Plus six mitigation tactics.
Try another keyword or clear the topic filter.
Follow binhAI via RSS (Feedly, Inoreader, Slack…) to get new articles as soon as they’re published.