<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>davethehuman.com</title><link>https://davethehuman.com/</link><description>Recent content on davethehuman.com</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Dave the human</copyright><lastBuildDate>Sat, 30 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://davethehuman.com/index.xml" rel="self" type="application/rss+xml"/><item><title>BPE</title><link>https://davethehuman.com/notes/bpe/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/bpe/</guid><description>&lt;p&gt;&lt;em&gt;BPE&lt;/em&gt; stands for &lt;em&gt;Byte Pair Encoding&lt;/em&gt;, a method to split into &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt;s that can represent both common and rare words using a mix of full words and sub-words units. Spaces are also included in tokens, and this helps &lt;a href="https://davethehuman.com/notes/llm/"&gt;LLM&lt;/a&gt; detect word boundaries.&lt;/p&gt;</description></item><item><title>decoding</title><link>https://davethehuman.com/notes/decoding/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/decoding/</guid><description>&lt;p&gt;When a &lt;a href="https://davethehuman.com/notes/tokenizer/"&gt;tokenizer&lt;/a&gt; performs the process of &lt;em&gt;decoding&lt;/em&gt; (through its &lt;code&gt;decode&lt;/code&gt; method), a list of IDs representing &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt;s is converted to natural language.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;input_token_ids_list &lt;span style="color:#f92672"&gt;=&lt;/span&gt; [&lt;span style="color:#ae81ff"&gt;19152&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;20238&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;11&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;358&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;646&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;944&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;653&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;429&lt;/span&gt;]
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;text &lt;span style="color:#f92672"&gt;=&lt;/span&gt; tokenizer&lt;span style="color:#f92672"&gt;.&lt;/span&gt;decode(input_token_ids_list)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;print(text)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre class="code-output"&gt;Sorry Dave, I can&amp;#39;t do that&lt;/pre&gt;

&lt;p&gt;The other way around from natural language to IDs is called &lt;a href="https://davethehuman.com/notes/encoding/"&gt;encoding&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>encoding</title><link>https://davethehuman.com/notes/encoding/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/encoding/</guid><description>&lt;p&gt;When a &lt;a href="https://davethehuman.com/notes/tokenizer/"&gt;tokenizer&lt;/a&gt; performs the process of &lt;em&gt;encoding&lt;/em&gt; (through its &lt;em&gt;encode&lt;/em&gt; method), a natural language text is broken into &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt;s that are then converted to IDs.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Even notes can have code&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;prompt &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;Sorry Dave, I can&amp;#39;t do that&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;input_token_ids_list &lt;span style="color:#f92672"&gt;=&lt;/span&gt; tokenizer&lt;span style="color:#f92672"&gt;.&lt;/span&gt;encode(prompt)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;print(input_token_ids_list)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre class="code-output"&gt;[19152, 20238, 11, 358, 646, 944, 653, 429]&lt;/pre&gt;

