{
  "schema_version": "1.0",
  "id": "T-0204fbc362eb",
  "url": "https://gpuatlas.top/articles/T-0204fbc362eb/",
  "title": "微调时 loss 一直降，实际回答为什么更差了？",
  "summary": "loss下降但回答退步需核对泛化、真实监督及部署加载，以基础模型和独立题集定位原因。",
  "language": "zh-Hans",
  "category": {
    "id": "c-05",
    "name": "微调与训练",
    "url": "https://gpuatlas.top/categories/c-05/"
  },
  "topics": [
    {
      "id": "task-e33d9598da",
      "name": "微调",
      "kind": "task",
      "description": "让模型适应自己的任务，从训练方式、样本和显存预算入手，最后验证适配器是否真正起效。",
      "url": "https://gpuatlas.top/topics/task-e33d9598da/"
    }
  ],
  "body_text": "微调loss下降而实际回答变差，先记住loss只衡量当前训练目标。模型可能更会拟合样例，也可能学到错误答案或角色模式，曲线变好不等于业务质量改善。\n\n固定未见题，用相同模板、模式、采样和输出预算比较基础与微调，先确认适配器确实启用及基础revision匹配。部署文件、模板或采样变了，会造成看似训练退步，先排调用差异。\n\n抽查处理后的数据和损失掩码，不只看原JSON。错误答案、重复、混乱角色、回答截断或大量无关监督，都可能让优化目标偏离，训练样例好而新题差则继续看过拟合和覆盖。\n\n错误分事实、格式、遗漏、重复和不结束，同时保留原先正确却退步的题。每次针对一种原因改数据、训练时长或设置，用同一验证流程比较，继续加轮数不一定修复数据问题。\n\n验证集可用于挑选设置，最后仍应另留没有反复参与调参的题。对于基础模型原本答对、微调后答错的问题，保留两份完整答案，并核对独立重载能否复现。连同数据版本和训练耗时一起判断是否继续，避免为了让验证曲线更好而把新任务退步忽略掉。",
  "published_at": null,
  "modified_at": "2026-11-26T15:00:32.276655+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "id": "llamafactory",
      "url": "https://raw.githubusercontent.com/hiyouga/LLaMA-Factory/main/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    },
    {
      "id": "transformers-chat-template",
      "url": "https://raw.githubusercontent.com/huggingface/transformers/main/docs/source/en/chat_templating.md",
      "retrieved_at": "2026-11-25T10:11:32.915597+00:00"
    },
    {
      "id": "peft-quantization",
      "url": "https://raw.githubusercontent.com/huggingface/peft/main/docs/source/developer_guides/quantization.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    }
  ],
  "revision_note": "更新使用说明与操作示例；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-0204fbc362eb/",
    "json": "https://gpuatlas.top/data/articles/T-0204fbc362eb.json",
    "markdown": "https://gpuatlas.top/data/articles/T-0204fbc362eb.md"
  }
}
