more fixes and prep for llama training

This commit is contained in:
Wing Lian
2023-04-14 18:30:09 -04:00
parent f2a2029d0d
commit 949a27be21
3 changed files with 118 additions and 37 deletions

View File

@@ -13,22 +13,24 @@ datasets:
type: gpteacher
val_set_size: 0.05
adapter: lora
lora_model_dir:
sequence_len: 2048
lora_r: 8
lora_alpha: 32
lora_dropout: 0.05
lora_target_modules:
- query_key_value
# - xxx
lora_fan_in_fan_out: true # pythia/GPTNeoX lora specific
wandb_project: pythia-1.4b-lora
wandb_watch:
wandb_run_name:
wandb_log_model: checkpoint
output_dir: ./lora-alpaca
batch_size: 32
batch_size: 48
micro_batch_size: 4
num_epochs: 5
learning_rate: 0.0003
learning_rate: 0.00001
train_on_inputs: false
group_by_length: false
bf16: True