generated_from_trainer

Chinese-Llama-2-LoRA-7B

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/.

Training hyperparameters

The following hyperparameters were used during training:

How to Use

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

Framework versions