跳到主要内容Skip to main content

QLoRAQLoRA

QLoRA

  • 硬件与部署Hardware & deployment
  • 第五站 · 跑起来Station 5 · Running It
解决什么问题What problem it solves

把模型压到 4-bit 再微调,一张消费级显卡也能练。Quantise the model to 4-bit first, then fine-tune — one consumer GPU is enough.

这是什么What it is

先把模型量化成 4-bit 冻结住,再只训练少量附加参数。

论文实测:单张 48GB 显卡就能微调 650 亿参数的模型。

The model is quantised to 4-bit and frozen; only a small set of added parameters is trained.

Measured in the paper: a single 48GB GPU can fine-tune a 65-billion-parameter model.

为什么需要知道Why it matters

它把「微调大模型」从机房拉到了个人电脑。想自己练模型,先看它够不够你的卡。It moved "fine-tuning a large model" from the datacentre to the personal computer. If you want to train a model yourself, check it against your card first.

出处Sources
  • QLoRA 论文QLoRA paper ↗