XTuner 微调个人小助手认知 步骤 3. 权重转换的问题
- Dominant language
- Python
- Stars
- 2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100