← All tags

#llms

Claude Fable 5.2 vs GPT-6 Astra: The Smartest Model Is Also the Most Expensive

Pricing, benchmarks, cost per task, token use and speed for Claude Fable 5.2 and GPT-6 Astra, what Fable 5.2 achieved in physics and maths, our own max-effort black hole simulator test, and the pros and hidden costs of running it at max effort.my rate to this model is 7.3

ctx-compact: What I Learned Trying to Fit Long Conversations into a Token Budget as a ml researcher

My open-source experiment on compacting long chats: a dependency graph that worked on synthetic data, neighbour smoothing that worked on LoCoMo, and an honest negative result.

When AI Agents Attack by Accident: Real Incidents, How the Hacks Work, and How to Stay Safe

Deleted databases, wiped drives and hijacked coding agents: what really happened, why agents do it, and the setup that keeps yours in a box.

What the Weights Remember: I Read a Neural Network's Game from Its Weights, Then Hand-Wrote One That Beat Training

After reading a post on LLMs reading model weights, I trained two tiny game networks, read the game back with a forty-line script, and hand-wrote a five-neuron player that beat the trained one.

Is the AI Bubble Going to Burst, And If So When?

Valuations, data-center debt, and what a burst would look like versus 2008.

Security Vulnerabilities in AI-Generated Code: What Goes Wrong and How to Catch It

Common flaws coding assistants introduce, plus a review checklist and tooling setup.

Prompt Injection in RAG Systems: Closing the Trust Gap

How retrieved documents become instructions, and defenses for production RAG.

The LLM Supply Chain Is Bigger Than Your requirements.txt

Weights, adapters, plugins, and tool servers as first-class dependencies.

My Obsession with Voice Agents: What ElevenLabs Taught Me About Latency, Turn-Taking and Interruption

Why voice agents live or die on timing: the latency budget, endpointing, streaming LLM into TTS, barge-in with history repair, going local, and speech to speech with Gemini Live.

Build Your Own LLM API: An Open-Weight Model Behind a Gateway You Control

How I serve an open-weight model with vLLM behind a small FastAPI gateway that adds API keys, rate limits, token caps, streaming and usage logs, while staying OpenAI-compatible.

Architecting a Zero-Cloud Agent Memory Lab: vLLM, pgvector, and a Context Budget That Never Blows Up

How I built a local lab for agent memory: compaction with a PI controller, a conflict sentinel in pgvector, Ollama vs vLLM benchmarks, and the quantization maths that frees VRAM for 32k context.

Building RAG Systems for Production: Lessons from the Trenches

Practical insights on building Retrieval-Augmented Generation systems that actually work at scale: chunking strategies, embedding models, and evaluation.

The Dark Art of Context Truncation & Dynamic Prompt Compaction in Production RAG

Truncation, packing, and query-conditioned compaction when production RAG outgrows the context window.

Transformer Architecture: A Deep Dive into Attention Mechanisms

Understanding the revolutionary architecture behind GPT, BERT, and modern LLMs. How self-attention changed NLP forever.

A Practical Guide to Fine-Tuning LLMs in 2024

When to fine-tune, when to prompt engineer, and how to do it right. Covering LoRA, QLoRA, and full fine-tuning approaches.

2021: The Year Language Models Became Unreliable APIs

Copilot, Codex and the open GPT-3 API forced new architecture: determinism layers, regex and Pydantic parsing, AST checks, and pass@k instead of exact-match unit tests.

Keep the BERT Classifier and Route the Rest

Fine-tuned BERT stays for known intents. A threshold sends the long tail to a prompted model.

GPT-3 in Production: Latency, Prompts, and a Score You Can Trust

What broke when the GPT-3 API sat behind a real request: a prompt nobody versioned, multi-second latency, and no score better than a spreadsheet.