[QUESTION]convert LLaMA2-7B to the Megatron format failed: the converted model only repeats meaningless numbers
When I converted the LLaMA2-7B model to the Megatron format, the program ran successfully and provided the converted model. However, the converted model cannot provide meaningful answers to questions and only repeats meaningless numbers. The original LLaMA2 model was able to respond to questions correctly. Below are the conversion script and the output log file. Is there any good way to solve this issue?
Marking as stale. No activity in 60 days.
Since you posted this, NVIDIA has released Megatron Bridge, which is now the recommended solution for bidirectional conversion between Hugging Face and Megatron checkpoints.
I'd recommend trying Megatron Bridge for your LLaMA2-7B conversion instead of the older conversion scripts. It should resolve the issues you were experiencing with the converted model producing meaningless outputs.
Please feel free to open new issues with Megatron Bridge.