赞
踩
原创github地址https://github.com/chenyujiehome/finetune_llama2_huggingface_format/tree/master
欢迎star
pip install -r requirements.txt
#pip安装环境
conda -n finetune python=3.11
#conda 创建环境
pip install git+https://github.com/huggingface/transformers
pip install -e ./llama
#安装model
python convert_llama_weights_to_hf.py --input_dir ./llama/llama-2-7b --model_size 7B --output_dir models_hf/7B
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。