What is fine-tuning, and when to use it vs prompts vs RAG

How fine-tuning works, when it fits, and the prompt → RAG → fine-tune decision order.

Fine-tuning is job training

You continue training a pretrained model on your data so it internalizes a style, format or domain dialect. It changes the model itself — ideal for fixed output formats, consistent voice and vertical fluency.

The decision order: train last

Need new knowledge → RAG. Need tone/format → better prompts. Only when long prompts still wobble and you own hundreds of quality examples is fine-tuning worth it — typically LoRA on an open model like Qwen.

中文

大模型微调是什么?和提示词、RAG 怎么选

微调的原理、适用场景,以及"先提示词、再 RAG、最后才微调"的决策顺序。

微调 = 给模型上岗培训

在预训练模型上用你的数据继续训练,让它学会特定风格、格式或领域行话。它改变的是"模型本身",所以适合固定输出格式、统一话术、垂直领域语感这类需求。

决策顺序:能不训就不训

要"知道新知识"→ 用 RAG 挂资料库;要"换个说法/格式"→ 先改提示词;只有当提示词写到很长仍不稳定、且有几百条以上高质量样本时,才值得微调。开源模型(如 Qwen 系列)+ LoRA 是最常见的低成本路线。

Keep reading / 继续阅读