We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to convert a tencentpretrain llama model to huggingface? can u share the script? Thanks a lot!
The text was updated successfully, but these errors were encountered:
你有找到这个方法吗
Sorry, something went wrong.
去scripts/ 文件夹下找convert_tencentpretrain_to_llama.py,用这个转换。 python convert_tencentpretrain_to_llama.py --input_model_path 输入模型路径/input_model.bin --output_model_path 输出模型路径/pytorch_model.bin --layers_num 32 7B的模型层数是32
python convert_tencentpretrain_to_llama.py --input_model_path 输入模型路径/input_model.bin --output_model_path 输出模型路径/pytorch_model.bin --layers_num 32
https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/convert_llama_weights_to_hf.py
No branches or pull requests
How to convert a tencentpretrain llama model to huggingface? can u share the script?
Thanks a lot!
The text was updated successfully, but these errors were encountered: