GPT, from scratch
A transformer language model assembled from the raw parts in PyTorch: tokenizer, attention, training loop. The goal was to understand every line.
PyTorch, transformers, from scratch
Machine-learning engineer at LinkedIn. I work on video recommendations: multimodal models, retrieval, and content understanding.
v ← μv − η∂L∂θ θ ← θ + v that dot →
softmax(QKT√dk)V the √d keeps it from saturating
RRF(d) = Σr160 + rankr(d) bm25 + vectors, fused
L0 ≈ ln|V| = ln 50304 ≈ 10.83 step 0. anything else is a bug
Fig. 1A loss surface that will not hold still: two octaves of simplex noise, drifting. The dot is gradient descent with momentum, chasing a minimum that keeps moving. Click the board to restart it somewhere else.
Marine first.
Engineer after.
Before any of this, I was a sergeant in the Marine Corps. It taught me to ignore the noise and look for the truth from first principles, which turns out to be most of engineering.
I left, studied computer science, statistics, and data science, and started building machine-learning systems. The work I care about sits where research meets production. The models have to be good, and they have to ship to real people.
The ML is fun, but the creativity is in knowing intuitively how the data shapes the architecture decisions, discovering that for yourself, and solving problems from first principles.
Machine-learning engineer on video recommendations, in Mountain View.
A run of engineering internships across recommendation, infrastructure, and large-model serving.
An M.S. in progress at Notre Dame; a B.S. from Baylor before it.
Where it started. Out as a sergeant.
A few projects from outside the day job. I built them to understand the architecture and how the math works, and the last one shows how much the data matters: the same architecture untrained, trained on a little data, and trained on a lot.
A transformer language model assembled from the raw parts in PyTorch: tokenizer, attention, training loop. The goal was to understand every line.
PyTorch, transformers, from scratch
A RAG system that grounds a language model in a real document store and serves it on Kubernetes. Vector search in, sourced answers out.
Milvus, LLMs, Kubernetes
The two above, wired together. My GPT is the generator inside my RAG: my tokenizer, my retrieval, my transformer, no external APIs. In the demo below it answers over a behavioural-data-science handbook.
Even a tiny amount of data starts shaping a vocabulary, and we begin to see how today's production systems were shaped and why AI labs pay so much for data (see the rise of companies like Mercor).
From scratch, RAG, no APIs
What it needs next is far more real data and a GPU, not a better architecture. So I tested that. I trained the same architecture overnight on my laptop's GPU on TinyStories, an open dataset of 2.7 million short stories. In one night it saw less than a quarter of the data, and it already writes coherent stories of its own, with the odd slip.