<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Architecture on davethehuman.com</title><link>https://davethehuman.com/tags/architecture/</link><description>Recent content in Architecture on davethehuman.com</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Dave the human</copyright><lastBuildDate>Mon, 17 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://davethehuman.com/tags/architecture/index.xml" rel="self" type="application/rss+xml"/><item><title>Attention Is All You Need</title><link>https://davethehuman.com/notes/attention-is-all-you-need/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/attention-is-all-you-need/</guid><description>&lt;p&gt;The &lt;a href="https://arxiv.org/pdf/1706.03762"&gt;paper&lt;/a&gt; that introduced the &lt;a href="https://davethehuman.com/notes/self-attention-mechanism/"&gt;self-attention mechanism&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>BERT</title><link>https://davethehuman.com/notes/bert/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/bert/</guid><description>&lt;p&gt;&lt;em&gt;BERT&lt;/em&gt; (&lt;em&gt;Bidirectional Encoder Representations from Transformer&lt;/em&gt;) is a variant of the &lt;a href="https://davethehuman.com/notes/transformer/"&gt;transformer&lt;/a&gt; architecture built upon the original &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;encoder&lt;/a&gt; submodule.
It specialises in masked word prediction and it is very strong in &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;classification&lt;/a&gt; tasks, like sentiment prediction and document categorization.&lt;/p&gt;</description></item><item><title>GPT</title><link>https://davethehuman.com/notes/gpt/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/gpt/</guid><description>&lt;p&gt;&lt;em&gt;GPT&lt;/em&gt; (&lt;em&gt;Generative Pretrained Trasnsformer&lt;/em&gt;) is a variant of the &lt;a href="https://davethehuman.com/notes/transformer/"&gt;transformer&lt;/a&gt; architecture built upon the original &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;decoder&lt;/a&gt; submodule and is designed for generative tasks.
It was introduced by the paper &amp;ldquo;&lt;a href="https://davethehuman.com/notes/improving-language-understanding-by-generative-pre-training/"&gt;Improving Language Understanding by Generative Pre-Training&lt;/a&gt;&amp;rdquo; and specialises in generating texts and its application includes machine translation, text summarization, fiction writing, writing computer code, and more.&lt;/p&gt;
&lt;p&gt;This type of models were primarily designed and trained for text completion tasks but they showed very versatile capabilities, both with &lt;a href="https://davethehuman.com/notes/zero-shot/"&gt;zero-shot&lt;/a&gt; and &lt;a href="https://davethehuman.com/notes/few-shot/"&gt;few-shot&lt;/a&gt; learning tasks.&lt;/p&gt;</description></item><item><title>Improving Language Understanding by Generative Pre-Training</title><link>https://davethehuman.com/notes/improving-language-understanding-by-generative-pre-training/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/improving-language-understanding-by-generative-pre-training/</guid><description>&lt;p&gt;The &lt;a href="https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf"&gt;paper&lt;/a&gt; that introduced &lt;a href="https://davethehuman.com/notes/gpt/"&gt;GPT&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>transformer</title><link>https://davethehuman.com/notes/transformer/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://davethehuman.com/notes/transformer/</guid><description>&lt;p&gt;The &lt;em&gt;transformer&lt;/em&gt; architecture is a deep &lt;a href="https://davethehuman.com/notes/neural-network/"&gt;neural network&lt;/a&gt; architecture introduced in the 2017 paper &lt;a href="https://davethehuman.com/notes/attention-is-all-you-need/"&gt;Attention Is All You Need&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Originally, the transformer was developed for &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;machine tranlsation&lt;/a&gt;, specifically to translate English texts to German and French.
Its architecture consists of two submodules:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;encoder&lt;/a&gt; (that performs the &lt;a href="https://davethehuman.com/notes/encoding/"&gt;encoding&lt;/a&gt; and produces an &lt;a href="https://davethehuman.com/notes/embedding/"&gt;embedding&lt;/a&gt; representation)&lt;/li&gt;
&lt;li&gt;the &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;decoder&lt;/a&gt; (that performs the &lt;a href="https://davethehuman.com/notes/decoding/"&gt;decoding&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Both of them consist of many &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&gt;layer&lt;/a&gt;s connected by the &lt;a href="https://davethehuman.com/notes/self-attention-mechanism/"&gt;self-attention mechanism&lt;/a&gt;.
Famous variants of the transformer architecture are &lt;a href="https://davethehuman.com/notes/bert/"&gt;BERT&lt;/a&gt; and &lt;a href="https://davethehuman.com/notes/gpt/"&gt;GPT&lt;/a&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/" rel="nofollow"&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/cot/"&gt;COT&lt;/a&gt; or &lt;a href="https://davethehuman.com/coming-soon/" rel="nofollow"&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/" rel="nofollow"&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/" rel="nofollow"&gt;reasoning engine&lt;/a&gt; (typically a &lt;a href="https://davethehuman.com/notes/llm/"&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/" rel="nofollow"&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></channel></rss>