Perplexity and Cross-Entropy: Measuring a Language Model
← Back to Blog & Articles Perplexity is the standard intrinsic metric for language models. It is a simple transformation of cross-entropy, and it […]
← Back to Blog & Articles Perplexity is the standard intrinsic metric for language models. It is a simple transformation of cross-entropy, and it […]
← Back to Blog & Articles Attention by itself has no sense of word order. Rotary position embeddings, or RoPE, add order by rotating […]
← Back to Blog & Articles Automated planning needs a way to describe what actions do. STRIPS gives a compact answer: each action lists […]
← Back to Blog & Articles A* is only as good as its heuristic. Understanding what makes a heuristic safe, and how to build […]
← Back to Blog & Articles Many puzzles, such as Sudoku and N-Queens, are constraint satisfaction problems. Plain backtracking can solve them, but adding […]
← Back to Blog & Articles Minimax lets a program choose moves in two-player games by assuming both sides play as well as they […]
← Back to Blog & Articles A dynamic array sometimes has to copy all its elements, yet we say appending is O(1). Amortized analysis […]
← Back to Blog & Articles Interval problems look varied, but many reduce to one idea: sort by start time, then sweep through once […]
← Back to Blog & Articles The fast and slow pointer pattern uses two pointers that move through a sequence at different speeds. It […]
← Back to Blog & Articles Interviewers reward a visible process, not just a final answer. The C.L.E.A.R. framework in Algorithmic Edge gives you […]