Downloads · 30 days
0
0% of all-time downloads
seeledu/Chinese-Llama-2-LoRA-7B
Chinese-Llama-2-LoRA-7B is a machine learning model from seeledu. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
The LoRA version of Chinese-Llama-2 base on Llama-2-7b-hf.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
2
Public
Repo size
16.8 MB
Likes
4
Public
Click a slice to open those files.
.bin8.4 MB · 100%
From the Hugging Face model README
The LoRA version of Chinese-Llama-2 base on Llama-2-7b-hf.
The Github homepage is here:https://github.com/longyuewangdcu/Chinese-Llama-2/.
The following hyperparameters were used during training:
Download the lora model weight in your project path
python3 inference_lora.py --model-name-or-path <your_proj_path>/llama2-7b
--lora-weights <your_proj_path>/Chinese-Llama-2-LoRA-7B/adapter_model
-t 0.7
-sa 'sample'
-i test/test_case.txt
-o test/test_case.general-task.txt