InternLM / InternLM/Tutorial

XTuner 微调个人小助手认知 步骤 3. 权重转换的问题

未关闭
#2,530 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/InternLM/Tutorial/blob/camp4/docs/L1/XTuner/README.md
执行xtuner convert pth_to_hf ./internlm2_5_chat_7b_qlora_alpaca_e3_copy.py ${pth_file} ./hf

会提示FileNotFoundError: Cannot find /root/finetune/work_dirs/assistTuner/iter_864.pth: 路径多了有个冒号
但是实际我们路径下的名称是/root/finetune/work_dirs/assistTuner/iter_864.pth

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with docs/L1/XTuner/README.md and the Step 3 weight-conversion command shown in the issue. Reproduce the command with the actual iter_864.pth path, then inspect how the path argument is formed; done means the conversion accepts the real checkpoint path without the extra colon and produces the hf output directory.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
machine-learning
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。