Downloads · 30 days
0
wxjiao/ParroT-Hint-7b-lora
ParroT-Hint-7b-lora is a machine learning model from wxjiao. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
0
Access
Public
Updated Jun 16, 2023
Repo size
8.4 MB
Likes
0
Public
Click a slice to open those files.
.bin8.4 MB · 100%
From the Hugging Face model README
The LoRA version of ParroT-Hint-7b based on llama-7b.
Inference based on the LoRA weights looks as below. You may refer to the GitHub project for more details.
# Translation
python3 inference_lora.py --model-name-or-path <your_proj_path>/llama-7b \
--lora-weights <your_proj_path>/ParroT-Hint-7b-lora/adapter_model \
-lp 'zh-en' \
-t 0.1 \
-sa 'beam' \
-ins test/instruct_inf.txt \
-i test/test_rand_50.zh.txt \
-o test/test_rand_50.zh-en.none-hint.txt
# Text generation
python3 inference_lora.py --model-name-or-path <your_proj_path>/llama-7b \
--lora-weights <your_proj_path>/ParroT-Hint-7b-lora/adapter_model \
-t 0.7 \
-sa 'sample' \
-i test/test_case.txt \
-o test/test_case.general-task.txt
The following hyperparameters were used during training: