Downloads · 30 days
0
chansung/gpt4-alpaca-lora-7b
gpt4-alpaca-lora-7b is a text generation model from chansung. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This repository comes with LoRA checkpoint to make LLaMA into a chatbot like language model. The checkpoint is the output of instruction following fine-tuning process with the following settings on 8xA100(40G) DGX sys…
Downloads · 30 days
0
Access
Public
Updated Apr 11, 2023
Repo size
134 MB
Likes
33
Public
Click a slice to open those files.
.bin67.2 MB · 100%
From the Hugging Face model README
This repository comes with LoRA checkpoint to make LLaMA into a chatbot like language model. The checkpoint is the output of instruction following fine-tuning process with the following settings on 8xA100(40G) DGX system.
python finetune.py \
--base_model='decapoda-research/llama-7b-hf' \
--data_path='alpaca_data_gpt4.json' \
--num_epochs=10 \
--cutoff_len=512 \
--group_by_length \
--output_dir='./gpt4-alpaca-lora-7b' \
--lora_target_modules='[q_proj,k_proj,v_proj,o_proj]' \
--lora_r=16 \
--batch_size=... \
--micro_batch_size=...
You can find how the training went from W&B report here.