Lightning-AI / Lightning-AI/litgpt
how to solve this debug
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.5k
- Avg merge
- 15h 37m
- Merged PRs (30d)
- 1
Description
Hello, excuse me. When I follow the tutorial and use your script to convert the llama-2-7b-hf model, the following error always appears. I don’t know how to solve it.
[root@localhost RobustGER-master]# sh conv_model.sh
usage: convert_lit_checkpoint.py [-h] [--config CONFIG] [--print_config[=flags]]
--checkpoint_name CHECKPOINT_NAME --out_dir OUT_DIR
--model_name MODEL_NAME
error: Validation failed: No action for key "_name_or_path" to check its value.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by inspecting conv_model.sh and its invocation of convert_lit_checkpoint.py, then rerun it with the exact llama-2-7b-hf inputs from the tutorial. Compare the supplied arguments with the required options shown in the error and capture the model and configuration details; done requires a confirmed diagnosis or reproducible fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, shell
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100