What is LoRA? The go-to method for cheap fine-tuning
Train a small adapter, not the model: how LoRA works, plus its second life in AI art.
Sticky notes on a frozen model
LoRA freezes the base weights and trains tiny low-rank matrices alongside key layers. With <1% trainable parameters, a consumer GPU can fine-tune a 7B model with near-full-fine-tune quality.
LoRA in AI art
In the Stable Diffusion/FLUX world, LoRAs are tiny style/character plug-ins — tens of MB teach a look or a face. Thousands are shared on Civitai and LiblibAI; one base model plus stacked LoRAs yields endless styles.
中文
LoRA 是什么?低成本微调大模型的主流方法
不动原模型、只训练小"外挂":LoRA 的原理与它在绘画圈的另一层含义。
给模型贴"便利贴"
LoRA 冻结原模型权重,只在关键层旁边训练两个小矩阵(低秩适配器)。可训练参数常常不到原模型的 1%,一张消费级显卡就能微调 7B 模型,效果却接近全量微调。
绘画圈的 LoRA
在 Stable Diffusion/FLUX 生态里,LoRA 指风格或角色的小插件:几十 MB 就能让模型学会某种画风或人物。Civitai、LiblibAI 上上万个 LoRA 可下载,一个基础模型 + 多个 LoRA 组合就是无限风格。