InternLM / InternLM/Tutorial

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

Aperta
#2,530 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
machine-learning
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.