Articles
Long-form essays and empirical benchmarks on model architectures, embeddings, RAG, evaluation harnesses, and computer vision.
For shorter learning-in-public notes, experiments, and reading reflections, see Lab Notes (microblog.christhomas.co.uk) ↗.
2026
-
Micro blogging with SolveIt and SolveBlog
I am trying something new — micro blogging. The plan is to write three or four short posts a week after every interesting lesson, video, or podcast to reinforce learning and recall.
2025
-
Selection and Ensemble Strategies for Embedding Retrieval
In my previous post, I questioned that many RAG systems use embeddings 4-6x larger than necessary. Simple factual content plateaus at 256-512 dimensions. Complex technical content plateaus at 768 dimensions. Test...
-
Match Embedding Dimensions to Your Domain, Not Defaults
Vector database costs scale with embedding dimensions. Most systems use 768-3072 dimensions. You may only need 256-768. When you choose an embedding model, you skip the most important decision. You glance at MTEB...
-
The Human is the Agent: How SolveIt Changed My Programming Journey After 25 Years
I have been programming for over 25 years off and on, with a background in pre-AlexNet AI and having been a technical reviewer for AI publications and courses. As an early adopter of AI tooling and LLMs I thought I...
-
Pushing the Boundaries: Advanced Techniques for Production LLM & RAG Systems
This article outlines advanced architectures and techniques for production and enterprise-scale AI systems, exploring cutting-edge model optimisation, sophisticated retrieval strategies, complex reasoning frameworks...
-
Improving LLM & RAG Systems: Essential Concepts for Practitioners
Building effective, production-ready LLM and RAG systems requires more than just theoretical knowledge. This intermediate guide outlines concepts and techniques for overcoming real-world implementation challenges...
-
Making Sense of AI Terminology: LLM & RAG Basics That Matter
Here's a plain English explanation of key Large Language Model (LLM) and Retrieval-Augmented Generation (RAG) concepts.
-
How to Guide Stable Diffusion with VGG Features, Style Loss, and Latent MAE
Sometime ago I started on an experiment combining stable diffusion with more traditional computer vision techniques. The goal? To create images that weren't just prompted by text, but guided by a starting image and...
-
Speculative Decoding: Using LLMs Efficiently
Speculative decoding makes large language models (LLMs) work more efficiently. Large language models are transforming how we write code, but running them efficiently remains a challenge. Even with powerful hardware...
-
How to Validate AI Solutions Before Committing Resources
The biggest risk in AI projects isn't the technology - it's the gap between expectation and reality. But what if you could validate your AI solution in days, not months? When marketing and advertising agencies...
-
Building a Context and Style Aware Image Search Engine: Combining CLIP, Stable Diffusion, and FAISS
This is a demonstration of what is possible with rapid prototyping and iterative refinement using AI dialogue engineering tools. This is a prototype of context-aware image locally running search engine that combines...
-
How to sleep soundly when using LLMs in production: Evals!
It's 3 AM, and you're wide awake. Your company just deployed a ChatGPT-powered customer service bot, and your mind is racing with questions: "What if it starts giving incorrect information? What if it speaks...
-
AI Roast Potatoes - created with iterative refinement with AI
This started off as a bit of fun. I worked with an AI Assistant using dialogue engineering and iterative refinement to create a receipe for very tasty roast potatoes prepared a day in advance, so that I can just...
-
DeepSeek-R1: What You Need to Know About This New AI Development
DeepSeek, an AI research organization, has recently released a new open-source AI model that's generating interest in the tech community. It presents some interesting possibilities for businesses considering AI...
-
DeepSeek-R1: Advancing LLM Reasoning Through Novel Reinforcement Learning Approaches
The recent release of DeepSeek-R1 and DeepSeek-R1-Zero marks a significant breakthrough in the development of Large Language Models (LLMs) with enhanced reasoning capabilities. What sets this research apart is its...
-
What Will You Use RAG for in 2025: Beyond Basic Q&A
While many businesses have successfully implemented Retrieval-Augmented Generation (RAG) for basic question-answering systems, 2025 will see this technology expand into more sophisticated applications. The...
-
Decoding the UK's AI Ambitions: A Critical Analysis
The UK's AI Opportunities Action Plan represents an ambitious vision for technological leadership. While the plan's goals are commendable, let's examine the key challenges and potential pitfalls.
-
My takes and predictions for Generative AI in 2025
As we enter 2025, the AI landscape is shifting from raw model scaling to practical implementation and efficiency. Three key trends are reshaping how we build and deploy AI systems: the emergence of dialogue...
-
PRIME: The Secret Behind Making AI Think Better
Ever wonder why AI sometimes struggles with complex reasoning, even though it's brilliant at simple tasks? Picture teaching a child advanced calculus by showing them thousands of solved problems without explaining...
-
Understanding RAG: How to Enhance LLMs with External Knowledge
Large Language Models (LLMs) are powerful, but they're not perfect. They can hallucinate, struggle with factual accuracy, and can't access the most current information. This is where Retrieval-Augmented Generation...
-
DeepSeek-V3: Pushing the Boundaries of Open-Source Language Models
DeepSeek-V3 is a significant achievement in open-source language models, with innovative features and strong performance. The model has been released by DeepSeek, a Chinese AI firm founded and backed by the Chinese...
-
Improve Your LLM Efficiency Today - Be Polite To Your LLM
Writing grammatically formatted questions to Large Language Models (LLMs) can help reduce hallucinations and improve their responses. The degree of improvement varies depending on the specific LLM and language being...
2024
-
ModernBERT: Why You Should Pay Attention to the Next Generation of Encoder Models
The release of ModernBERT represents something unusual in machine learning: meaningful progress that's immediately useful for production systems. While recent years have seen a rush toward ever-larger language...
-
Why ShellSage Commands Attention in the AI-Powered Terminal Space
Terminal work demands constant context switching - jumping between command lines, documentation, and AI assistants. This context switching breaks our flow and makes learning new concepts harder than it needs to be...
2023
-
Save time, resources and money with Latent Diffusion based image generation.
This article shows a novel approach to training a generative model for image generation at reduced training times using latents and using a pre-trained ImageNet latent classifier as a component of the loss function...
2021
-
Super Resolution: Adobe Photoshop versus Leading Deep Neural Networks.
Super Resolution is a technique that enhances the quality of an image by increasing its apparent resolution, effectively imagining the detail present in a higher-resolution version. Traditional methods like bicubic...
-
Rapid prototyping of network architectures using Super-Convergence using Cyclical Learning Rate schedules.
Super-convergence, achieved through cyclical learning rates, is a powerful yet underutilized technique in deep learning that significantly accelerates model training. By varying the learning rate between high and low...
2020
-
Insights on loss function engineering.
In the realm of deep learning for image enhancement, the design of loss functions is pivotal in guiding models toward generating high-quality outputs. Traditional metrics like Mean Squared Error (MSE) and Peak...
2019
-
Tabular data analysis with deep neural nets.
Deep neural networks (DNNs) have emerged as a powerful tool for analyzing tabular data, offering advantages over traditional methods like Random Forests and Gradient Boosting Machines. Unlike these conventional...
-
An introduction to Convolutional Neural Networks
Convolutional Neural Networks (CNNs) are specialized neural networks primarily used for image processing tasks such as classification and segmentation. They operate by applying convolutional layers that use filters...
-
How do Deep Neural Networks work?
Deep neural networks (DNNs) are computational models that mimic the human brain's interconnected neuron structure to process complex data patterns. They consist of multiple layers of artificial neurons, each...
-
U-Nets with ResNet Encoders and cross connections
In this article, the author explores an advanced U-Net architecture that integrates ResNet encoders and cross connections, enhancing the model's performance in image processing tasks. This design incorporates...
-
U-Net deep learning colourisation of greyscale images
"U-Net deep learning colourisation of greyscale images" explores the application of deep learning techniques to transform grayscale images into colorized versions. Utilizing a U-Net architecture with a ResNet-34...
-
Feature based loss functions
In this article, I explores advanced loss functions for training Convolutional Neural Networks (CNNs), particularly U-Net architectures, to enhance image generation tasks. Drawing inspiration from the Fastai deep...
-
Deep learning based super resolution, without using a GAN.
Super-resolution is a technique that enhances the quality and detail of low-resolution images, effectively transforming them into higher-resolution versions. Traditional upscaling methods often result in images...
-
Random forests - a free lunch that’s not cursed.
Random forests are a powerful machine learning technique that combines multiple decision trees to enhance predictive accuracy and control overfitting. By aggregating the results of various trees, random forests...