Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Mar 6, 2024
1 parent 701647b commit e59c13e
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 38 deletions.
37 changes: 0 additions & 37 deletions config_hub/finetune/llama-2-7b/full-deita.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data:
file_url: https://raw.githubusercontent.com/Instruction-Tuning-with-GPT-4/GPT-4-LLM/main/data/alpaca_gpt4_data.json
file_name: alpacagpt4_data_cleaned_archive.json
checkpoint_dir: checkpoints/meta-llama/Llama-2-7b-hf
out_dir: out/finetune/full-llama2-7b-alpaca
out_dir: out/finetune/full-llama2-7b
train:
save_interval: 200
log_interval: 1
Expand Down
47 changes: 47 additions & 0 deletions config_hub/finetune/llama-2-7b/lora.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
precision: bf16-true
quantize: null
devices: 1
seed: 1337
lora_r: 32
lora_alpha: 16
lora_dropout: 0.05
lora_query: true
lora_key: false
lora_value: true
lora_projection: false
lora_mlp: false
lora_head: false
data:
class_path: lit_gpt.data.AlpacaGPT4
init_args:
mask_prompt: false
test_split_fraction: 0.03847
ignore_index: -1
seed: 42
num_workers: 4
download_dir: data/alpacagpt4
file_url: https://raw.githubusercontent.com/Instruction-Tuning-with-GPT-4/GPT-4-LLM/main/data/alpaca_gpt4_data.json
file_name: alpacagpt4_data_cleaned_archive.json
checkpoint_dir: checkpoints/meta-llama/Llama-2-7b-hf
out_dir: out/finetune/lora-llama2-7b
train:
save_interval: 200
log_interval: 1
global_batch_size: 8
micro_batch_size: 2
lr_warmup_steps: 10
epochs: 1
max_tokens: null
max_steps: null
max_seq_length: 512
tie_embeddings: null
learning_rate: 0.0002
weight_decay: 0.0
beta1: 0.9
beta2: 0.95
max_norm: null
min_lr: 6.0e-05
eval:
interval: 100
max_new_tokens: 100
max_iters: 100

0 comments on commit e59c13e

Please sign in to comment.