{
  "schema_version": "1.0",
  "id": "T-06802b58c533",
  "url": "https://gpuatlas.top/articles/T-06802b58c533/",
  "title": "DeepSeek R1 蒸馏版 7B 微调完，LoRA 怎么加载和验证效果？",
  "summary": "R1蒸馏7B适配器先匹配精确基础与提示模板，再比较完整推理正确性，恢复和转换另验，不以思考长度评价。",
  "language": "zh-Hans",
  "category": {
    "id": "c-18",
    "name": "模型微调",
    "url": "https://gpuatlas.top/categories/c-18/"
  },
  "topics": [
    {
      "id": "model-b64bc5faa8",
      "name": "DeepSeek R1",
      "kind": "model",
      "description": "完整版与蒸馏版的硬件需求不能混算。分别查看权重预算、多卡部署、量化运行及微调相关问题。",
      "url": "https://gpuatlas.top/topics/model-b64bc5faa8/"
    },
    {
      "id": "task-e33d9598da",
      "name": "微调",
      "kind": "task",
      "description": "让模型适应自己的任务，从训练方式、样本和显存预算入手，最后验证适配器是否真正起效。",
      "url": "https://gpuatlas.top/topics/task-e33d9598da/"
    }
  ],
  "body_text": "先匹配DeepSeek-R1-Distill-Qwen-7B基础修订、适配器权重和adapter_config.json。小检查点不是完整基础，分词器、模板与训练提示处理应配套，不能换其他R1版本后仍当同一条件。\n\n加载核模块、rank和缺失参数日志，确认适配器启用。基础量化或格式改变单独记录，先排加载路径问题，再判断训练质量，不凭一个文件能读取就宣布正确挂载。\n\n独立题目对比基础和加载后结果，保持提示、采样及输出预算一致，统计正确、错误、重复、截断和完整等待。思考变长不自动说明更好，训练loss下降也不能替代任务改善。\n\n保存后新进程恢复，完成日常复杂题并记录峰值。合并不是必须，方法与量化决定支持，某些再量化路径可能有误差，动态适配器与合并产物不能默认等价。\n\n转换后出现更多重复思考，可先让动态适配器重答原来的参考题：动态版本正常，就检查转换格式与模板；两者都重复，再回查训练样本和输出设置。原基础与适配器都应保留作对照。先找到重复从哪一阶段出现，比直接增加训练轮数更能解释这次微调的真实收益。",
  "published_at": null,
  "modified_at": "2026-11-26T15:17:38.690397+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "id": "r1-distill-7b",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B/raw/main/README.md",
      "retrieved_at": "2026-11-25T11:18:40.540160+00:00"
    },
    {
      "id": "r1-distill-7b-config",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B/resolve/main/config.json",
      "retrieved_at": "2026-11-25T11:18:40.540160+00:00"
    },
    {
      "id": "peft-checkpoint",
      "url": "https://raw.githubusercontent.com/huggingface/peft/main/docs/source/developer_guides/checkpoint.md",
      "retrieved_at": "2026-11-25T15:37:05.275551+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-06802b58c533/",
    "json": "https://gpuatlas.top/data/articles/T-06802b58c533.json",
    "markdown": "https://gpuatlas.top/data/articles/T-06802b58c533.md"
  }
}
