Leon Liu

Modeling · Language · Systems

Hi, I’m Leon Liu.

I bring over a decade of experience in NLP, machine learning, and AI systems.

I build ML systems from 0 to 1 and scale them from 1 to 100—from an initial idea and working prototype to production systems that grow with the workload. My work spans model development, data and training pipelines, and infrastructure for training and serving large-scale AI models, including LLMs and multimodal models.

This blog brings that perspective to technical explanations. I work through the math, read the source, and trace concrete examples so readers can understand both how a model works and how it runs.

Find me on GitHub →

What I bring

  • Modeling and evaluation. A foundation in machine learning, deep learning, and NLP, with attention to the objective, data, optimization, and how to evaluate whether a model solves the problem.
  • Large-scale AI systems. Building systems for model training and inference, including data pipelines, training infrastructure, and production serving for LLMs and multimodal models.
  • Depth across models and systems. My technical focus includes LLM and multimodal architectures, post-training, inference engines, and the tradeoffs between model quality, latency, memory, and compute.
  • Making complex ideas understandable. Source-grounded walkthroughs with code, worked examples, and diagrams that connect mathematical ideas to implementation.

Explore my writing

The articles are organized around a connected set of questions: how do we build models, train and improve them, and serve them efficiently? Start with a topic below, then follow its series from foundations to implementation.

A broader modeling perspective

I also write about NLP evaluation, recommender systems, distributed systems, and robot learning. The common thread is understanding the model, the evidence behind it, and the engineering needed to put it to work.

Some articles are original code walkthroughs; others are study notes built around courses and papers. I aim to make each one useful to engineers moving from a high-level idea to the details that determine its behavior.

Beyond work

Outside AI, I enjoy sports, music, photography, and travel. The photos on this blog come from my Unsplash and Pexels pages.