InternLM / InternLM/Tutorial

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

オープン
#2,530 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。