<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gradient Lab blog</title><link>https://gradientlab.dev/blog/</link><description>Machine learning deep dives in plain English.</description><language>en</language><atom:link href="https://gradientlab.dev/blog/feed.xml" rel="self" type="application/rss+xml"/>
<item><title>Gradient descent, step by step with real numbers</title><link>https://gradientlab.dev/blog/gradient-descent-step-by-step/</link><guid>https://gradientlab.dev/blog/gradient-descent-step-by-step/</guid><pubDate>Thu, 26 Nov 2026 03:30:00 GMT</pubDate><description>Gradient descent worked by hand: a one-weight example, the learning rate that converges or diverges, and a full step of linear regression with real numbers.</description></item>
<item><title>RLHF vs DPO: how language models learn what people prefer</title><link>https://gradientlab.dev/blog/rlhf-vs-dpo-preference-tuning/</link><guid>https://gradientlab.dev/blog/rlhf-vs-dpo-preference-tuning/</guid><pubDate>Thu, 26 Nov 2026 03:30:00 GMT</pubDate><description>How RLHF turns human rankings into a reward model and PPO updates, and how DPO gets the same effect with one simple loss. Worked numbers included.</description></item>
<item><title>Encoder vs decoder: why BERT reads and GPT writes</title><link>https://gradientlab.dev/blog/encoder-vs-decoder-bert-vs-gpt/</link><guid>https://gradientlab.dev/blog/encoder-vs-decoder-bert-vs-gpt/</guid><pubDate>Wed, 25 Nov 2026 03:30:00 GMT</pubDate><description>BERT and GPT use the same transformer blocks. One attention mask decides whether a model understands text or generates it. Here is how it works.</description></item>
</channel></rss>
