Skip to content

Tag: llm

All the articles with the tag "llm".

Train a Tiny GPT, Part 3: Training

Train a Tiny GPT, Part 3: Training

Train a 5.8M-parameter GPT on Sherlock Holmes: 59 seconds on an RTX 3070 vs 48 minutes on its CPU, and the overfitting that starts near step 1,250 of training.

Train a Tiny GPT, Part 2: Attention

Train a Tiny GPT, Part 2: Attention

Build causal self-attention and RoPE in plain PyTorch, then measure naive vs fused attention on an 8GB GPU: 6400 MiB vs 8.3 MiB of VRAM at 16k tokens.

Train a Tiny GPT, Part 1: Tokenizers

Train a Tiny GPT, Part 1: Tokenizers

Build a byte-level BPE tokenizer in about 100 lines of Python, then compare it to tiktoken's gpt2, cl100k_base and o200k_base on prose, code, YAML and German.

Clef vs Jev: Cloudflare's 4x Tie

Clef vs Jev: Cloudflare's 4x Tie

Cloudflare's Clef decision model tied Jev on accuracy in a private benchmark, abstained on junk better, and cost 4.2x more per decision. Real numbers inside.

Prompt Injection vs Your Coding Agent

Prompt Injection vs Your Coding Agent

Prompt-level defenses against injection are probabilistic and lose to a patient attacker. Here's the capability-level design that holds, with working configs.

Batch Inference: One Model, 100 Users

Batch Inference: One Model, 100 Users

Loading model weights, not math, is your GPU bottleneck. Continuous batching with llama-server serves many concurrent requests for close to the cost of one.

The Update That Broke Confidence

The Update That Broke Confidence

· Updated:

A 2026-09-22 patch left a self-hosted model's weights untouched but made it more confident on nonsense input. Six systems compared, real numbers only.

Jev vs Von vs SemIf: Real Numbers

Jev vs Von vs SemIf: Real Numbers

Jev, Von, and SemIf scored head to head on real commit history: a frozen 4B general model beat a purpose-built 395M decision model on every task tested.

Jev Retagged 840 Posts For 26 Cents

Jev Retagged 840 Posts For 26 Cents

I ran TypeSafe's Jev model against 840 blog posts to fix tag drift. Real cost numbers, benchmarked accuracy, and the failure mode that almost cost pageviews.

Komodo MCP vs the Docker Socket

Komodo MCP vs the Docker Socket

Komodo's community MCP server beats mounting the Docker socket or handing an AI agent SSH: scoped auth, per-tool RBAC, and confirmation before deletes.

Nano Banana Is Eating Its Own Images

Nano Banana Is Eating Its Own Images

Nano Banana's blurry images come from two causes: permanent generational loss from iterative editing, and a June 2026 outage Google fixed within 15 hours.

Your Coding Agent Can't Draw

Your Coding Agent Can't Draw

Coding agents write flawless code and leave hero.png blank. Compare self-hosted GPU image generation against subpixel, a ChatGPT-subscription CLI tool.