{"course":{"slug":"making-things-with-ai","title":"Making Things with AI","url":"https://addaly.com/learn/making-things-with-ai","level":"beginner","track":"create"},"lesson":{"slug":"small-fine-tunes","title":"Teaching it something it does not know","url":"https://addaly.com/learn/making-things-with-ai/small-fine-tunes","position":33,"of":84,"minutes":9,"answer":"A small fine-tune such as a LoRA adjusts a low-rank correction to the model's weights from a few dozen images, which is the only reliable way to add a subject.","keyIdea":"A small fine-tune such as a LoRA adjusts a low-rank correction to the model's weights from a few dozen images, which is the only reliable way to add a subject, style or object the base model has no coverage for."},"body":{"format":"markdown","text":"## When a prompt cannot get there\n\nThe previous module drew a line between \"underspecified\" and \"not there\". Everything on the not-there side of that line needs training, not wording: your face, your product, a specific character, a regional garment the caption corpus never described, a house illustration style.\n\nTraining a whole model is out of reach. Training a small correction to one is not, and this is the single largest capability most people are unaware they have.\n\n## What a LoRA is\n\nFull fine-tuning updates every weight in the model: billions of numbers, enormous memory, and a separate multi-gigabyte file per subject.\n\nA **LoRA** (low-rank adaptation) instead learns a small pair of matrices whose product is added to the original weights. The mathematics is that most useful adjustments are low-rank: they can be expressed as a small correction rather than a full rewrite. In practice the trained file is 10 to 200 megabytes rather than 6 gigabytes, several can be loaded at once, and each can be applied at an adjustable strength.\n\nThe related methods are worth distinguishing:\n\n- **Textual inversion.** Learns a new *word* rather than new weights: a few kilobytes, very fast, limited to concepts the model can already almost express.\n- **DreamBooth.** Full fine-tuning on a small set with a preservation term. Higher fidelity, large files, more compute.\n- **LoRA.** The middle, and where nearly everyone lands.\n\n## What training actually requires\n\nThe numbers, so you can judge feasibility:\n\n- **A subject** (a face, a product, an object): 15 to 30 images.\n- **A style**: 30 to 100 images.\n- **Time**: 10 to 40 minutes on a mid-range consumer GPU; a free Colab session is enough for a small one.\n- **Cost**: nothing, if you have a suitable computer or use a free tier.\n\nThe images matter far more than the settings, and this is where almost every failed attempt goes wrong.\n\n**Vary everything except the subject.** Different backgrounds, lighting, distances, angles, clothing. If every photograph was taken in the same room, the model learns the room. This is the classic failure: a LoRA that reproduces a face beautifully and always with the same bookshelf behind it.\n\n**Crop and resize to the training resolution**: square or the model's bucket sizes. Sloppy crops teach sloppy framing.\n\n**Caption honestly and describe the variable parts.** Caption what changes between images (the background, the pose, the clothing) and *not* the thing you are teaching. Anything you leave uncaptioned is absorbed into the trigger word. Caption \"a photograph of sks person in a garden\" and the garden is described, so the garden stays variable; leave the garden out and the model may bind it to the subject.\n\n**Twenty good images beat two hundred mediocre ones.** Duplicates and near-duplicates cause the memorisation effect from module one, at small scale and quickly.\n\n## Over-training, and how to see it\n\nThe most common outcome of a first attempt is a LoRA that has learned too hard. Symptoms: the subject appears correctly and everything else in the image degrades; prompts stop working; every output has the same composition; the style bleeds onto objects it should not touch.\n\nThe fix is to save checkpoints during training (most trainers do this by default, every few hundred steps) and test several. The best one is usually not the last. Generate the same three prompts with each checkpoint at the same seed and pick by eye. This takes ten minutes and is the difference between a usable LoRA and a broken one.\n\nApplying strength below 1.0 at generation time is the other half of the control. A slightly over-trained LoRA at 0.7 is often perfect.\n\n## The part that is not technical\n\nTraining on somebody's face requires their consent, and the same standard applies as for voice, which the voice module covers in full: informed, specific, written, and revocable. Training on a living artist's work to reproduce their style is legal in some places, contested in others, and the subject of the final module. What is not contested anywhere is that publishing the result as though it were theirs is passing off.\n\nTraining on your own photographs, your own products, your own drawings and openly licensed material is uncomplicated, and for most commercial work it is also what you actually need. A LoRA of your client's product photographed from twenty angles solves a problem no prompt can, and nobody has any claim on it."},"check":{"question":"A LoRA trained on 25 photographs reproduces the subject accurately but places them in nearly the same setting every time. What went wrong?","options":[{"text":"The training resolution was too low, so the model could not separate the subject from its surroundings during training.","correct":false,"tempting":"Resolution affects fidelity of detail, not whether the background was learned as part of the concept."},{"text":"The LoRA rank was set too high for a set this small, giving it enough capacity to memorise whole training images rather than isolating the subject that was supposed to be learned.","correct":false,"tempting":"Rank affects capacity and can contribute to over-fitting, but the specific symptom here points at the images and captions rather than the rank."},{"text":"The training images shared a background and the captions did not describe it, so the setting was absorbed into the learned concept.","correct":true},{"text":"The LoRA was applied at strength 1.0 at generation time, which forces every learned feature to appear.","correct":false,"tempting":"Lowering the strength would weaken the effect, but the background was bound to the concept during training and would still be present."}]},"prev":{"slug":"structural-conditioning","title":"Conditioning on structure: depth, edges and pose","url":"https://addaly.com/learn/making-things-with-ai/structural-conditioning"},"next":{"slug":"keeping-a-character","title":"The same face twice","url":"https://addaly.com/learn/making-things-with-ai/keeping-a-character"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Teaching it something it does not know', in Making Things with AI. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/making-things-with-ai/small-fine-tunes (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Teaching it something it does not know","courseTitle":"Making Things with AI","module":{"index":4,"slug":"control-not-luck","title":"Control: getting the picture you actually need"},"answer":null,"keyIdea":"A small fine-tune such as a LoRA adjusts a low-rank correction to the model’s weights from a few dozen images, which is the only reliable way to add a subject, style or object the base model has no coverage for.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"when-a-prompt-cannot-get-there","runs":[{"text":"When a prompt cannot get there"}]},{"t":"p","runs":[{"text":"The previous module drew a line between “underspecified” and “not there”. Everything on the not-there side of that line needs training, not wording: your face, your product, a specific character, a regional garment the caption corpus never described, a house illustration style."}]},{"t":"p","runs":[{"text":"Training a whole model is out of reach. Training a small correction to one is not, and this is the single largest capability most people are unaware they have."}]},{"t":"h2","id":"what-a-lora-is","runs":[{"text":"What a LoRA is"}]},{"t":"p","runs":[{"text":"Full fine-tuning updates every weight in the model: billions of numbers, enormous memory, and a separate multi-gigabyte file per subject."}]},{"t":"p","runs":[{"text":"A "},{"text":"LoRA","b":true},{"text":" (low-rank adaptation) instead learns a small pair of matrices whose product is added to the original weights. The mathematics is that most useful adjustments are low-rank: they can be expressed as a small correction rather than a full rewrite. In practice the trained file is 10 to 200 megabytes rather than 6 gigabytes, several can be loaded at once, and each can be applied at an adjustable strength."}]},{"t":"p","runs":[{"text":"The related methods are worth distinguishing:"}]},{"t":"ul","items":[[{"text":"Textual inversion.","b":true},{"text":" Learns a new "},{"text":"word","i":true},{"text":" rather than new weights: a few kilobytes, very fast, limited to concepts the model can already almost express."}],[{"text":"DreamBooth.","b":true},{"text":" Full fine-tuning on a small set with a preservation term. Higher fidelity, large files, more compute."}],[{"text":"LoRA.","b":true},{"text":" The middle, and where nearly everyone lands."}]]},{"t":"h2","id":"what-training-actually-requires","runs":[{"text":"What training actually requires"}]},{"t":"p","runs":[{"text":"The numbers, so you can judge feasibility:"}]},{"t":"ul","items":[[{"text":"A subject","b":true},{"text":" (a face, a product, an object): 15 to 30 images."}],[{"text":"A style","b":true},{"text":": 30 to 100 images."}],[{"text":"Time","b":true},{"text":": 10 to 40 minutes on a mid-range consumer GPU; a free Colab session is enough for a small one."}],[{"text":"Cost","b":true},{"text":": nothing, if you have a suitable computer or use a free tier."}]]},{"t":"p","runs":[{"text":"The images matter far more than the settings, and this is where almost every failed attempt goes wrong."}]},{"t":"p","runs":[{"text":"Vary everything except the subject.","b":true},{"text":" Different backgrounds, lighting, distances, angles, clothing. If every photograph was taken in the same room, the model learns the room. This is the classic failure: a LoRA that reproduces a face beautifully and always with the same bookshelf behind it."}]},{"t":"p","runs":[{"text":"Crop and resize to the training resolution","b":true},{"text":": square or the model’s bucket sizes. Sloppy crops teach sloppy framing."}]},{"t":"p","runs":[{"text":"Caption honestly and describe the variable parts.","b":true},{"text":" Caption what changes between images (the background, the pose, the clothing) and "},{"text":"not","i":true},{"text":" the thing you are teaching. Anything you leave uncaptioned is absorbed into the trigger word. Caption “a photograph of sks person in a garden” and the garden is described, so the garden stays variable; leave the garden out and the model may bind it to the subject."}]},{"t":"p","runs":[{"text":"Twenty good images beat two hundred mediocre ones.","b":true},{"text":" Duplicates and near-duplicates cause the memorisation effect from module one, at small scale and quickly."}]},{"t":"h2","id":"over-training-and-how-to-see-it","runs":[{"text":"Over-training, and how to see it"}]},{"t":"p","runs":[{"text":"The most common outcome of a first attempt is a LoRA that has learned too hard. Symptoms: the subject appears correctly and everything else in the image degrades; prompts stop working; every output has the same composition; the style bleeds onto objects it should not touch."}]},{"t":"p","runs":[{"text":"The fix is to save checkpoints during training (most trainers do this by default, every few hundred steps) and test several. The best one is usually not the last. Generate the same three prompts with each checkpoint at the same seed and pick by eye. This takes ten minutes and is the difference between a usable LoRA and a broken one."}]},{"t":"p","runs":[{"text":"Applying strength below 1.0 at generation time is the other half of the control. A slightly over-trained LoRA at 0.7 is often perfect."}]},{"t":"h2","id":"the-part-that-is-not-technical","runs":[{"text":"The part that is not technical"}]},{"t":"p","runs":[{"text":"Training on somebody’s face requires their consent, and the same standard applies as for voice, which the voice module covers in full: informed, specific, written, and revocable. Training on a living artist’s work to reproduce their style is legal in some places, contested in others, and the subject of the final module. What is not contested anywhere is that publishing the result as though it were theirs is passing off."}]},{"t":"p","runs":[{"text":"Training on your own photographs, your own products, your own drawings and openly licensed material is uncomplicated, and for most commercial work it is also what you actually need. A LoRA of your client’s product photographed from twenty angles solves a problem no prompt can, and nobody has any claim on it."}]}],"check":{"question":[{"text":"A LoRA trained on 25 photographs reproduces the subject accurately but places them in nearly the same setting every time. What went wrong?"}],"options":[{"text":[{"text":"The training resolution was too low, so the model could not separate the subject from its surroundings during training."}],"correct":false,"tempting":[{"text":"Resolution affects fidelity of detail, not whether the background was learned as part of the concept."}]},{"text":[{"text":"The LoRA rank was set too high for a set this small, giving it enough capacity to memorise whole training images rather than isolating the subject that was supposed to be learned."}],"correct":false,"tempting":[{"text":"Rank affects capacity and can contribute to over-fitting, but the specific symptom here points at the images and captions rather than the rank."}]},{"text":[{"text":"The training images shared a background and the captions did not describe it, so the setting was absorbed into the learned concept."}],"correct":true,"tempting":null},{"text":[{"text":"The LoRA was applied at strength 1.0 at generation time, which forces every learned feature to appear."}],"correct":false,"tempting":[{"text":"Lowering the strength would weaken the effect, but the background was bound to the concept during training and would still be present."}]}],"order":[1,2,0,3],"why":null},"prev":{"slug":"structural-conditioning","title":"Conditioning on structure: depth, edges and pose","minutes":9},"next":{"slug":"keeping-a-character","title":"The same face twice","minutes":8}}}