Views
No views yet
1python finetune.py \
2 --base_model='elinas/llama-65b-hf-transformers-4.29' \
3 --data_path='alpaca_data.json' \
4 --num_epochs=10 \
5 --cutoff_len=1024 \
6 --group_by_length \
7 --output_dir='./lora-alpaca-65b-elinas' \
8 --lora_target_modules='[q_proj,k_proj,v_proj,o_proj]' \
9 --lora_r=16 \
10 --lora_alpha=32 \
11 --batch_size=1024 \
12 --micro_batch_size=15transformers >= 4.29 which should be installed with the following command currently(4/30/2023).pip install git+https://github.com/huggingface/transformers.git