Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,16 @@ The following hyperparameters were used during training:
|
|
25 |
- lr_scheduler_warmup_ratio: 0.03
|
26 |
- num_epochs: 3.0
|
27 |
|
28 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
|
31 |
|
|
|
25 |
- lr_scheduler_warmup_ratio: 0.03
|
26 |
- num_epochs: 3.0
|
27 |
|
28 |
+
### How to Use
|
29 |
+
|
30 |
+
Download the lora model weight in your project path
|
31 |
+
|
32 |
+
python3 inference_lora.py --model-name-or-path <your_proj_path>/llama2-7b \
|
33 |
+
--lora-weights <your_proj_path>/Chinese-Llama-2-LoRA-7B/adapter_model \
|
34 |
+
-t 0.7 \
|
35 |
+
-sa 'sample' \
|
36 |
+
-i test/test_case.txt \
|
37 |
+
-o test/test_case.general-task.txt
|
38 |
|
39 |
|
40 |
|