&lt;p&gt;The way back from IDs to natural language is called [[decoding]].&lt;/p&gt;</description></item><item><title>vocabulary</title><link>https://davethehuman.com/notes/vocabulary/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/vocabulary/</guid><description>&lt;p&gt;The number of &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt;s that can be handled by a &lt;a href="https://davethehuman.com/notes/tokenizer/"&gt;tokenizer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A larger vocabulary in [[LLM]]s:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;increases the model size because the [[embedding]] and output layers must store more &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt; representations&lt;/li&gt;
&lt;li&gt;increases the per-token compute cost of producing next-token probabilities&lt;/li&gt;
&lt;li&gt;allows more words to be represented as single tokens rather than being split into subword components; this can reduce the sequence length since less tokens are required to represent a sentence&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So the tradeoff is between a larger vocabulary with somewhat higher per-token cost and a smaller vocabulary that often produces longer token sequences.&lt;/p&gt;</description></item><item><title>RLHF</title><link>https://davethehuman.com/notes/rlhf/</link><pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/rlhf/</guid><description>&lt;p&gt;See &lt;a href="https://davethehuman.com/notes/reinforcement-learning-from-human-feedback/"&gt;reinforcement learning from human feedback&lt;/a&gt;].&lt;/p&gt;</description></item><item><title>distillation</title><link>https://davethehuman.com/notes/distillation/</link><pubDate>Thu, 14 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/distillation/</guid><description>&lt;p&gt;&lt;em&gt;Distillation&lt;/em&gt; (also called &lt;a href="https://davethehuman.com/coming-soon/"&gt;knowledge distillation&lt;/a&gt;) consists of transferring complex reasoning patterns learned by larger models into smaller ones.
In &lt;a href="https://davethehuman.com/coming-soon/"&gt;deep learning&lt;/a&gt;, distillation happens when a smaller &amp;ldquo;student&amp;rdquo; model learns from outputs and logits of a larger &amp;ldquo;teacher&amp;rdquo; model; when talking about &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;s, distillation typically means performing &lt;a href="https://davethehuman.com/notes/supervised-fine-tuning/"&gt;supervised fine-tuning&lt;/a&gt; using high-quality labeled instruction datasets generated by a more capable &lt;a href="https://davethehuman.com/notes/llm/"&gt;LLM&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>reinforcement learning from human feedback</title><link>https://davethehuman.com/notes/reinforcement-learning-from-human-feedback/</link><pubDate>Thu, 14 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/reinforcement-learning-from-human-feedback/</guid><description>&lt;p&gt;&lt;em&gt;Reinforcement Learning From Human Feedback&lt;/em&gt; (or &lt;a href="https://davethehuman.com/notes/rlhf/"&gt;RLHF&lt;/a&gt;) involves human evaluations or rankings of model outputs as reward signals; this means that humans are involved in the process to guide the model toward human-preferred behaviors.&lt;/p&gt;
&lt;p&gt;This is in contrast with &lt;a href="https://davethehuman.com/notes/reinforcement-learning/"&gt;reinforcement learning&lt;/a&gt; in the context of &lt;a href="https://davethehuman.com/notes/reasoning/"&gt;reasoning&lt;/a&gt;, where the models rely on automated or environment-based reward signals (more objective but potentially less aligned with human preference).&lt;/p&gt;</description></item><item><title>inference-compute scaling</title><link>https://davethehuman.com/notes/inference-compute-scaling/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/inference-compute-scaling/</guid><description>&lt;p&gt;See &lt;a href="https://davethehuman.com/notes/inference-time-compute-scaling/"&gt;inference-time compute scaling&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>inference-time compute scaling</title><link>https://davethehuman.com/notes/inference-time-compute-scaling/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/inference-time-compute-scaling/</guid><description>&lt;p&gt;&lt;em&gt;Inference-time compute scaling&lt;/em&gt; (also called &lt;a href="https://davethehuman.com/notes/inference-compute-scaling/"&gt;inference-compute scaling&lt;/a&gt; or &lt;a href="https://davethehuman.com/notes/test-time-scaling/"&gt;test-time scaling&lt;/a&gt;) is a technique that aims to improve a &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;&amp;rsquo;s &lt;a href="https://davethehuman.com/notes/reasoning/"&gt;reasoning&lt;/a&gt; capabilities at &lt;a href="https://davethehuman.com/coming-soon/"&gt;inference&lt;/a&gt; time without training or modifying the underlying model &lt;a href="https://davethehuman.com/coming-soon/"&gt;weights&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The core idea is to trade off increased computational resources for improved performance; in this way, even fixed models can become more capable through techniques like &lt;a href="https://davethehuman.com/notes/chain-of-thought-cot/"&gt;chain-of-thought (COT)&lt;/a&gt; and various sampling procedures.&lt;/p&gt;</description></item><item><title>reasoning</title><link>https://davethehuman.com/notes/reasoning/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/reasoning/</guid><description>&lt;p&gt;In the context of &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;s, &lt;em&gt;reasoning&lt;/em&gt; is the ability to tackle more complex problems step-by-step.&lt;/p&gt;
&lt;p&gt;The concept of &lt;em&gt;reasoning&lt;/em&gt; became popular when &lt;a href="https://openai.com/index/introducing-openai-o1-preview/"&gt;OpenAI announced o1&lt;/a&gt; on the 12th of September 2024, highlighting their capabilities in tackling complex problems in science, math, coding etc.
Few months later, in January 2025, DeepSeek &lt;a href="https://arxiv.org/abs/2501.12948"&gt;released their R1 model&lt;/a&gt; that competed and exceeded the performance of the proprietary o1 model.
The great thing is that they made it openly available, sharing a blueprint on how to train such a model.&lt;/p&gt;</description></item><item><title>reinforcement learning</title><link>https://davethehuman.com/notes/reinforcement-learning/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/reinforcement-learning/</guid><description>&lt;p&gt;&lt;em&gt;Reinforcement Learning&lt;/em&gt; (or &lt;a href="https://davethehuman.com/notes/rl/"&gt;RL&lt;/a&gt;) aims to improve a &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;&amp;rsquo;s &lt;a href="https://davethehuman.com/notes/reasoning/"&gt;reasoning&lt;/a&gt; capabilities by encouraging it to take actions that lead to high reward signals.&lt;/p&gt;
&lt;p&gt;While &lt;a href="https://davethehuman.com/notes/inference-time-compute-scaling/"&gt;inference-time compute scaling&lt;/a&gt; improves model&amp;rsquo;s reasoning performance without modifying the model, &lt;em&gt;RL&lt;/em&gt; updates the model&amp;rsquo;s &lt;a href="https://davethehuman.com/coming-soon/"&gt;weights&lt;/a&gt; during training, enabling the model to learn through trial and error based on the feedback from the environment.&lt;/p&gt;
&lt;p&gt;It is important to distinguish reinforcement learning in the context of reasoning from &lt;a href="https://davethehuman.com/notes/reinforcement-learning-from-human-feedback/"&gt;reinforcement learning from human feedback&lt;/a&gt; (&lt;a href="https://davethehuman.com/notes/rlhf/"&gt;RLHF&lt;/a&gt;), which is used during &lt;a href="https://davethehuman.com/notes/preference-tuning/"&gt;preference tuning&lt;/a&gt;. Both settings use reinforcement learning principles but they differ primarily in how the reward is obtained and validated (through human verifiers for RLHF versus automated verifiers or environments for reasoning RL).&lt;/p&gt;</description></item><item><title>RL</title><link>https://davethehuman.com/notes/rl/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/rl/</guid><description>&lt;p&gt;See &lt;a href="https://davethehuman.com/notes/reinforcement-learning/"&gt;reinforcement learning&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>test-time scaling</title><link>https://davethehuman.com/notes/test-time-scaling/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/test-time-scaling/</guid><description>&lt;p&gt;See &lt;a href="https://davethehuman.com/notes/inference-time-compute-scaling/"&gt;inference-time compute scaling&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>token</title><link>https://davethehuman.com/notes/token/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/token/</guid><description>&lt;p&gt;A &lt;em&gt;token&lt;/em&gt; is not necessary an entire word: it can be defined as a small unit of text that gets processed by a language model.&lt;/p&gt;
&lt;p&gt;It can be a full word, part of a word, or even punctuation depending on how the text is split and mapped to IDs by the &lt;a href="https://davethehuman.com/notes/tokenizer/"&gt;tokenizer&lt;/a&gt;.
E.g. the sentence &lt;code&gt;Sorry Dave, I can't do that&lt;/code&gt; can be broken into tokens like this:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;19152 --&amp;gt; Sorry
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;20238 --&amp;gt; Dave
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;11 --&amp;gt; ,
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;358 --&amp;gt; I
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;646 --&amp;gt; can
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;944 --&amp;gt; &amp;#39;t
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;653 --&amp;gt; do
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;429 --&amp;gt; that&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The ID mapping is necessary to make the model ingest the tokens.&lt;/p&gt;</description></item><item><title>tokenizer</title><link>https://davethehuman.com/notes/tokenizer/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/tokenizer/</guid><description>&lt;p&gt;A &lt;em&gt;tokenizer&lt;/em&gt; is a critical component of the &lt;a href="https://davethehuman.com/notes/llm/"&gt;LLM&lt;/a&gt; text processing and generation pipeline even though it is not directly part of it.
It splits the text into &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt;s that get converted into numerical IDs to be ingested by the language model (&lt;a href="https://davethehuman.com/notes/encoding/"&gt;encoding&lt;/a&gt;) and it decodes back the LLM&amp;rsquo;s output to human-readable text (&lt;a href="https://davethehuman.com/notes/decoding/"&gt;decoding&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>LLM training pipeline</title><link>https://davethehuman.com/notes/llm-training-pipeline/</link><pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/llm-training-pipeline/</guid><description>&lt;p&gt;Conventional &lt;a href="https://davethehuman.com/notes/llm/"&gt;LLM&lt;/a&gt; are typically trained in two stages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://davethehuman.com/notes/pre-training/"&gt;pre-training&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://davethehuman.com/notes/post-training/"&gt;post-training&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some recent research also distinguish a &lt;a href="https://davethehuman.com/coming-soon/"&gt;mid-training&lt;/a&gt; stage between them.&lt;/p&gt;</description></item><item><title>preference tuning</title><link>https://davethehuman.com/notes/preference-tuning/</link><pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/preference-tuning/</guid><description>&lt;p&gt;&lt;em&gt;Preference tuning&lt;/em&gt; is nowadays often performed through &lt;a href="https://davethehuman.com/notes/reinforcement-learning-from-human-feedback/"&gt;Reinforcement Learning From Human Feedback&lt;/a&gt; (or &lt;a href="https://davethehuman.com/notes/rlhf/"&gt;RLHF&lt;/a&gt;) refines the &lt;a href="https://davethehuman.com/notes/supervised-fine-tuning/"&gt;supervised fine-tuning&lt;/a&gt; with preferred stylistic choices.&lt;/p&gt;</description></item><item><title>supervised fine-tuning</title><link>https://davethehuman.com/notes/supervised-fine-tuning/</link><pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/supervised-fine-tuning/</guid><description>&lt;p&gt;&lt;em&gt;Supervised fine-tuning&lt;/em&gt; (or &lt;a href="https://davethehuman.com/coming-soon/"&gt;instruction tuning&lt;/a&gt;) improves an &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt; capabilities in question-answering, summarization, translation etc.
Later, the &lt;a href="https://davethehuman.com/notes/preference-tuning/"&gt;preference tuning&lt;/a&gt; refines these capabilities.&lt;/p&gt;</description></item><item><title>chain-of-thought</title><link>https://davethehuman.com/notes/chain-of-thought-cot/</link><pubDate>Thu, 07 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/chain-of-thought-cot/</guid><description>&lt;p&gt;&lt;em&gt;Chain of thought&lt;/em&gt; is a style of intermediate-step generation that the &lt;a href="https://davethehuman.com/notes/llm/"&gt;LLM&lt;/a&gt; uses to make all the &lt;a href="https://davethehuman.com/notes/reasoning/"&gt;reasoning&lt;/a&gt; stages explicit and easier to follow.&lt;/p&gt;
&lt;p&gt;With COT, the LLM does not just recall a fact but it rather gets to the conclusion through intermediate passages, resembling a person articulating their thoughts out loud.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Prompt&lt;/strong&gt;&lt;/em&gt;: &lt;em&gt;&amp;ldquo;Alice has 3 apples and Bob has 5 apples. Alice gives 1 apple to Bob. How many apples do they have together?&amp;rdquo;&lt;/em&gt;&lt;/p&gt;</description></item><item><title>agentic loop</title><link>https://davethehuman.com/notes/agentic-loop/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/agentic-loop/</guid><description>&lt;p&gt;The &lt;em&gt;agentic loop&lt;/em&gt; consists of the core components of an &lt;a href="https://davethehuman.com/notes/ai-agent/"&gt;AI agent&lt;/a&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Brain (or &lt;a href="https://davethehuman.com/coming-soon/"&gt;reasoning engine&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Planning: the agent uses techniques like &lt;a href="https://davethehuman.com/notes/chain-of-thought-cot/"&gt;chain-of-thought (COT)&lt;/a&gt; or &lt;a href="https://davethehuman.com/coming-soon/"&gt;ReAct&lt;/a&gt; to decide what to do next based on previous outcomes&lt;/li&gt;
&lt;li&gt;Memory:
&lt;ul&gt;
&lt;li&gt;Short-term: the immediate &lt;a href="https://davethehuman.com/coming-soon/"&gt;context window&lt;/a&gt; (current conversation)&lt;/li&gt;
&lt;li&gt;Long-term: vector databases or logs that allow the agent to &amp;ldquo;remember&amp;rdquo; past experiences across different sessions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Tools (capabilities): APIs, web search, code execution environments, or database access. Tools allow the agents to affect the real world (e.g. booking a flight, sending an email, etc.)&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>AI agent</title><link>https://davethehuman.com/notes/ai-agent/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/ai-agent/</guid><description>&lt;p&gt;An &lt;em&gt;AI agent&lt;/em&gt; is an autonomous software system that uses a &lt;a href="https://davethehuman.com/coming-soon/"&gt;reasoning engine&lt;/a&gt; (typically a &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;) to perceive its environment, reason about goals, and execute multi-step actions using external tools to achieve a specific objective. It basically uses an LLM as its brain.&lt;/p&gt;
&lt;p&gt;Unlike standard LLMs, which are reactive (answering prompts), agents are proactive (pursuing goals).
Some example differences between them:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;capabilities: the standard LLM can generate text and code, and the AI agent can get to action execution via APIs/Tools&lt;/li&gt;
&lt;li&gt;logic: the LLM works with &lt;a href="https://davethehuman.com/coming-soon/"&gt;one-shot generation&lt;/a&gt; while the AI agent can do iterative planning and correction&lt;/li&gt;
&lt;li&gt;memory: a standard LLM resets at every session while the AI agent&amp;rsquo;s memory persist via external storage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;a href="https://davethehuman.com/notes/agentic-loop/"&gt;agentic loop&lt;/a&gt; identifies the core components of AI agents.&lt;/p&gt;</description></item><item><title>fine-tuning</title><link>https://davethehuman.com/notes/fine-tuning/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/fine-tuning/</guid><description>&lt;p&gt;During &lt;em&gt;fine-tuning&lt;/em&gt; the &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt; undergoes a specialised training on curated datasets to follow specific instructions or perform niche tasks.&lt;/p&gt;
&lt;p&gt;There are two key fine-tuning techniques:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://davethehuman.com/notes/supervised-fine-tuning/"&gt;supervised fine-tuning&lt;/a&gt; or &lt;a href="https://davethehuman.com/coming-soon/"&gt;SFT&lt;/a&gt; or &lt;a href="https://davethehuman.com/coming-soon/"&gt;instruction tuning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://davethehuman.com/notes/preference-tuning/"&gt;preference tuning&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>hallucination</title><link>https://davethehuman.com/notes/hallucination/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/hallucination/</guid><description>&lt;p&gt;The tendency to state false information with high confidence because it &amp;ldquo;looks&amp;rdquo; linguistically correct.
It is one of the main issues of &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;s.&lt;/p&gt;</description></item><item><title>Large Language Model</title><link>https://davethehuman.com/notes/large-language-model/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/large-language-model/</guid><description>&lt;p&gt;A &lt;em&gt;Large Language Model&lt;/em&gt; is a type of artificial intelligence trained on humongous datasets of text to understand, generate, and manipulate human language.
They are built using &lt;a href="https://davethehuman.com/coming-soon/"&gt;transformer&lt;/a&gt; architectures and function by predicting the next most likely &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt; (word or part of a word) in a sequence.&lt;/p&gt;
&lt;p&gt;The core technical concepts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;scale&lt;/strong&gt;: &amp;ldquo;Large&amp;rdquo; refers to both the training data (petabytes of text) and the &lt;a href="https://davethehuman.com/notes/parameters/"&gt;parameters&lt;/a&gt; count (billions)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://davethehuman.com/notes/llm-training-pipeline/"&gt;LLM training pipeline&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;context window&lt;/strong&gt;: the maximum amount of text the model can &amp;ldquo;hold in mind&amp;rdquo; at one time during a single conversation&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The main capabilities:&lt;/p&gt;</description></item><item><title>parameters</title><link>https://davethehuman.com/notes/parameters/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/parameters/</guid><description>&lt;p&gt;The internal variables of a model that determine how the model itself processes information.
When talking about &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;s, we are usually talking about billions of &lt;em&gt;parameters&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>post-training</title><link>https://davethehuman.com/notes/post-training/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/post-training/</guid><description>&lt;p&gt;During &lt;em&gt;post-training&lt;/em&gt;, the model trained during &lt;a href="https://davethehuman.com/notes/pre-training/"&gt;pre-training&lt;/a&gt; undergoes a specialised training stage to learn to respond to user queries.&lt;/p&gt;</description></item><item><title>pre-training</title><link>https://davethehuman.com/notes/pre-training/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/pre-training/</guid><description>&lt;p&gt;During &lt;em&gt;pre-training&lt;/em&gt; the &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt; learns general patterns, grammar, and facts from the internet/books via self-supervised learning.
At this stage, the objective for the LLM is to learn to predict the next word (or &lt;a href="https://davethehuman.com/notes/token/"&gt;token&lt;/a&gt;) in these texts.&lt;/p&gt;
&lt;p&gt;We can think of this stage as &amp;ldquo;raw language prediction&amp;rdquo; that gives the LLM basic capabilities to produce coherent texts.&lt;/p&gt;</description></item><item><title>Hello World</title><link>https://davethehuman.com/posts/hello-world/</link><pubDate>Sat, 02 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/posts/hello-world/</guid><description>&lt;p&gt;This is the first post of this website, just to say that more will be coming soon!&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;greet&lt;/span&gt;(name: str) &lt;span style="color:#f92672"&gt;-&amp;gt;&lt;/span&gt; str:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; &lt;span style="color:#e6db74"&gt;f&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;Hello, &lt;/span&gt;&lt;span style="color:#e6db74"&gt;{&lt;/span&gt;name&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;print(greet(&lt;span style="color:#e6db74"&gt;&amp;#34;world&amp;#34;&lt;/span&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>LLM</title><link>https://davethehuman.com/notes/llm/</link><pubDate>Sat, 02 May 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/llm/</guid><description>&lt;p&gt;See &lt;a href="https://davethehuman.com/notes/large-language-model/"&gt;Large Language Model&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>About</title><link>https://davethehuman.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://davethehuman.com/about/</guid><description>&lt;p&gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="auto"
 alt="Human evolution"
 width="2752"
 height="1536"
 src="https://davethehuman.com/attachments/evolution_hu_b497d5ebc2712b6a.png"
 srcset="https://davethehuman.com/attachments/evolution_hu_b497d5ebc2712b6a.png 800w, https://davethehuman.com/attachments/evolution_hu_6c105d298514b4db.png 1280w"
 sizes="(min-width: 768px) 50vw, 65vw"
 data-zoom-src="https://davethehuman.com/attachments/evolution.png"&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;A human working as a Machine Learning Scientist at a big tech company.&lt;/p&gt;
&lt;p&gt;This site is a &lt;a href="https://davethehuman.com/posts/"&gt;personal blog&lt;/a&gt; where I write about whatever&amp;rsquo;s on my mind, and a &lt;a href="https://davethehuman.com/brain/"&gt;second brain&lt;/a&gt; where I connect ideas, notes, and things I&amp;rsquo;m learning.&lt;/p&gt;
&lt;p&gt;Some of it is technical. Some of it isn&amp;rsquo;t. All of it is me thinking out loud while AI changes the world around me. Before it&amp;rsquo;s too late.&lt;/p&gt;</description></item><item><title>Not yet</title><link>https://davethehuman.com/coming-soon/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://davethehuman.com/coming-soon/</guid><description>&lt;p&gt;This node doesn&amp;rsquo;t exist yet — but the fact that something links here means it&amp;rsquo;s on the radar.&lt;/p&gt;
&lt;p&gt;The brain grows slowly, one idea at a time.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Check back later.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Projects</title><link>https://davethehuman.com/projects/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://davethehuman.com/projects/</guid><description>&lt;p&gt;Side projects. Mostly data, models, and experiments that got out of hand.&lt;/p&gt;
&lt;hr&gt;

&lt;h3 class="relative group"&gt;WC 2026 Prediction Engine
 &lt;div id="wc-2026-prediction-engine" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#wc-2026-prediction-engine" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;A Dixon-Coles Poisson model trained on international football history, predicting every match of the 2026 FIFA World Cup. Group stage probabilities, knockout bracket simulations, upset detection — all running on pre-tournament data, updated after each matchday.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://davethehuman.com/projects/wc2026/"&gt;Open the app →&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;More incoming.&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>