{"course":{"slug":"ai-at-work","title":"AI at Work","url":"https://addaly.com/learn/ai-at-work","level":"beginner","track":"work"},"lesson":{"slug":"what-it-is-doing-when-it-answers","title":"What it is actually doing when it answers you","url":"https://addaly.com/learn/ai-at-work/what-it-is-doing-when-it-answers","position":2,"of":73,"minutes":10,"answer":"The model only predicts the next fragment of text, so it has no memory, no clock, no calculator and no register of what it does not know.","keyIdea":"The model only predicts the next fragment of text, so it has no memory, no clock, no calculator and no register of what it does not know, and every characteristic failure follows from one of those absences."},"body":{"format":"markdown","text":"## The only operation there is\n\nA large language model does one thing. Given a stretch of text, it works out a probability for every possible next fragment, picks one, adds it to the end, and runs the whole calculation again. That loop, a few hundred times over, is the letter it drafted for you.\n\nNothing else is happening. There is no separate part that checks facts, no lookup step, no moment where it decides whether it knows. Understanding this is not academic curiosity. It tells you precisely which mistakes to expect, and it is the difference between a person who is surprised every week and a person who is never surprised.\n\n## It does not see letters\n\nThe model does not read characters. Text is first cut into **tokens**: common fragments learned from the training data. In English, a token averages about four characters, so 1,000 tokens is roughly 750 words. Common words are single tokens; unusual ones split. \"Unhelpfulness\" is likely three or four pieces.\n\nTwo consequences you will meet.\n\nThe first is the counting failure. Ask how many times the letter \"r\" appears in \"strawberry\" and a capable model may say two. It is not being careless. The word arrived as two or three opaque fragments, and the letters inside them were never separately visible. The same model can analyse a lease correctly and miscount a word, because those are different kinds of task on different objects.\n\nThe second matters more for cost. Tokenisers were fitted mostly on English text. The same sentence in Hindi, Tamil, Arabic or Amharic can consume roughly one and a half to eight times as many tokens as its English translation, depending on the language and the tokeniser, because the script fragments into smaller pieces. On GPT-4o's tokeniser it is about 1.4 times for Arabic, 1.6 for Hindi, 2 for Tamil and nearly 6 for Amharic; on the older GPT-4 tokeniser it is about 3 to 8 times. Since you are billed per token and the context limit is counted in tokens, working in your own language can cost several times more and fill the window several times faster for identical meaning. This is a real inequity, it is rarely mentioned, and it is worth knowing before you conclude that the tool is worse in your language than in English.\n\n## No memory, no clock, no calculator\n\nThree absences follow directly from the mechanism.\n\n**No memory.** Each conversation begins with nothing. When a product appears to remember you, a separate system has saved notes and is quietly pasting them back in at the top of every conversation. That is a feature bolted on, not a property of the model, and it can be switched off, which is worth knowing when the notes contain a client's name.\n\n**No clock.** It has no access to the time unless the date is written into the hidden instructions the product sends with your message. Most consumer products do send it. Many do not. If you ask \"is this contract still within its notice period\" without stating today's date, you may be getting arithmetic based on a date it guessed.\n\n**No calculator.** Arithmetic is produced the same way as prose: by completion. Small sums it has effectively memorised. Multiply two seven-digit numbers and accuracy collapses, in the same confident tone. Modern products often detect a sum and hand it to a real calculator or a snippet of code, which fixes it. Whether yours does is something you should test with a multiplication you can verify, not assume.\n\n## Where its knowledge sits\n\nWhat the model knows is stored in its weights: billions of numbers fixed at the end of training. It is not a database. There is no row to inspect, no source to click, no field that says \"confidence\". You cannot ask it what it does not know, because there is no register of that anywhere in the system.\n\nThis is why the honest instruction throughout this course is that facts you did not supply are unverified. Not usually wrong. Unverified, which is a different and more useful category.\n\n## The same question, a different answer\n\nAsk the same question twice and you often get two different replies. That is sampling: it is drawing from a distribution rather than reading out a stored answer. Some tools let you set a \"temperature\" of zero to take the most likely fragment every time, which reduces variation but does not eliminate it: the provider batches your request with other people's, and the arithmetic inside the model changes slightly with the size of the batch, so the \"most likely\" fragment can occasionally change.\n\nYou can turn this into a tool rather than an annoyance, and a later lesson does exactly that: where two runs disagree is where the model is least certain, and that is where you look.\n\n## Watch it happen, for nothing\n\nThe clearest way to internalise all of this is to run a small model yourself. **Ollama** (free, Windows, macOS, Linux) will install and run a two- or three-billion-parameter model on an ordinary laptop with 8 GB of memory. `llama.cpp` does the same with less software around it. **Hugging Face** hosts free tokeniser demos in the browser, where you can paste a sentence and watch it cut into pieces: try one line of English and the same line in your own language, and read the two counts.\n\nA small model fails in the same ways as a large one, only more often and more visibly. An hour with one teaches more about the shape of the failures than a month of reading about them."},"check":{"question":"A model correctly analyses a twelve-page lease, then says the word \"strawberry\" contains two letter r. What does this pair of results tell you?","options":[{"text":"Text reaches the model as tokens rather than characters, so letter-level questions ask about something it never received, while sentence-level meaning is exactly what it does receive.","correct":true},{"text":"The model was being lazy on the easy question and would have got it right if asked to think step by step.","correct":false,"tempting":"Assumes effort is the missing ingredient, when the information needed to answer was never present in the input at all."},{"text":"Counting is arithmetic, and the model has no calculator, so it fails at all numeric questions equally.","correct":false,"tempting":"Confuses two separate absences: arithmetic weakness is real, but this particular failure is about tokenisation hiding characters, not about sums."},{"text":"The lease analysis is probably also unreliable, since a system that cannot count letters cannot be trusted with legal text.","correct":false,"tempting":"Treats capability as a single dial, when the two tasks operate on different objects: the lease arrives as meaningful text, the letters inside a token are not separately visible at all."}]},"prev":{"slug":"the-shape-of-the-work","title":"What it is actually good at","url":"https://addaly.com/learn/ai-at-work/the-shape-of-the-work"},"next":{"slug":"the-context-window","title":"The context window, and why a long chat gets worse","url":"https://addaly.com/learn/ai-at-work/the-context-window"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'What it is actually doing when it answers you', in AI at Work. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-at-work/what-it-is-doing-when-it-answers (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"What it is actually doing when it answers you","courseTitle":"AI at Work","module":{"index":1,"slug":"deciding-what-to-hand-over","title":"Deciding what to hand over"},"answer":null,"keyIdea":"The model only predicts the next fragment of text, so it has no memory, no clock, no calculator and no register of what it does not know, and every characteristic failure follows from one of those absences.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"the-only-operation-there-is","runs":[{"text":"The only operation there is"}]},{"t":"p","runs":[{"text":"A large language model does one thing. Given a stretch of text, it works out a probability for every possible next fragment, picks one, adds it to the end, and runs the whole calculation again. That loop, a few hundred times over, is the letter it drafted for you."}]},{"t":"p","runs":[{"text":"Nothing else is happening. There is no separate part that checks facts, no lookup step, no moment where it decides whether it knows. Understanding this is not academic curiosity. It tells you precisely which mistakes to expect, and it is the difference between a person who is surprised every week and a person who is never surprised."}]},{"t":"h2","id":"it-does-not-see-letters","runs":[{"text":"It does not see letters"}]},{"t":"p","runs":[{"text":"The model does not read characters. Text is first cut into "},{"text":"tokens","b":true},{"text":": common fragments learned from the training data. In English, a token averages about four characters, so 1,000 tokens is roughly 750 words. Common words are single tokens; unusual ones split. “Unhelpfulness” is likely three or four pieces."}]},{"t":"p","runs":[{"text":"Two consequences you will meet."}]},{"t":"p","runs":[{"text":"The first is the counting failure. Ask how many times the letter “r” appears in “strawberry” and a capable model may say two. It is not being careless. The word arrived as two or three opaque fragments, and the letters inside them were never separately visible. The same model can analyse a lease correctly and miscount a word, because those are different kinds of task on different objects."}]},{"t":"p","runs":[{"text":"The second matters more for cost. Tokenisers were fitted mostly on English text. The same sentence in Hindi, Tamil, Arabic or Amharic can consume roughly one and a half to eight times as many tokens as its English translation, depending on the language and the tokeniser, because the script fragments into smaller pieces. On GPT-4o’s tokeniser it is about 1.4 times for Arabic, 1.6 for Hindi, 2 for Tamil and nearly 6 for Amharic; on the older GPT-4 tokeniser it is about 3 to 8 times. Since you are billed per token and the context limit is counted in tokens, working in your own language can cost several times more and fill the window several times faster for identical meaning. This is a real inequity, it is rarely mentioned, and it is worth knowing before you conclude that the tool is worse in your language than in English."}]},{"t":"h2","id":"no-memory-no-clock-no-calculator","runs":[{"text":"No memory, no clock, no calculator"}]},{"t":"p","runs":[{"text":"Three absences follow directly from the mechanism."}]},{"t":"p","runs":[{"text":"No memory.","b":true},{"text":" Each conversation begins with nothing. When a product appears to remember you, a separate system has saved notes and is quietly pasting them back in at the top of every conversation. That is a feature bolted on, not a property of the model, and it can be switched off, which is worth knowing when the notes contain a client’s name."}]},{"t":"p","runs":[{"text":"No clock.","b":true},{"text":" It has no access to the time unless the date is written into the hidden instructions the product sends with your message. Most consumer products do send it. Many do not. If you ask “is this contract still within its notice period” without stating today’s date, you may be getting arithmetic based on a date it guessed."}]},{"t":"p","runs":[{"text":"No calculator.","b":true},{"text":" Arithmetic is produced the same way as prose: by completion. Small sums it has effectively memorised. Multiply two seven-digit numbers and accuracy collapses, in the same confident tone. Modern products often detect a sum and hand it to a real calculator or a snippet of code, which fixes it. Whether yours does is something you should test with a multiplication you can verify, not assume."}]},{"t":"h2","id":"where-its-knowledge-sits","runs":[{"text":"Where its knowledge sits"}]},{"t":"p","runs":[{"text":"What the model knows is stored in its weights: billions of numbers fixed at the end of training. It is not a database. There is no row to inspect, no source to click, no field that says “confidence”. You cannot ask it what it does not know, because there is no register of that anywhere in the system."}]},{"t":"p","runs":[{"text":"This is why the honest instruction throughout this course is that facts you did not supply are unverified. Not usually wrong. Unverified, which is a different and more useful category."}]},{"t":"h2","id":"the-same-question-a-different-answer","runs":[{"text":"The same question, a different answer"}]},{"t":"p","runs":[{"text":"Ask the same question twice and you often get two different replies. That is sampling: it is drawing from a distribution rather than reading out a stored answer. Some tools let you set a “temperature” of zero to take the most likely fragment every time, which reduces variation but does not eliminate it: the provider batches your request with other people’s, and the arithmetic inside the model changes slightly with the size of the batch, so the “most likely” fragment can occasionally change."}]},{"t":"p","runs":[{"text":"You can turn this into a tool rather than an annoyance, and a later lesson does exactly that: where two runs disagree is where the model is least certain, and that is where you look."}]},{"t":"h2","id":"watch-it-happen-for-nothing","runs":[{"text":"Watch it happen, for nothing"}]},{"t":"p","runs":[{"text":"The clearest way to internalise all of this is to run a small model yourself. "},{"text":"Ollama","b":true},{"text":" (free, Windows, macOS, Linux) will install and run a two- or three-billion-parameter model on an ordinary laptop with 8 GB of memory. "},{"text":"llama.cpp","code":true},{"text":" does the same with less software around it. "},{"text":"Hugging Face","b":true},{"text":" hosts free tokeniser demos in the browser, where you can paste a sentence and watch it cut into pieces: try one line of English and the same line in your own language, and read the two counts."}]},{"t":"p","runs":[{"text":"A small model fails in the same ways as a large one, only more often and more visibly. An hour with one teaches more about the shape of the failures than a month of reading about them."}]}],"check":{"question":[{"text":"A model correctly analyses a twelve-page lease, then says the word “strawberry” contains two letter r. What does this pair of results tell you?"}],"options":[{"text":[{"text":"Text reaches the model as tokens rather than characters, so letter-level questions ask about something it never received, while sentence-level meaning is exactly what it does receive."}],"correct":true,"tempting":null},{"text":[{"text":"The model was being lazy on the easy question and would have got it right if asked to think step by step."}],"correct":false,"tempting":[{"text":"Assumes effort is the missing ingredient, when the information needed to answer was never present in the input at all."}]},{"text":[{"text":"Counting is arithmetic, and the model has no calculator, so it fails at all numeric questions equally."}],"correct":false,"tempting":[{"text":"Confuses two separate absences: arithmetic weakness is real, but this particular failure is about tokenisation hiding characters, not about sums."}]},{"text":[{"text":"The lease analysis is probably also unreliable, since a system that cannot count letters cannot be trusted with legal text."}],"correct":false,"tempting":[{"text":"Treats capability as a single dial, when the two tasks operate on different objects: the lease arrives as meaningful text, the letters inside a token are not separately visible at all."}]}],"order":[1,3,2,0],"why":null},"prev":{"slug":"the-shape-of-the-work","title":"What it is actually good at","minutes":8},"next":{"slug":"the-context-window","title":"The context window, and why a long chat gets worse","minutes":9}}}