<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Elliot Mercer on Medium]]></title>
        <description><![CDATA[Stories by Elliot Mercer on Medium]]></description>
        <link>https://medium.com/@elliot-teachingu-ai?source=rss-831f5e46ee48------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*A8DXZ8lZO8imVvUN9CmQhg.png</url>
            <title>Stories by Elliot Mercer on Medium</title>
            <link>https://medium.com/@elliot-teachingu-ai?source=rss-831f5e46ee48------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:59:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elliot-teachingu-ai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Generative AI vs Large Language Models: Map the Overlap]]></title>
            <link>https://elliot-teachingu-ai.medium.com/generative-ai-vs-large-language-models-map-the-overlap-6f68b7a7e746?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f68b7a7e746</guid>
            <category><![CDATA[ai-research]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[foundation-models]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Fri, 04 Dec 2026 08:30:18 GMT</pubDate>
            <atom:updated>2026-12-04T08:30:18.528Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>A set-based guide for classifying capabilities, model families, and product claims</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ziL64QztsClQpjnO" /><figcaption>LLM generation capability and classifier output</figcaption></figure><p>At a fictional product review, a slide puts “generative AI” and “large language model” in two columns, as if the team has to choose one. The engineer says the feature uses an LLM; the marketer calls it generative AI. Both may be right. <strong>Generative AI describes a capability; an LLM describes a model family.</strong> They overlap when a language model generates text, but neither term is a synonym for the other. To classify a claim, check what the system outputs and what model the documentation identifies.</p><h3>Start With Two Different Categories</h3><p>Generative AI is a capability category. NIST defines it as a class of AI models that use patterns in input data to generate synthetic content, including text, images, video, and audio. The key question is what the model is designed to produce. <a href="https://csrc.nist.gov/glossary/term/generative_artificial_intelligence">NIST’s definition of generative AI</a> covers more than text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*8JXH478BaPlddMjY" /><figcaption>NIST definition of generative artificial intelligence</figcaption></figure><p>A large language model, or LLM, is a model-family label centered on language. Language models model sequences of text; many current LLMs generate text in response to a prompt. But there is no universally agreed cutoff for how large a model must be, or a single definition that every research community uses. A 2024 position paper by researchers Anna Rogers and Sasha Luccioni discusses that ambiguity and proposes an explicit working definition. <a href="https://openreview.net/pdf?id=M2cwkGleRL">Their paper</a> is a useful reminder to check how a source is using the label.</p><p>For this article, treat an LLM as a large, pretrained language model that models and can generate text. That working definition is specific enough to classify examples without pretending the field has settled every boundary.</p><p>“Foundation model” is another label, describing a model trained on broad data that can be adapted to many downstream tasks. It can apply to language or other modalities, so it is not another name for generative AI or for an LLM. Stanford’s <a href="https://ai.stanford.edu/~jure/pubs/fm-arxiv21.pdf">report on foundation models</a> includes language, vision, and other capabilities in its discussion.</p><p>One more distinction helps: a product is not the same thing as its underlying model. A chat app may combine a language model with search, retrieval, or other software. A “generative AI feature” describes a capability in the product; “LLM” identifies a model family only when documentation supports that claim.</p><h3>Map the Overlap Without Collapsing the Sets</h3><p>Think of the categories as overlapping labels, then be clear about whether you are classifying a model’s capabilities or a product’s task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*qjIejdwBvP-cBs_N" /><figcaption>A printed Venn diagram for brand strategy</figcaption></figure><p><strong>Inside both: an LLM that generates text.</strong> A model that writes a paragraph from a prompt fits both categories: it is a language model, and it generates synthetic text. The GPT-3 research paper describes an autoregressive language model and evaluates it on tasks including translation and question answering. <a href="https://proceedings.neurips.cc/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf">The NeurIPS paper</a> documents the model and its tasks; it does not establish that every product using an LLM works the same way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*psP3wBwFP-wUPQ1e" /><figcaption>GPT-3 paper on few-shot language models</figcaption></figure><p><strong>Generative AI without an LLM as the main model family: text-to-image diffusion.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*e6yjasbzHuyvfbVv" /><figcaption>SDXL research paper on latent diffusion</figcaption></figure><p>SDXL is described by its authors as a latent diffusion model for text-to-image synthesis. It accepts text conditioning, but a text prompt does not make the image-generation model itself a language model. The system may include a text encoder; that component does not change the family of the image-generation model. <a href="https://arxiv.org/abs/2307.01952">The SDXL paper</a> identifies its architecture and output task.</p><p><strong>An LLM used for a non-generative task: a fixed-label classifier.</strong> Consider a support workflow that sends a message to an LLM and returns exactly one code — `billing`, bug, or refund—for a queue. The deployed feature classifies a message; it does not deliver newly composed content to the user. Research has shown language models used across different language tasks, including evaluation settings beyond open-ended writing. But the underlying LLM may still be capable of generating text. So this example belongs outside generative AI only when you are sorting by the feature’s delivered task, not by the model’s full capabilities.</p><p>That distinction exposes a limit of a simple Venn diagram: “model family” and “product capability” are different axes. If you mix them, an LLM-powered classifier can look like proof that an LLM is not generative. It is not. It shows that a generative-capable model can be deployed for a non-generative task.</p><p><strong>Outside both: a conventional rule-based router.</strong> A workflow that checks keywords and assigns a fixed queue code may be neither generative AI nor an LLM. It may still be useful software; it simply does not meet either definition above.</p><h3>Classify Claims by Input, Output, and Model Family</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*OcfcpwIKpO9ltaxn" /><figcaption>Printed charts examined with a magnifying glass</figcaption></figure><p>A product page may call something an “AI assistant,” “AI writer,” or “multimodal model.” Those labels do not settle what is behind a particular feature. Separate the evidence into three parts.</p><p>First, record the input and output. Does the tool receive text and return a paragraph, image, audio clip, classification label, score, or action? The output tells you whether the task is generative. A category code is not newly composed content just because a model produced it.</p><p>Second, identify the underlying model family. Look for a model card, technical report, API documentation, or an explicit description of the architecture. “We accept a text prompt” only tells you about the input; it does not prove the model is an LLM. Likewise, “AI-generated” describes a capability but does not reveal whether the system uses a language model, diffusion model, or several components.</p><p>Third, check whether the evidence refers to the exact feature or model at issue. A provider may offer multiple models behind one product, or combine models in a pipeline. A general company page may describe capabilities that a specific endpoint does not expose. When the public documentation stops short, use “not established” rather than guessing.</p><p>Try the three checks on a product claim such as “this assistant creates campaign assets.” Ask what asset it returns, whether the named model family is documented, and whether the source describes that particular workflow. If the page only says “AI-powered,” you can classify neither the output capability nor the model family with confidence.</p><h3>Use Three Questions on the Next AI Claim</h3><p>When a product page or presentation uses these labels, ask:</p><ol><li><strong>What is the output?</strong> If the system creates a new text, image, clip, or audio file, it is performing a generative task. If it returns a fixed label, score, or route, describe that task accurately.</li><li><strong>What model family is documented?</strong> Look for an explicit model name and technical source. Don’t infer “LLM” from a text box, chatbot interface, or product name.</li><li><strong>What does the evidence actually establish?</strong> A model card may identify the model family; a feature page may describe the interface; a demo may show one output. These sources answer different questions.</li></ol><p>The useful summary is not “generative AI versus LLM.” It is: <strong>generative AI names what a model or system can generate; LLM names a language-model family.</strong> When evaluating a claim, classify the exact unit — model, feature, or product — and keep the output evidence separate from the model evidence.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f68b7a7e746" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Model Benchmark: Read the Test Before the Ranking]]></title>
            <link>https://elliot-teachingu-ai.medium.com/ai-model-benchmark-read-the-test-before-the-ranking-fd3583c5bd3b?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd3583c5bd3b</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 10:13:14 GMT</pubDate>
            <atom:updated>2026-12-02T10:13:14.700Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>A score becomes useful when you know the task, settings and tradeoffs behind it.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*NuZeLInWaDdgs7TO" /><figcaption>Read the test before the ranking</figcaption></figure><p>Imagine you’re choosing a model for a support assistant, and the ticket in front of you asks for a refund on an opened item.</p><p>One candidate has the higher overall score, but the other looks fast and affordable enough to handle every ticket.</p><p>Whichever model you choose, missing the open-box exception could mean promising a refund your team can’t honor.</p><p>Use rankings to narrow your shortlist. Only rely on them when the task, model version, and test settings match your setup. Then test quality, cost, and latency on refund cases you held back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*yh5c8nGEturWj4Ta" /><figcaption>An open cardboard box held for inspection</figcaption></figure><h3>Find a benchmark that resembles the work</h3><p><strong>Look for a test that asks the model to do work like yours.</strong></p><p>An assistant that gets a policy excerpt and drafts a reply has one job. An assistant that finds the policy, checks the order, and updates the ticket has several. Look for tests that score the answer in the first case and check the resulting ticket state in the second.</p><p>On December 2, 2026, the <a href="https://artificialanalysis.ai/models">Artificial Analysis model comparison</a> listed Intelligence Index v5.0.2. The index combines weighted evaluations of knowledge work, coding, science, and general capabilities. Artificial Analysis also reports performance and pricing measures. He chart below shows the index as published, with the nine evaluations named beside it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*q10ndHkE4sQz-N35" /><figcaption>Artificial Analysis Intelligence Index model chart</figcaption></figure><p>Its GDP.pdf evaluation tests reasoning over long professional documents. That makes it a useful reference for document reasoning. It cannot replace a test of your refund rules, where a short exception or a missing detail can change the correct answer.</p><p>On the <a href="https://livebench.ai/">LiveBench 2.0 leaderboard</a>, November 6, 2026 identifies the data snapshot. The page separately lists November 11 as its update date. The project published its 2.0 code in the official repository on December 1. The code publication date does not establish when a particular leaderboard row was evaluated or which revision ran that test. <em>T</em>he LiveBench page shows both dates side by side, as captured below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*n96D5qXbMHdKbEHw" /><figcaption>LiveBench 2.0 release timeline and update date</figcaption></figure><p>LiveBench groups tasks that use tools into five categories: Long Agentic, Design, Coding, Browser Use, and Research. Long Agentic includes separate command-line and app suites. The board lists Data Analysis and Reasoning separately. A coding task can check a fix with hidden tests, while a browser task can check the state of an app after the agent finishes.</p><p>Preference rankings answer another question. They summarize which replies people favored in head-to-head comparisons. A user might prefer a clear refund reply even if it applies the wrong policy. Read the benchmark methodology before comparing results. A preference rating, a task pass rate, and a weighted index have different units. A preference leaderboard such as Text Arena reports the vote count behind each rating, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*h32nQIe9C1y11GIQ" /><figcaption>Text Arena head-to-head model preference leaderboard</figcaption></figure><h3>Read the conditions printed beside the model name</h3><p><strong>Record what ran and what it was allowed to do.</strong></p><p>Save the model ID or snapshot, provider or endpoint, benchmark version, and evaluation date. Record the date you looked up the result separately. A model name in a row can be a moving alias. If the exact snapshot or run date is missing, mark it <strong>not reported</strong>.</p><p>Check the reasoning effort or token budget. Review the tools, prompt format, examples, and scoring rule. On LiveBench, find the effort and run configuration for the specific data snapshot and row. Leave a missing setting as <strong>not reported</strong>. Two providers can use the same name for a reasoning setting without giving the models the same budget.</p><p>Check the attempt count, too. A single scored answer tests one run. The average of several independent runs tests repeated performance. The best answer from several tries tests the strongest result. An API retry can recover from a request failure. An extra attempt to solve the task can change the score, especially if only the best answer counts.</p><h3>A model-plus-agent result is not a bare-model result.</h3><p>An agent harness is the software that runs the model and gives it tools. It can let the model search files, inspect an intermediate result, or try a different action. The <a href="https://artificialanalysis.ai/methodology/intelligence-benchmarking">Artificial Analysis intelligence benchmarking methodology</a> documents harnesses and scoring rules for individual evaluations. Check the configuration that produced the result you’re reading. The methodology’s evaluation suite, with repeats and scoring rules per test, is shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*gDxj5TpYeTqE5n4d" /><figcaption>Artificial Analysis Intelligence Index evaluation suite</figcaption></figure><p>For a single-call assistant, compare results from similar single-call tests. If your assistant will search for policies and update tickets, put candidates in the same workflow. Keep the tools and limits consistent, and check whether the ticket ends up in the correct state.</p><h3>Keep quality, cost and latency in separate columns</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Z7xoqjpzOEv_8xaH" /><figcaption>Two spheres on staggered geometric platforms</figcaption></figure><p><strong>Set a limit for each measure before you compare candidates.</strong></p><p><strong>Illustrative hypothetical.</strong> No candidate models were run for this article. Suppose A and B each get the same 50 support cases, policy text, scoring rules, and reasoning budget. Each gets one attempt per case and no external tools. All values below are invented.</p><pre>Measure                      A        B<br>Cases passed out of 50       46       45<br>API cost per 1,000 requests  $4       $2<br>p95 time to finished reply   3.4 s    1.9 s</pre><p>The quality difference is one case. Inspect the cases each configuration missed. A fabricated refund promise can matter more than several formatting errors. If the disagreement turns on an ambiguous case, check its pass rule. A small difference in the total can say more about the particular cases or scoring rules than about the next batch of work.</p><p>For inference cost, keep the denominator visible. Cost per submitted request shows the cost of each request sent. Cost per completed case shows the cost of each case resolved. These measures answer different questions when the workflow uses retries or tools. On December 2, Artificial Analysis checked the public methods. It weighted the cost per task across the Intelligence Index workload. For a nonzero score, LiveBench’s <strong>score-adjusted cost</strong> divides cost per task by the score expressed as a fraction. Compare each figure on its own terms.</p><p>For latency, p95 is the time within which about 95% of requests finish. Time to the first answer token tells you when a reply starts. If the customer needs the whole answer to act, measure through completion and include tool time when your workflow uses tools.</p><p>In this hypothetical, you require at least 45 passes, a p95 below two seconds, and no critical policy errors. Assume B made no critical error. Under those conditions, B would advance to a larger pilot. A misses the latency limit. The next round would check whether B can stay under that limit at the expected load.</p><p>Benchmark contamination is another source of uncertainty. If an item or its solution appeared in training, a correct answer can reflect prior exposure. Recent or private items can reduce that risk. Check how the authors assembled and protected the test set. A recent snapshot date alone cannot establish that all its items were new to every tested model.</p><h3>Turn the ranking into a local question</h3><p><strong>Test your shortlist on cases you kept out of development.</strong></p><p>Set aside about 30 representative cases for an initial model evaluation. Include routine questions, policy exceptions, and tickets with missing information. Use a separate batch to develop prompts and settings. Freeze the prompt, tools, and reasoning budget before running the held-out cases.</p><p>Write a pass rule for each case. A refund reply might need to apply the correct policy, cite the relevant passage, and give the customer the right next step. If the purchase date is missing, asking for it may be the right response. Record failures by type, such as the wrong policy, an unsupported promise, an invalid output, or a timeout.</p><p>This first pilot can expose obvious failure modes. Thirty cases cannot establish how often rare errors occur or how reliable the system will be in production. If a candidate passes the initial checks, use a larger test for those questions. Measure inference cost and completion time at a workload that resembles deployment.</p><p>Use public LLM benchmarks to decide what deserves a pilot. Keep a configuration on your shortlist only if it passes your held-out quality checks and avoids the failures you’ve ruled out. It must also meet your cost and latency limits. Public scores cannot show whether your assistant follows your refund rule. They also cannot tell you whether it meets your deadline under your workload. Make those the tests that decide.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd3583c5bd3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What to Check Before Using a Video Body Swap Effect]]></title>
            <link>https://elliot-teachingu-ai.medium.com/what-to-check-before-using-a-video-body-swap-effect-587d2ef3894d?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/587d2ef3894d</guid>
            <category><![CDATA[content-creation]]></category>
            <category><![CDATA[video-editing]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[visual-effects]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 09:34:03 GMT</pubDate>
            <atom:updated>2026-12-01T09:34:03.554Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Check consent, source quality, and motion before you generate.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*xDjyqWuVurdxIA_U" /><figcaption>Portrait and video inputs remain separate before a swap</figcaption></figure><p>You’ve picked a portrait for the effect, but the clip loses the performer’s face on the beat you want to keep.</p><p>Before you spend a run, confirm both files are cleared for this edit and that the movement is visible enough to judge.</p><p><a href="https://wavespeed.ai/models/wavespeed-ai/video-body-swap">WaveSpeed’s Video Body Swap model page</a> lists a face image and a target body video. It describes placing the portrait’s likeness on the performer in the clip. It does not document replacing the performer’s whole body.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*E50T-Ne_6LW_VX_L" /><figcaption>WaveSpeed Video Body Swap interface with example inputs</figcaption></figure><p>That distinction guides the decision. Use the effect only when the image and footage suit the same edit and its intended audience.</p><h3>Define the effect before choosing assets</h3><p><strong>Know what the inputs contribute to the shot.</strong></p><p>The image field takes the face photo; video takes the target body clip. The video provides the movement and performance. Choose a clip that already shows the action you want.</p><p>The portrait brings a recognizable likeness. The video brings the action viewers may associate with that person.</p><h3>Confirm that both assets can be used</h3><p><strong>Get agreement for this edit and its audience.</strong></p><p>Ask the person in the photo about placing their likeness into this footage. Ask the performer about altering their appearance in the scene. Explain what the finished clip will show and who will see it.</p><p>A private preview and a public post are different uses. Confirm the intended audience and channel separately.</p><p>Check who created or controls each file. The photographer or video rights holder may be someone other than the person shown. Make sure your permissions let you use, change, and upload both files to the service. If you still need permission, pause before uploading.</p><h3>Assess the two source files</h3><p><strong>Choose inputs that let you review the face in motion.</strong></p><p>Look at the portrait and video separately before submitting them. The portrait needs visible facial detail; the clip needs to show the movement your edit will use.</p><h3>Check the face image</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*97cS8T93JKta17v_" /><figcaption>WaveSpeed guidance on portrait clarity and footage quality</figcaption></figure><p>WaveSpeed recommends a clear, well-lit, roughly front-facing portrait. Check the eyes, nose, and jaw. If blur, deep shadow, or a tight crop hides details you need to compare, choose a clearer authorized photo. A thumbnail can hide details that matter at the finished size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*_DHcEfhtbHYY5mbG" /><figcaption>Printed photographs reviewed as source images</figcaption></figure><h3>Check the body video</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*8P6hr4Qml9EIjWqW" /><figcaption>Film negatives viewed under red light</figcaption></figure><p>Play the clip at normal speed and note when the face is visible. Then pause at the moments your edit depends on. A hand crossing the face, a turn to profile, or a lighting change can make the composite harder to assess. Background people can also make the subject hard to follow.</p><p>Choose an authorized segment with the movement your cut needs. If the performer turns away and back, review the full turn. The opening frame alone cannot show how the face looks when it returns.</p><h3>Decide what would make the result usable</h3><p><strong>Set your acceptance checks before you submit the files.</strong></p><p>Review any output at normal speed and at the size viewers will see it. Compare it with the source at turns, obstructions, and cuts.</p><ul><li><strong>Likeness.</strong> When the face is clear, is it still recognizable after the performer turns back to the camera?</li><li><strong>Edges and light.</strong> Is there a visible seam at the jaw or hairline? Does the face follow the scene’s changes from light to shadow?</li><li><strong>Continuity.</strong> Does the face flicker or shift when it reappears? If your edit uses multiple shots, do adjacent shots feel consistent?</li><li><strong>Viewer interpretation.</strong> Could someone think the person in the portrait performed this action? Could they think the person attended this event? Make the alteration clear where viewers encounter the clip. Hold the cut if its context still suggests a false event or identity.</li></ul><p>Keep source and output problems separate. If the original hides the face, choose a clearer authorized shot so you can judge the effect. If the source stays clear, but the composite flickers or changes likeness, leave it out of the cut.</p><h3>Stop or revise when a condition fails</h3><p><strong>Proceed only when permissions, source visibility, and context line up.</strong></p><p>If a permission is missing, pause the upload. If an approved clip is too hard to review, choose a clearer authorized segment. Or apply the effect only to a moment you can judge. If the source is clear and the result still fails your checks, use another shot.</p><p>Before using the clip, check that the permissions cover this edit. Make sure the source lets you judge the result. Viewers should also be able to tell that the clip has been altered. Keep the cut only when all three checks hold.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=587d2ef3894d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Intense Is Hell’s Waiting Room in London?]]></title>
            <link>https://elliot-teachingu-ai.medium.com/how-intense-is-hells-waiting-room-in-london-0eb45e8b0920?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/0eb45e8b0920</guid>
            <category><![CDATA[horror]]></category>
            <category><![CDATA[london]]></category>
            <category><![CDATA[immersive-theatre]]></category>
            <category><![CDATA[entertainment]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 03:09:26 GMT</pubDate>
            <atom:updated>2026-12-01T03:09:26.548Z</atom:updated>
            <content:encoded><![CDATA[<h4>The 2026 scare label, the route warnings and the questions worth asking before a future visit</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*v7yXwpbVoJ02qifY" /><figcaption>A low tunnel in a horror walkthrough</figcaption></figure><p>Start with the feature that would change your decision: a sudden scare, a confined section or the route through the attraction.</p><p>A headline scare score is useful only when you know who assigned it and which version of the maze it describes.</p><p>For <a href="https://app.karpo.ai/scenarios/london-scary-maze-hells-waiting-room-screamworks">Hell’s Waiting Room</a>, the useful evidence starts with its route. ScreamWorks’ September 2026 page described crawling, enclosed spaces and sudden scares. Those details give you firmer ground for a decision than a number whose scale isn’t explained.</p><h3>What did the organizer rate, and for which run?</h3><p><strong>ScreamWorks displayed “Scare 5” for its October–November 2026 run.</strong> The organizer’s page, preserved on 10 September 2026, advertised Hell’s Waiting Room at The Curiosity Shop, 261 Paradise Row, London, from 23 October to 1 November 2026.</p><p>The key-details panel showed separate entries for <em>Difficulty</em> and <em>Scare</em>: 1 and 5 respectively. It didn’t display a maximum for either scale. The displayed 5 therefore needs its original label and date; it supplies no basis for writing “5/5.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/0*1yqy3iihbtIYMHpc" /><figcaption>ScreamWorks’ separate difficulty and scare labels</figcaption></figure><p>The <a href="https://web.archive.org/web/20260910135413/https://screamworks.co.uk/experience-hells-waiting-room/">archived ScreamWorks page</a> described a live-actor Halloween walkthrough in which condemned souls awaited processing into the underworld. Its scare label belongs to that production and those dates. Keep its separate difficulty and scare fields separate when comparing it with other attractions.</p><p>An official ticket listing for 1 November 2026 still identified Hell’s Waiting Room and said that timeslot went off sale that afternoon. Checked on 27 November 2026, the listing marked a past timeslot as off sale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*QnR4-ou9B8rXo8M3" /><figcaption>The official November ticket marked off sale</figcaption></figure><p>Directories add context, with limits. Morty labels the attraction “Scary” and asks visitors to call about accessibility. Escape the Review’s entry showed no player reviews when checked on 27 November. Neither supplies a tested scale that turns the organizer’s 5 into a personal fear forecast.</p><h3>Which features would change your decision?</h3><p><strong>The route and performer rules are more useful than the headline score.</strong> The following conditions come from the September 2026 organizer page. They describe the advertised Halloween run; a later production needs its own answers.</p><p><strong>Enclosed spaces and crawling.</strong> The FAQ said sections required guests to crawl through tunnels. It also warned that alternative routes might not be available in every section. If crawling would rule an activity out for you, this is a booking condition to resolve directly.</p><p>The question is specific: does the version on your date require crawling, and can every such section be bypassed? The answer needs to cover the whole route, including any confirmed alternative.</p><p><strong>Sound, light and sudden scares.</strong> The historical page advertised sudden scares, atmospheric lighting and sound effects. Its warnings also mentioned loud noises, darkness, flashing lights and haze or smoke. It didn’t provide measurements for brightness, volume or exposure duration.</p><p>If one effect is your deciding factor, name it. Ask which effects the production uses and whether the relevant section can be avoided. “How scary is it?” may produce another adjective; “does the route include flashing lights?” gives the organizer something concrete to answer.</p><p><strong>Performer contact.</strong> The 2026 FAQ said performers wouldn’t intentionally touch guests, and guests mustn’t touch performers. It separately warned that accidental contact could occur in an immersive setting with reduced lighting, moving crowds and uneven surfaces. Those are two different conditions to weigh.</p><p>That policy addresses deliberate touching while leaving a separate possibility of incidental contact. For a future run, ask whether the same performer rule still applies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*YPfyGMIOrcLTLltn" /><figcaption>Intentional touching and accidental contact differ</figcaption></figure><p><strong>Leaving early.</strong> The historical instruction was to tell the nearest staff member or actor if you wanted to leave. It said there was no re-entry after exiting. For a future visit, ask how staff handle an exit request on that route.</p><p><strong>Age and access.</strong> The advertised minimum was 12, with under-16s accompanied throughout by a responsible adult. The organizer described an intense horror attraction with darkness, gore and disturbing imagery. Meeting an age threshold alone doesn’t settle whether someone wants that content.</p><p>For access, ask about your specific route requirements. Morty’s entry directs readers to call about accessibility; it doesn’t establish a step-free route. The September FAQ’s warning about crawling and limited alternatives deserves particular attention.</p><h3>Go, ask or skip: how to use the answers</h3><p><strong>Match a dated answer to the condition that matters to you.</strong> Checked 27 November 2026, the decision notes below use the organizer’s September archive for the 23 October–1 November run. Future dates, effects and route arrangements remain unconfirmed here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*2TXVEgve5zheuGaR" /><figcaption>A dated answer leads to go ask or skip</figcaption></figure><p><strong>Concern: mandatory crawling.</strong> Historical evidence: tunnel sections required crawling, and alternatives might not cover every section. Decision: skip that advertised route if crawling is a firm limit. For a future version, ask whether a complete alternative is confirmed before considering it.</p><p><strong>Concern: deliberate actor contact.</strong> Historical evidence: performers weren’t to touch guests intentionally; accidental contact remained possible. Decision: the first rule may answer a limit on intentional touching. Ask again for a future date; skip if your requirement is no possible contact.</p><p><strong>Concern: a particular sensory effect.</strong> Historical evidence: the organizer listed darkness, loud noises, flashing lights and haze or smoke. Decision: skip the historical version if a listed effect is one you’ve decided to avoid. Ask about its presence and bypass arrangements in any new version.</p><p><strong>Concern: a younger guest.</strong> Historical evidence: 12+; under-16s needed an accompanying responsible adult throughout. Decision: below the stated minimum means skip that run. Otherwise, check both the new age terms and the content description together.</p><p><strong>Concern: being able to leave.</strong> Historical evidence: request an exit from staff or an actor; no re-entry. Decision: ask how an exit request works on the current route if that affects your choice. Don’t book on the assumption that leaving and returning is an option.</p><p>A “go” belongs to a version whose confirmed conditions fit your own limits and whose tickets are actually available. The September description is the starting point for that enquiry; the future production still needs its own dated confirmation.</p><p>The number that first catches your eye may still be 5. Before it becomes a booking, the consequential answer could be a sentence about a tunnel: whether you must crawl through it, and whether there’s another way around. Carry that detail into your next enquiry.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0eb45e8b0920" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open Source LLM: Check What Is Actually Open]]></title>
            <link>https://elliot-teachingu-ai.medium.com/open-source-llm-check-what-is-actually-open-aa1e136494bc?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa1e136494bc</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 10:10:54 GMT</pubDate>
            <atom:updated>2026-11-30T10:10:54.484Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Weights, code, data information and licenses answer different questions about reuse.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*2yovatYOinPcg0k4" /><figcaption>Open source LLM: check what is actually open</figcaption></figure><p>Your support assistant shortlist has three downloadable models. You still need to know whether you can redistribute a modified copy and explain where its training data came from.</p><p>Those are separate checks. A release can make its weights available while leaving its training process or data records unclear.</p><p>Use the release materials to decide which models merit a pilot on your machine.</p><h3>Start with the distinction between open weights and open source</h3><p><strong>Downloaded weights answer only part of the reuse question.</strong></p><p>Open-weight models make learned parameters available to download. Those parameters can help you run or adapt a model, subject to its terms and your tooling. The download alone does not establish how the model was trained or what you may redistribute.</p><p>The Open Source Initiative’s <a href="https://opensource.org/ai/open-source-ai-definition">Open Source AI Definition 1.0</a> sets a broader standard. It requires the freedoms to use, study, modify and share the system. It also calls for access to the parameters and all source code used to train and run the system. A skilled person must also get enough information about the training data to build a substantially equivalent system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*B7LbSp6Wpbe8Ufux" /><figcaption>Requirements in the Open Source AI Definition</figcaption></figure><p>The data information should describe where the inputs came from. It should also explain how they were selected and processed, even if the data itself cannot be shared. The required materials must be available under terms the definition accepts.</p><p>Read each license for the specific artifact it covers. A licence for model weights can set rules for redistributing a checkpoint. It does not provide information about the training code or data. Check the terms for code and datasets separately. If you redistribute a modified Apache 2.0 artifact, review the requirements. Include the license, preserve applicable notices and mark modified files.</p><h3>Compare three named model releases, not whole families</h3><p><strong>Compare the downloadable checkpoint and its documentation, not just the family name.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*NKAy3GUwl-F41-PB" /><figcaption>A person examining an archive of model records</figcaption></figure><p>These three releases have public weight files. OLMo-2–1124–7B is a base model; Qwen2.5–7B-Instruct and Mistral-7B-Instruct-v0.3 are instruction-tuned. That distinction matters if your first pilot tests chat instructions.</p><ul><li><strong>Ai2 OLMo-2–1124–7B</strong> — The <a href="https://huggingface.co/allenai/OLMo-2-1124-7B">model card</a> identifies the base checkpoint. It also lists Safetensors files and intermediate checkpoints. Ai2’s OLMo repository documents training and includes OLMo 2 7B stage configurations. The repository now says it is out of date and inactive. Confirm how those configurations map to this 1124 release. The card shows inference with Transformers. Dataset cards cover OLMo-mix-1124 and Dolmino-mix-1124. The technical report explains how the mixtures were used. The card states Apache 2.0 for the model and code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*3QETT0KGAOXQ165W" /><figcaption>OLMo-2–1124–7B model card and release details</figcaption></figure><ul><li><strong>Qwen2.5–7B-Instruct</strong> — The <a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct">model card</a> lists Safetensors files split into shards. It also explains how to run inference with Transformers. Full code and settings for the training runs that produced this checkpoint are <strong>unknown</strong>. The technical report describes data preparation and post-training for the series. <strong>The complete data record for this checkpoint is unknown.</strong> The release repository includes an Apache 2.0 license file.</li><li><strong>Mistral-7B-Instruct-v0.3</strong> — Mistral’s card is filed under mistralai/Mistral-7B-Instruct-v0.3. It lists Safetensors files, including a consolidated checkpoint. It also shows how to run inference with mistral-inference and Transformers. The full training code and settings are <strong>unknown</strong>. So is a release-specific account of the data used for base training and instruction tuning. The card and Mistral’s weights documentation list Apache 2.0.</li></ul><p>Here, <strong>unknown</strong> means the release materials reviewed do not establish the answer. If your project requires a documented training history, look for a data manifest. Check the code revision and training configuration too. The publisher should link them to the exact checkpoint. A fine-tuning example shows how to adapt released weights; it does not establish how the publisher produced them.</p><p>Start with OLMo if tracing the base training process is a priority. Qwen’s card lists Chinese, English and Spanish, making it a candidate for a multilingual pilot. Mistral’s card documents function calling for the v0.3 checkpoint, giving you a behavior to test. Its catalog marks the hosted open-mistral-7b offering as retired. It still lists downloadable Instruct weights. For a new local deployment, check whether your intended runtime supports the checkpoint.</p><h3>Check the machine and task before downloading</h3><p><strong>Estimate the full workload, not just the weight-file size.</strong></p><p>A parameter count tells you how many learned values a model has. File size also depends on how those values are stored. Qwen2.5–7B-Instruct lists 7.61 billion parameters and specifies bfloat16. At two bytes per value, that is about 15.2 GB in decimal units, close to the tensor size in the release’s weight index. This estimate covers the weights alone.</p><p>A runtime also needs memory for its buffers. During generation, it usually keeps a key-value cache. This lets it reuse attention information from earlier tokens. The cache can grow with sequence length, and concurrent requests can add to memory demand. Check where your runtime places the weights and cache, especially if it splits work across devices.</p><p>Quantization can reduce weight storage and memory use. Before you download a quantized copy, check whether your runtime supports the model architecture and file format. Also make sure it supports the quantization method and hardware backend. Verify the matching tokenizer and chat template where applicable. Budget for the longest realistic prompt and output together. A short single-user demo and a shared service can need different amounts of memory with the same checkpoint.</p><h3>Local execution changes responsibility, not just cost.</h3><p><strong>Assign an owner for versions, access and recovery.</strong></p><p>Pin the model and runtime versions, decide who applies updates and repeat the checks after an upgrade. Keep the first server private during evaluation. If you later give a team access, check which endpoints they can reach. Enforce access controls where requests enter.</p><p>If local execution is meant to keep prompts on your machine, check how the whole application works. Check its logs and network requests. Also check which tools the model can call. Record where files came from and review custom loading code before enabling it. Keep the license and applicable notices with artifacts you distribute. For a team deployment, name someone who can restore the last approved configuration. They should do this if an update breaks your checks.</p><h3>Make a shortlist you can defend</h3><p><strong>Keep candidates only when their evidence and pilot meet your requirements.</strong></p><p>Start with the job you need done. For multilingual support replies, test every instruction checkpoint. Use tickets in each language you need to support. For research that requires data provenance, prioritize releases with records you can inspect. Remove a candidate if its terms do not cover your intended use or you cannot identify a supported way to maintain the deployment.</p><p>Use one <strong>evidence card</strong> per candidate:</p><ul><li><strong>Release</strong> — Exact model ID, repository revision, checkpoint or quantized artifact, and date checked.</li><li><strong>Reuse</strong> — Intended use, license source, redistribution obligations, and unresolved rights or training evidence.</li><li><strong>Deployment</strong> — Runtime version, architecture, and supported formats. Target machine, planned context, and expected number of concurrent requests.</li><li><strong>Maintenance</strong> — Owner, update process, and rollback version.</li><li><strong>Evaluation</strong> — Task, languages, baseline, and proceed-or-stop criteria.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*XoTPwi3b_ih_ia6c" /><figcaption>Paper folders holding records for review</figcaption></figure><p>For a small pilot, hold out representative prompts, including cases that could reveal a costly mistake. Give comparable candidates the same tasks and acceptance criteria. Use the appropriate prompt format for each. Before testing, set your minimum acceptable answer quality, memory ceiling and response-time limit. Then measure memory and response time on the machine and workload you plan to use.</p><p>For support replies, check whether each answer uses the right case facts and gives the right next step. Keep a release on the shortlist if its documentation supports your intended use. It must also meet the criteria you set before the pilot.</p><p>Start with the release whose documentation best matches your project’s requirements. Pilot it against the same tasks, limits and workload you would use in deployment.</p><p>Keep it on the shortlist only if the evidence supports your intended use. Make sure the pilot meets your team’s criteria.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa1e136494bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What a Shoe Ad Can Show About Fit Before Checkout]]></title>
            <link>https://elliot-teachingu-ai.medium.com/what-a-shoe-ad-can-show-about-fit-before-checkout-8e04cf38aec9?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e04cf38aec9</guid>
            <category><![CDATA[customer-experience]]></category>
            <category><![CDATA[product-marketing]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[video-marketing]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 02:09:18 GMT</pubDate>
            <atom:updated>2026-11-30T02:09:18.153Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>A practical guide to showing visible shoe details without promising a fit.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*gI26aMCehOZqWp8l" /><figcaption>Shoe fit clues before checkout</figcaption></figure><p>Your product spin is ready, but a buyer still wants to see how the shoe sits on a foot. They may be deciding whether to order without trying it on.</p><p>An ad can show the toe profile, sole movement, and walk of one wearer. Match each clue to the right shot. This helps buyers see what the clip supports. The size guide and return terms answer questions the clip cannot.</p><h3>Identify the fit question the ad can answer</h3><p><strong>Name the buyer’s fit question before choosing a camera angle.</strong> Buyers may want to see how tapered the toe looks, where the sole bends, or how the heel moves while walking. Each question calls for a different shot.</p><p>A close front view can show the toe profile but miss the heel. Hold each detail on screen long enough for the buyer to see it.</p><h3>Pair each cue with a truthful shot</h3><p><strong>Use real footage on a consenting wearer for claims about wear.</strong> Record the shoe’s actual size and sizing system. Then show both beside the footage. A product spin can show exterior details. A generated clip can illustrate a concept, but it cannot document someone wearing that pair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/0*d-KqoWGXbkPagXfk" /><figcaption>Visible fit cues for each shoe shot</figcaption></figure><h3>Toe area and sole</h3><p><strong>Show the toe profile before the foot moves.</strong> Start with the wearer standing naturally. An overlay marking where the toes end would imply a measurement the camera didn’t make. Describe what the shot shows, such as the shape of the upper from the side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*s8XPCrdUkXKCjoUC" /><figcaption>Two shoes shown from the front</figcaption></figure><p>For sole flex, hold the camera steady as the foot rolls forward and the heel lifts. If you also show someone bending the shoe by hand, label that separately. This shows how the shoe responds to hand pressure. Use the walking footage to show where the sole bends under the wearer’s weight.</p><h3>Walking view</h3><p><strong>Keep the shoe and heel visible through each step.</strong> Film a few steps together at normal speed. If the question is about heel movement, keep the back of the foot and the shoe collar in frame. This lets viewers see how they move against each other.</p><p>Describe the visible action: “Shown walking in the listed style.” The table’s limits still apply: a short clip shows one wearer’s movement, not all-day comfort or how another foot will move in the shoe.</p><h3>Add the missing buying context</h3><p><strong>Give buyers the size guide and current return terms.</strong> Put the wearer’s verified size beside the footage and direct buyers to the product listing. The on-camera size shows what the wearer had on. The seller’s instructions for that style help buyers choose their own size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*S96DqaMbC_NAX5ch" /><figcaption>A measuring tool beside a shopper’s shoes</figcaption></figure><p>Use this box to check what the ad and listing supply before checkout.</p><blockquote><strong><em>Listing context box</em></strong></blockquote><blockquote><strong><em>Size guide</em></strong><em> — Confirm the guide applies to the selected style and width, where offered. Check the sizing system and the seller’s measuring instructions.</em></blockquote><blockquote><strong><em>Size worn on camera</em></strong><em> — Enter the verified size and sizing system from the shoot. Include the width if the seller distinguishes widths.</em></blockquote><blockquote><strong><em>Return or exchange terms</em></strong><em> — Check the current listing or store policy for this item. Confirm eligibility, the time window, any fees, and any condition requirements.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*EJmbJx5CEB1wJ38j" /><figcaption>Size chart and foot measurement instructions</figcaption></figure><h3>Approve a batch of SKU variants</h3><p><strong>Match each export to its exact live listing variant.</strong> For a batch with several stock keeping units (SKUs), start with the item and variant record. Compare the footage, on-screen text, and destination against that record. Similar-looking shoes can differ in width, color, or version.</p><p>Use one card per export to record which pair was filmed and which listing the ad sends buyers to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/0*uStysSboTSUE6OGL" /><figcaption>Checklist for reviewing shoe ad variants</figcaption></figure><p>Wizstar’s e-commerce offering includes product videos created from images. It also includes AI ad production, as described on its <a href="https://wizstar.com/enterprise/e-commerce">e-commerce page</a>. For a batch using generated assets, keep their records separate from the original wear footage. Approve an export only when the fit shot matches the recorded pair and the ad points to the right listing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*qseQImwEYuWPPu8E" /><figcaption>Wizstar’s e-commerce tools for product advertising</figcaption></figure><p>Approve claims only when the footage and records support them. Match each fit claim to a visible cue. Verify the wearer’s size and product variant. Then direct buyers to the matching listing. If the footage and live variant don’t match, hold the export until the shoot record resolves it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e04cf38aec9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Types of Machine Learning: Start With the Feedback Signal]]></title>
            <link>https://elliot-teachingu-ai.medium.com/types-of-machine-learning-start-with-the-feedback-signal-14eb186955e5?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/14eb186955e5</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 10:56:17 GMT</pubDate>
            <atom:updated>2026-11-26T10:56:17.085Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Labels, hidden targets, structure and rewards lead to different learning setups.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WURyrH9Ss4bdCc3rbWtyaQ.png" /></figure><p>A folder of support tickets lands on your desk with a vague request: “Use machine learning on it.”</p><p>One team wants to route new tickets to known queues. Another wants to find recurring issues in the messages. A third needs to decide where to send the next available agent as queues fill up.</p><p>The useful first question is: what feedback can training use? That signal separates the main learning setups and helps you choose one that matches the decision.</p><h3>Ask what information tells the model it is improving</h3><p>A learning signal gives a training procedure information for favoring one model or behavior over another. For a ticket router, a reviewed queue assignment provides a target. The procedure calculates a loss against that target and adjusts the model to reduce the loss across examples. A separate set of reviewed tickets checks whether those adjustments carry over to new examples.</p><p>Keep three other questions separate. A neural network describes a family of models. Classification describes a task that assigns examples to predefined categories. A queue name is an output. A neural network can first learn from raw text and later train on labeled tickets for classification. The learning setup can change between stages even when the architecture stays the same.</p><h3>Compare labels, structure and reward</h3><p><strong>Supervised learning</strong> fits a model to examples paired with targets. A target can be a category, such as a ticket’s queue, or a number. For example, you might predict a ticket’s resolution time from information available when it arrives. Each closed ticket supplies an observed resolution time. Train on earlier tickets, then measure prediction error on later tickets the model did not train on.</p><p><strong>Unsupervised learning</strong> finds patterns in inputs. It does this without target answers for the training task. Suppose you group tickets by similarities in their text. A clustering algorithm groups messages using the representation and similarity measure you choose. It groups messages that are similar according to that measure. It might group messages by language or by a template customers copied. To see whether the groups help with a task, adapt the checks in <a href="https://developers.google.com/machine-learning/clustering/kmeans/evaluate-results">Google’s guide to evaluating clustering results</a>. Sample tickets from each group and check whether they point to a bug worth investigating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/0*lBYDZupTcreU0LQs" /><figcaption>Ideal and real-world clustering plots</figcaption></figure><p><strong>Reinforcement learning</strong> trains an agent to choose actions that earn reward over time. Imagine a simulated robot navigating a warehouse. It can earn a reward for reaching its destination and incur a penalty for hitting an obstacle. Each turn changes the robot’s position and its next set of possible moves. Training seeks a <strong>policy</strong>, a rule for choosing actions, that earns higher total reward across a run. Compare policies on warehouse layouts they did not train on. Track collisions separately if avoiding them is a requirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/0*OhU4QzNdAWOW-FGA" /><figcaption>Comparing learning setups by feedback and evaluation</figcaption></figure><h3>Place self-supervision and semi-supervision on the map</h3><p><a href="https://csrc.nist.gov/glossary/term/self-supervised_learning">NIST’s AI glossary</a> describes <strong>self-supervised learning</strong> as a setup in which the training procedure derives targets from the data itself. Take the sentence “I was charged twice for one order.” Hide “twice” and ask the model to recover it. The training code has the original sentence, so it can score the prediction without asking someone to label the ticket. Recovering hidden text can help a model learn patterns in messages. Routing still needs a separate evaluation against reviewed queue assignments.</p><p>Hugging Face’s fill-mask example shows a related prediction task: a model proposes words for a missing position in a sentence. The screenshot shows inference, not training. During self-supervised training, the original text supplies the target; a plausible completion alone does not show that the model can route tickets correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*64KlBNl2-nFfVw2o" /><figcaption>Fill-mask inference suggests words for a missing token</figcaption></figure><p>In <strong>semi-supervised learning</strong>, labeled and unlabeled examples both contribute to learning a task. Suppose reviewers assigned queues to a small set of tickets while many more tickets await review. One approach is to train a classifier on the reviewed set. Use it to label some unreviewed tickets provisionally, then train it again on both sets. A confident prediction can still be wrong. Compare this version with the supervised baseline on the same untouched, human-reviewed test set.</p><p>Scikit-learn’s self-training example makes this tradeoff visible: changing the confidence threshold changes both the number of labeled samples and prediction accuracy. Its chart uses a public breast-cancer dataset, not support tickets. Use a validation set to choose a threshold for your task, then reserve the untouched test set for the final comparison.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/0*87zJ9jLLRnIYCLgA" /><figcaption>Confidence thresholds change self-training outcomes</figcaption></figure><h3>Generative AI describes an output capability, not a mutually exclusive training category.</h3><p>A model that drafts ticket replies is generative because it produces text. It might first learn to predict the next token in existing text, using the actual next token as a self-supervised target. A later supervised training round can use ticket and reply pairs as examples of desired responses. Both stages can contribute to the same reply feature. To evaluate the feature, check whether replies use the right case facts and give customers the correct next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ONtoywE5H17FOuoR" /><figcaption>Self-supervision, semi-supervision, and generative output</figcaption></figure><h3>Choose the setup from the task and evidence</h3><p><strong>You have labeled tickets and want to route new ones.</strong> Start with supervised classification if the reviewed labels reflect today’s queues. Compare predictions on recent tickets with a simple keyword routing rule. Check the queues where mistakes are expensive. If urgent tickets are rare, measure recall for that queue: the share of truly urgent tickets the router catches. Overall accuracy can hide missed urgent cases. If historical labels reflect queues you no longer use, relabel a sample before trusting the comparison.</p><p><strong>You have unlabeled tickets and want to discover recurring issues.</strong> Start with clustering when the aim is exploration. Pick an action the groups should support, such as opening a bug investigation. Sample tickets from each candidate group and check whether they point to the same failure. If a group mainly shares a greeting or boilerplate, change the text representation or set the group aside. If the goal becomes routing to fixed queues, collect examples with verified queue labels.</p><p><strong>You have limited staffing and need to reassign agents throughout a shift. </strong>Moving an agent to billing may shorten that queue now and leave fewer people for account access later. Reinforcement learning may be suitable. You need to observe how choices change queue conditions and define a reward for balancing those effects. Compare a learned policy with a fixed staffing rule. Use similar workloads in a credible simulator or controlled trial. Measure wait times and check whether any queue repeatedly goes without coverage. If your logs only show daily closure totals, use <a href="https://research.google/blog/tackling-open-challenges-in-offline-reinforcement-learning/">Google Research’s discussion of offline reinforcement learning</a> as a guide. Start recording queue conditions, who moved where, and what happened next.</p><p>Before training, define the result you want and the evidence that could support it. Reviewing clusters may help you decide whether to investigate a bug; it cannot validate a router or show what would happen if you moved an agent. Match the evidence to the decision, or narrow the task.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14eb186955e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transformer Explained: What Happens Inside One Block?]]></title>
            <link>https://elliot-teachingu-ai.medium.com/transformer-explained-what-happens-inside-one-block-d1331fa93ade?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1331fa93ade</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 10:22:13 GMT</pubDate>
            <atom:updated>2026-11-25T10:22:13.429Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Attention moves information between tokens, and the rest of the block matters too.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L3USNTY5UbiO-0GL-j0J-Q.png" /></figure><p>You pause a Transformer tutorial halfway through copying its diagram. The attention arrows make sense until they meet a plus sign. One line comes from attention. The other seems to skip it. What exactly are you adding?</p><p>GPT-2 small gives us a concrete block to draw. We’ll follow the last token of an unfinished sentence through attention and the feed-forward network. Then we’ll see how the full model uses that token’s final vector to score possible continuations.</p><h3>Give each token a representation and a position</h3><p><strong>Each position starts with the sum of two learned vectors.</strong> Use this unfinished sentence as the prompt in Transformer Explainer:</p><pre>I couldn&#39;t stretch the cable across the desk because it was too</pre><p>GPT-2 looks up a <em>token embedding</em> by token ID and a <em>position embedding</em> by sequence position. Both occurrences of the include the leading space and have ID 262. They share a token embedding, but their positions differ: 4 and 7, counting from zero.</p><p>The two sums give the first block different inputs for the same token ID. The same lookup and addition also give us the starting vector for too, the last token in the prompt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*DjZnVvuKhIc4iWWr" /><figcaption>GPT-2 adds different position embeddings to the same token embedding</figcaption></figure><p><em>Both occurrences of the use the same token embedding. Each adds its own position embedding before entering the first block. Diagram created programmatically with AI assistance.</em></p><p>Learned position vectors are one design choice. The architecture also determines which positions can interact. GPT-2 is decoder-only. The original Transformer has an encoder and a decoder, and its decoder can attend to the encoder’s output. BERT’s encoder can use context on both sides of a token. <a href="https://arxiv.org/html/1706.03762#S3">Original Transformer architecture</a></p><h3>Attention mixes information from the visible context</h3><p><strong>Attention gives too a way to use information from earlier positions.</strong> GPT-2 normalizes the input vectors, then each attention head uses learned projections to produce a query, a key, and a value at every position.</p><p>The head compares the query for too with the keys. Each comparison takes a dot product, multiplying corresponding entries and adding them up. The head scales the score by dividing it by the square root of the key vector’s width.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/0*4VD7FIgq8FCWhefI" /><figcaption>Self-attention with and without a causal mask</figcaption></figure><p>Read the right-hand panel with desk as the query. The green positions are available to it. The later too falls in the gray region. A <em>causal mask</em> controls which scores can count. The query at desk can attend to cable and to its own position. The later too is outside its visible context. The query at too can attend to the whole prefix, including its own position.</p><p>Softmax turns the allowed scores into weights that sum to one. The head multiplies each value vector by its weight and adds the results. If cable gets a high weight, its value gets a large multiplier. What that contributes depends on the value vector itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*FDDtMFo3ElqBiEQd" /><figcaption>From query and key scores to a weighted value sum</figcaption></figure><p>The model learns the projection weights during training and keeps them fixed when you enter a prompt. It calculates attention weights from the current input. So the same head can produce a different pattern for each sentence.</p><h3>Several heads can mix information differently</h3><p>GPT-2 small has 12 attention heads per block. Each computes its own weighted sum. Two heads can draw from different positions or extract different information from the same ones. GPT-2 joins their outputs and projects the result back to the width of the block input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*iTkg4iL6GAU254L1" /><figcaption>Joining and projecting the outputs of 12 attention heads</figcaption></figure><p>Switching heads lets you compare those patterns for the same sentence. A head that highlights a pronoun and a nearby noun gives you a pattern to investigate across examples before assigning it a stable role.</p><h3>The block also transforms and stabilizes the representation</h3><p><strong>The first plus sign adds the attention update to the incoming vector.</strong> For too, one path carries the vector directly to the addition. The other runs through normalization and attention. The two paths meet at the first residual connection.</p><p>The second branch starts from that sum. Its feed-forward network, often called the <em>MLP</em>, expands each position’s vector from 768 numbers to 3,072, applies GELU, and projects it back to 768. The same network processes each position separately. It also includes information that attention has already brought in.</p><p>The block follows this order:</p><ol><li><strong>Attention.</strong> Normalize the incoming vector, run attention, and add the result to the incoming vector.</li><li><strong>MLP.</strong> Normalize the updated vector, run the MLP, and add the result to the updated vector.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/0*6-i68cGL8A7trgid" /><figcaption>Residual additions for attention and the MLP</figcaption></figure><p>Here, a is the attention update. After x = x + a, x holds the first sum. The MLP reads a normalized copy of that sum, and x = x + m adds the MLP update back to it. Layer normalization centers and rescales the features in each position’s vector. It then applies a learned scale and offset. GPT-2 places it before each branch’s computation, an arrangement called <em>pre-norm</em>. The original 2017 Transformer puts normalization after each residual addition. <a href="https://github.com/openai/gpt-2/blob/master/src/model.py">GPT-2 model implementation</a></p><h3>Repeated blocks lead to an output distribution</h3><p><strong>The vocabulary scores come after all 12 blocks.</strong> Each block passes an updated vector for every position to the next stage. GPT-2 applies one final layer normalization, then uses the vector at too to score what could follow it.</p><p>GPT-2 uses the token embedding table twice. At the input, a token ID selects one row. At the output, the model takes the dot product of the final vector with each row. Each dot product gives a vocabulary score called a <em>logit</em>.</p><p>Softmax works over two different sets of scores. Inside attention, it assigns weights to positions in the prefix. At the output, it gives probabilities for candidate tokens. Transformer Explainer shows the sampling probabilities after you apply your chosen temperature and sampling settings.</p><p>Open the embedding view and check the two instances of the. Both should show ID 262, at positions 4 and 7. In self-attention, compare the queries for desk and too. The mask blocks the connection from desk to the later too, while too can attend to desk.</p><p>Keep the prompt and sampling settings fixed as you switch heads within the same block. Compare their weights at earlier positions. Then trace the MLP and residual paths in the overview. Finally, open the output probabilities. <a href="https://poloclub.github.io/transformer-explainer/">Transformer Explainer</a></p><p>A high attention weight on cable shows how heavily that head weighted its value. To test whether the head favors short over another token, you need a model setup that lets you change the head’s output. Hold the prompt fixed and compare the two tokens’ logit gap before and after the change.</p><p>That experiment measures the effect of changing the whole head for this prompt. Testing the specific connection to cable would require a more targeted intervention.</p><p>Go back to the plus sign in your sketch. For each branch, draw one line that carries the input directly to the addition. Draw another line that carries the update computed from that input after normalization. Draw the pair once for attention and once for the MLP. The second sum is the vector that leaves the block.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1331fa93ade" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How LLMs Work: Trace One Answer From Tokens to Text]]></title>
            <link>https://elliot-teachingu-ai.medium.com/how-llms-work-trace-one-answer-from-tokens-to-text-c624509996d1?source=rss-831f5e46ee48------2</link>
            <guid isPermaLink="false">https://medium.com/p/c624509996d1</guid>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Elliot Mercer]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 09:53:33 GMT</pubDate>
            <atom:updated>2026-11-24T09:53:33.623Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Follow the main computation, then separate it from search, tools and the surrounding app.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i_MWYmmGIjKGzcb9Lsc4_g.png" /></figure><p>You ask a chatbot what time the campus lab closes on Wednesday. It answers, “8 p.m.” The answer sounds useful, but you still need to know where that time came from before you walk across campus.</p><p>In this fictional campus scenario, the app may have found a current schedule. It may have used a detail you supplied or generated a plausible continuation. The path from question to answer helps you tell those possibilities apart.</p><h3>Training builds the model used at answer time</h3><p><strong>Pretraining teaches a model to predict what comes next.</strong></p><p>Imagine a training document says, “The lab closes at six.” During pretraining, the model uses earlier tokens to predict the next one. The text supplies its own target tokens, which makes the process <em>self-supervised learning</em>.</p><p>One sequence provides many prediction targets: each token can be a target for the position before it. A loss function such as cross-entropy penalizes the model more when it assigns low probability to the observed token. <a href="https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf">The GPT-2 paper</a> describes this next-token training approach.</p><p>Backpropagation calculates how the loss changes with the model’s parameters. An optimizer uses those gradients to update the weights. In many cases, these updates help the model learn language patterns. They also help it continue familiar or unfamiliar text.</p><p>Post-training shapes how a model responds to instructions. The InstructGPT team fine-tuned a pretrained model using demonstrations. It trained a reward model on ranked responses, then used reinforcement learning to improve the model further. This can improve instruction following; it does not guarantee that a particular answer is accurate. <a href="https://arxiv.org/abs/2203.02155">The InstructGPT paper</a> describes this process.</p><p>During ordinary inference, the deployed model uses its weights without updating them. Those weights can encode factual patterns. But they cannot search a database, open the original page, and check its latest version. When the lab changes its hours, the app or user must supply the new schedule.</p><h3>The prompt becomes a sequence of representations</h3><p><strong>The app turns the question into token IDs before generation.</strong></p><p>Try “The lab closes at” with the GPT-2 tokenizer. It returns four tokens with IDs 464, 2248, 20612, and 379, in that order. With “Show whitespace” turned on, you can see that each of the last three tokens begins with a space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*02iRizwXwVNbfyxE" /><figcaption>GPT-2 tokenizes “The lab closes at” into four pieces</figcaption></figure><p>The tokenizer maps each piece to an integer ID. The model looks up a learned <em>embedding</em>, a vector of numbers, for each ID. GPT-2 adds a learned position vector to each token embedding. This makes the position representation depend on where the token appears in the sequence. Other Transformer designs can represent position differently.</p><p>Those vectors pass through Transformer blocks. Each position’s representation can incorporate information from earlier positions. The vector near the end of “The lab closes at” can therefore reflect whether the question concerned a campus lab or a library.</p><h3>The model produces a distribution, then another token</h3><p><strong>The final position predicts the next token.</strong></p><p>In a decoder-only model, self-attention combines information from the current and earlier positions. A <em>causal mask</em> blocks later positions. A feed-forward network then transforms each position’s vector using the same learned operation within that block. Repeating these blocks lets the model build richer representations.</p><p>After processing the prefix, the model uses the final position’s representation to calculate a score for each token in its vocabulary. These scores are <em>logits</em>. Softmax can convert them into probabilities that sum to one.</p><p>The decoding rule chooses what to append. Greedy decoding selects the highest-scoring token. Sampling uses the probability distribution after settings such as temperature or top-k filtering change it. These settings can alter the distribution. In Transformer Explainer’s GPT-2 example, the prompt ends with “Data visualization empowers users to”. At a temperature of 0.8 with top-k set to 5, “visualize” leads at 54.67%. Greedy decoding would pick it. The demo samples “make”, which had a 6.26% chance under those settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*xChba3_YkK1zBgiQ" /><figcaption>The “make” token has a 6.26% sampling probability</figcaption></figure><p>Back in the fictional campus example, suppose the model appends “ eight”. Its next prediction now uses the prefix “The lab closes at eight”. For a hypothetical step after “The lab closes at”, suppose six gets 45%, eight gets 30%, five gets 15%, and the rest of the vocabulary shares 10%. These numbers are invented. Greedy decoding selects six; sampling could select eight. The 30% is the chance of sampling that token under this hypothetical setup.</p><h3>Repeating the loop creates the answer</h3><p><strong>Each selected token becomes part of the next input.</strong></p><p>If the model appends eight, its next prediction uses a prefix ending in “at eight”. Further steps might produce the pieces of “p.m. on Wednesday.” Generation stops when it reaches a stopping condition, such as an end token or the limit on new tokens.</p><p>An implementation can cache earlier tokens’ key and value representations and reuse them during the next step. This is often called a <em>KV cache</em>. Each new token still depends on the sequence available so far, so an incorrect hour can lead to a fluent but incorrect sentence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*RpSlzHGlD1Z427HH" /><figcaption>A selected token returns to the model for another prediction</figcaption></figure><h3>Search and tools add another layer</h3><p><strong>The app can supply current information as model context.</strong></p><p>One design retrieves a relevant schedule excerpt before calling the model. Another asks the model to request a lookup, runs that lookup in the app, and sends the result to the model in a follow-up call. In both designs, the model generates its response token by token; the schedule reaches it through the context the app supplies. <a href="https://arxiv.org/abs/2005.11401">The RAG paper</a> describes combining retrieved information with generation.</p><p>Suppose an old timetable says “Weekdays: 6 p.m.” and the current schedule says “Wednesday: 8 p.m.” Search might return the old timetable because it matches the query. It might also find the current page but pass an excerpt that cuts off the Wednesday exception. Even with the right line in context, the model can report the wrong hour.</p><p>To debug the answer, check the lookup first: did it return the correct lab’s current schedule? Then inspect the input passed to the model. Does it include the Wednesday entry, its date, and enough context to identify it as current?</p><p>A stale page points first to retrieval or source freshness. A missing exception points first to excerpt selection or context assembly. If the current entry and an outdated one both reached the model, check whether their dates and priority were clear. If the current entry was unambiguous and the answer still says six, the response failed to follow the supplied evidence.</p><p>A fluent “The lab closes at 8 p.m.” could come from a current schedule, a detail you supplied, or a plausible continuation. Before walking across campus, check the schedule entry for that lab and date. The diagram shows how an app can pass that entry to the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*qdYJy1lzGSBjZM6k" /><figcaption>An app passes schedule context into a token-by-token model</figcaption></figure><p><em>The app supplies the schedule excerpt as context. The model uses that context to generate the answer one token at a time. Diagram created programmatically with AI assistance.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c624509996d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>