<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel><title>AI fundamentals — Trust is earned, not given</title><link>https://www.bobhuang.com/series/ai-fundamentals/</link><description>The groundwork under the AI series: how a model reads text, attention, a tiny GPT written in NumPy, scaling laws, inference, evaluation, and alignment.</description><language>en</language><lastBuildDate>10 Sep 2025 12:00:00 GMT</lastBuildDate><atom:link href="https://www.bobhuang.com/series/ai-fundamentals/feed.xml" rel="self" type="application/rss+xml"/><item><title>AI fundamentals, part 8: From lab to product — context, tools, and failure modes</title><link>https://www.bobhuang.com/blog/748/ai-fundamentals-building-products-with-llms/</link><guid>https://www.bobhuang.com/blog/748/ai-fundamentals-building-products-with-llms/</guid><pubDate>10 Sep 2025 12:00:00 GMT</pubDate><description>The series closer. Everything so far — tokenization, attention, training, scaling, sampling, evaluation, alignment — describes the model. Shipping it in a…</description></item><item><title>AI fundamentals, part 7: Alignment — RLHF and why models behave (mostly)</title><link>https://www.bobhuang.com/blog/747/ai-fundamentals-alignment-rlhf/</link><guid>https://www.bobhuang.com/blog/747/ai-fundamentals-alignment-rlhf/</guid><pubDate>14 May 2025 12:00:00 GMT</pubDate><description>Parts 1–6 produced a model that predicts text disturbingly well. But raw next-token prediction gives you an internet simulator, not an assistant: ask it a…</description></item><item><title>AI fundamentals, part 6: Evaluation — measuring what models can do (and how benchmarks lie)</title><link>https://www.bobhuang.com/blog/746/ai-fundamentals-evaluation-benchmarks/</link><guid>https://www.bobhuang.com/blog/746/ai-fundamentals-evaluation-benchmarks/</guid><pubDate>22 Jan 2025 12:00:00 GMT</pubDate><description>You've built, scaled and served a model (parts 1–5). Now the hardest question in applied AI: is it any good? This part covers what benchmarks measure, how…</description></item><item><title>AI fundamentals, part 5: Inference — how an LLM writes one token at a time</title><link>https://www.bobhuang.com/blog/745/ai-fundamentals-inference-sampling-kv-cache/</link><guid>https://www.bobhuang.com/blog/745/ai-fundamentals-inference-sampling-kv-cache/</guid><pubDate>25 Sep 2024 12:00:00 GMT</pubDate><description>Parts 1–4 built and scaled a model. Part 5 runs it: the generation loop, temperature and top-p sampling, the KV cache that makes it 100× faster, and why your…</description></item><item><title>AI fundamentals, part 4: Scaling laws — the economics of intelligence</title><link>https://www.bobhuang.com/blog/744/ai-fundamentals-scaling-laws-economics/</link><guid>https://www.bobhuang.com/blog/744/ai-fundamentals-scaling-laws-economics/</guid><pubDate>19 Jun 2024 12:00:00 GMT</pubDate><description>Part 4 is the one practitioners should read twice: the mathematics that decides whether a model costs \$100 or \$100 million. Neural loss follows strikingly…</description></item><item><title>AI fundamentals, part 3: Building a tiny GPT — the transformer block in NumPy</title><link>https://www.bobhuang.com/blog/743/ai-fundamentals-building-a-tiny-gpt-numpy/</link><guid>https://www.bobhuang.com/blog/743/ai-fundamentals-building-a-tiny-gpt-numpy/</guid><pubDate>14 Feb 2024 12:00:00 GMT</pubDate><description>Parts 1–2 gave us tokens and attention. Now we assemble a complete GPT-style transformer block — embeddings, attention, the feed-forward network, residual…</description></item><item><title>AI fundamentals, part 2: Attention — the idea that made transformers win</title><link>https://www.bobhuang.com/blog/742/ai-fundamentals-attention-mechanism/</link><guid>https://www.bobhuang.com/blog/742/ai-fundamentals-attention-mechanism/</guid><pubDate>30 Aug 2023 12:00:00 GMT</pubDate><description>Part 2 of the series. With text turned into token IDs, the model must decide which previous tokens matter for the next one. In "The key to the cabinet is…</description></item><item><title>AI fundamentals, part 1: From bytes to BPE — how language models read text</title><link>https://www.bobhuang.com/blog/741/ai-fundamentals-tokenization-bytes-to-bpe/</link><guid>https://www.bobhuang.com/blog/741/ai-fundamentals-tokenization-bytes-to-bpe/</guid><pubDate>08 Jun 2023 12:00:00 GMT</pubDate><description>This begins a series on how large language models actually work, written for programmers who know Python but not the internals of AI. We follow the same arc as…</description></item></channel></rss>