← All posts

Tag

AI

13 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
How to Evaluate AI Agents: Grade the World, Not the Transcript
AIAgentsEvaluationPython

How to Evaluate AI Agents: Grade the World, Not the Transcript

An agent does not produce an answer you can compare with a reference; it produces a changed world and an account of the change. A harness that grades the world: state diffs, pass^k over five runs, failure shapes and cost per success, measured on Claude Haiku 5.5 and 4.5 against an LLM judge.

October 27, 202625 min read
Read post
Four Failure Shapes From Public Postmortems
AIArchitectureReliability

Four Failure Shapes From Public Postmortems

Seven published incidents, two predating LLMs, collapse into four shapes: the label became the goal, the gate never held, validation stayed inside, and the recovery was never tested.

September 29, 202613 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
Guardrails for LLM Agents: Permissions, Scopes, and the Audit Trail That Holds Up
AIAgentsSecurity

Guardrails for LLM Agents: Permissions, Scopes, and the Audit Trail That Holds Up

Permissions, output validation, multi-agent delegation, and the audit trail that reconstructs the decision chain. A production handbook for shipping agents that survive contact with reality.

August 31, 202627 min read
Read post
When to Reach for an Agent, and When to Ship the Workflow
AIArchitectureAgents

When to Reach for an Agent, and When to Ship the Workflow

An LLM agent is a commitment, not a category. Here's the decision framework, the failure modes, the three-layer reliability model, and the hybrid architecture that actually works in production.

August 28, 202617 min read
Read post
When to Use RAG vs Simple Search: A Practical Decision Guide
AIRAGSearch

When to Use RAG vs Simple Search: A Practical Decision Guide

RAG sounds impressive, but most questions don't need synthesized answers from multiple documents. Here's how to choose the right approach.

August 27, 202611 min read
Read post