gpt4all/gpt4all-training/configs/train/finetune_gptj.yaml

34 lines
530 B
YAML
Raw Normal View History

2023-04-04 20:53:23 +00:00
# model/tokenizer
model_name: "EleutherAI/gpt-j-6B"
tokenizer_name: "EleutherAI/gpt-j-6B"
gradient_checkpointing: true
2023-04-12 03:50:54 +00:00
save_name: # CHANGE
2023-04-04 20:53:23 +00:00
# dataset
streaming: false
num_proc: 64
2023-04-12 03:50:54 +00:00
dataset_path: # CHANGE
2023-04-04 20:53:23 +00:00
max_length: 1024
2023-04-10 02:14:20 +00:00
batch_size: 32
2023-04-04 20:53:23 +00:00
# train dynamics
2023-04-05 20:42:35 +00:00
lr: 2.0e-5
2023-04-04 20:53:23 +00:00
min_lr: 0
weight_decay: 0.0
2023-04-05 20:42:35 +00:00
eval_every: 500
2023-04-04 20:53:23 +00:00
eval_steps: 105
2023-04-05 20:42:35 +00:00
save_every: 500
2023-04-12 03:50:54 +00:00
log_grads_every: 100
output_dir: # CHANGE
2023-04-04 20:53:23 +00:00
checkpoint: null
lora: false
warmup_steps: 500
2023-04-07 20:54:29 +00:00
num_epochs: 2
2023-04-04 20:53:23 +00:00
# logging
wandb: true
2023-04-12 03:50:54 +00:00
wandb_entity: # CHANGE
wandb_project_name: # CHANGE
2023-04-04 20:53:23 +00:00
seed: 42