Downloads · 30 days
0
ElShaddollRaven/GuwenLLAMA
GuwenLLAMA is a text generation model from ElShaddollRaven. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
1. 获取Chinese-LLaMA-Alpaca的基座模型 - 首先,获得Chinese-LLaMA-Alpaca的GitHub页面上的基座模型。 - 我们的GuwenLLAMA基于Chinese-Alpaca-Pro-1python scripts/mergellamawithchineselora.py --basemodel Chinese-Alpaca-Pro-13B --loramodel lorafromthispa…
Downloads · 30 days
0
Access
Public
Updated Aug 20, 2023
Repo size
1.9 GB
Likes
0
Public
Click a slice to open those files.
.pt1.3 GB · 67%
From the Hugging Face model README
获取Chinese-LLaMA-Alpaca的基座模型
Chinese-LLaMA-Plus-13B和Chinese-Alpaca-Pro-13B这两个模型。python scripts/merge_llama_with_chinese_lora.py \
--base_model 原生LLaMA-13B \
--lora_model Chinese-LLaMA-Plus-13B , Chinese-Alpaca-Pro-13B \
--output_type huggingface \
--output_dir path_to_output_dir
通过上述步骤,您已经获得了Chinese-Alpaca-Pro-13B模型,这就是我们任务所使用的基座模型。
接下来,需要将GuwenLLAMA的LoRA模型与Chinese-Alpaca-Pro-13B合并。
python scripts/merge_llama_with_chinese_lora.py
--base_model Chinese-Alpaca-Pro-13B
--lora_model lora_from_this_page
--output_type huggingface
--output_dir path_to_output_dir
通过这一步,您就获得了可使用的GuwenLLAMA模型。