← All posts

Tag

LLM

9 posts

Boltzmann Brains in an LLM: Heat Garbles Answers, It Rarely Swaps Facts
AILLM

Boltzmann Brains in an LLM: Heat Garbles Answers, It Rarely Swaps Facts

Does turning the temperature up make a language model write confident, fluent lies, like a Boltzmann brain? I measured 5,100 answers from two models. A 12B model produced none; a 1B model peaked at about one in 19, and mostly the heat garbled the text instead.

November 27, 202616 min read
Read post
How Big an LLM Can a 1 GB Raspberry Pi 4 Run? Measured
AILLMPerformance

How Big an LLM Can a 1 GB Raspberry Pi 4 Run? Measured

On a Raspberry Pi 4 with 1 GB of RAM, Qwen2.5 0.5B generated 8.3 tokens per second and Llama 3.2 1B 0.13. The 1B file does not fit, so the Pi rereads it from the SD card for every token. What moved the line, what did not, and what a 3-bit file costs in answers.

November 11, 202610 min read
Read post
What Is Temperature in AI? A Beginner's Guide, Measured on a Real Model
AILLM

What Is Temperature in AI? A Beginner's Guide, Measured on a Real Model

Temperature decides how adventurous a language model is when it picks its next word. I asked Llama 3.2 the same question 100 times at four temperatures: one answer at 0, 12 at 0.7, 37 at 1.0 and 99 at 1.5, a quarter of them gibberish. Here is why, with the model's own probabilities.

November 9, 20269 min read
Read post
Small Language Models at the Edge: 1,000 Tickets on a Mac, a Thin Client and n8n
AILLMPerformanceEvaluation

Small Language Models at the Edge: 1,000 Tickets on a Mac, a Thin Client and n8n

I sent 1,000 support tickets to Llama 3.2, Qwen 2.5 and the Apple Foundation Model on a Mac and a thin client, behind n8n, and to Claude Haiku. Constrained decoding made every local answer valid JSON; the best local model got all four fields right on 37% of the tickets, the cloud on 100%.

November 9, 202622 min read
Read post
Durable AI Agents in Laravel: an LLM Agent on Temporal, Crashes Included
AgentsLaravelTemporalPHPLLM

Durable AI Agents in Laravel: an LLM Agent on Temporal, Crashes Included

A Laravel support agent built twice, as the usual loop and as a Temporal workflow, then killed mid-refund. Temporal keeps the model's decision but still repeats the refund, and only a key per order pays once. One Laravel call made the live PHP worker report a result that never happened.

November 6, 202619 min read
Read post
Where I Deliberately Don't Use AI
AILLMArchitecture

Where I Deliberately Don't Use AI

AI can do more than I let it do. A practitioner's boundary list — the places I deliberately don't use it, the two questions that draw the line, and where I have already changed my mind.

September 29, 202613 min read
Read post
Observability for AI Agents: Instrument the Trajectory, Not the Request
AIObservabilityLLM

Observability for AI Agents: Instrument the Trajectory, Not the Request

A 200 OK tells you nothing when the failure is a plausible wrong answer. Instrumenting agent systems: the span model, payload policy, tail sampling, cost accounting, and the path to diagnosis.

September 29, 202621 min read
Read post
Hallucinations and Context Problems: A Production Mitigation Playbook
AILLMRAG

Hallucinations and Context Problems: A Production Mitigation Playbook

Hallucination is a family of failures, not one bug. A mitigation playbook: coverage versus utilization, grounding by construction, detection that routes, and containment.

September 25, 202621 min read
Read post
How to Measure the Quality of an AI System: A Production Evaluation Framework
AIEvaluationLLM

How to Measure the Quality of an AI System: A Production Evaluation Framework

Quality is not a number. A production framework for measuring AI systems: component metrics, calibrated judges, statistical honesty, and the failure modes of measurement itself.

September 25, 202622 min read
Read post