Back to Home

Artificial Intelligence Posts

Artificial Intelligence

Training A Transformer On Variable-Length Byte Sequences With Learned Positional Bias

The problem that pulled me in I ran into a weird failure mode while training a small Transformer for a “toy” classification task: my inputs were raw ...

Jun 18, 2026Read more
Artificial Intelligence

Reproducible Synthetic Ocr Labels With A Constrained Layout Diff For Donut

Why I went down this rabbit hole I wanted to generate synthetic training data for an OCR model, but every time I used a “normal” image + text render...

Jun 17, 2026Read more
Artificial Intelligence

Building A Token-Level “Diff” Inspector For Prompt Rewrites

The itch that started this project I kept seeing the same frustrating pattern while iterating on prompts: I’d “rewrite the prompt to be clearer,” ru...

Jun 11, 2026Read more
Artificial Intelligence

Training A Tiny Diffusion Model For Pixel Art Tilemaps With Denoising Autoencoder Loss

The weird problem I stumbled into I wanted to generate pixel-art tilemaps (think: 16×16 tiles arranged into a small scene), but I kept running into ...

Jun 4, 2026Read more
Artificial Intelligence

Enterprise Rag With Deterministic Citations Using Postgresql Trigram Search

The problem I ran into: “answers” with citations that couldn’t be trusted I built a small Enterprise RAG (Retrieval-Augmented Generation) pipeline t...

Jun 2, 2026Read more
Artificial Intelligence

Building A Markdown Compiler Agent For Openapi Terraform Mappers

I got obsessed with a very specific workflow bug: every time my team exported an OpenAPI spec into Terraform-friendly artifacts, the “glue” logic live...

Apr 11, 2026Read more
Artificial Intelligence

Building A “Fuzz-Resistant” Prompt Checksum For Deterministic Llm Outputs

Why I got obsessed with “prompt tampering” I hit a weird problem while building a small generative workflow: two prompts that looked identical produc...

Apr 7, 2026Read more
Artificial Intelligence

Building A Contract Clause Rag Guardrail Using Regex-Filter Before Retrieval

I got curious about a very specific failure mode in enterprise Retrieval-Augmented Generation (RAG): even when the retriever finds the “right” clauses...

Apr 4, 2026Read more