LoRA Adapter
A LoRA adapter is a small set of trainable numbers that adjusts how a pretrained model responds to a task while its original weights stay fixed.
A 📝Large Language Model (LLM) uses weights, the numbers it learned during training, to predict what text comes next. LoRA stands for low-rank adaptation. It represents an adjustment to a layer of weights using two smaller matrices, or grids of numbers. Training changes those grids. Their shared dimension, called the rank, limits how many independent directions the adjustment can use. The adapter can be saved separately and loaded with the matching model.
Suppose a help desk wants every reply to name a next step and an owner. Start by giving the model that instruction. If it still misses the format, train an adapter on pairs of requests and good replies. Compare the original and adapted models on requests kept out of training. Count correct owners as well as correctly formatted replies. A polished answer can still assign work to the wrong person. 📝How to Plan a First LoRA Experiment with MLX LM walks through this comparison on Apple silicon.
A changing detail, such as who is on call today, belongs in an editable record the model can retrieve when needed. Training on a fixed, lower-precision model can reduce memory use during adaptation. This approach is called QLoRA.
