burtenshaw HF Staff commited on
Commit
4ecc585
·
verified ·
1 Parent(s): a8e08e2

Upload train.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. train.py +1 -1
train.py CHANGED
@@ -66,7 +66,7 @@ output_dir = "./output/sft-model"
66
  num_train_epochs = 1
67
  per_device_train_batch_size = 1
68
  gradient_accumulation_steps = 1
69
- learning_rate = 2e-4 if use_peft else 2e-5 # Higher learning rate for PEFT
70
 
71
  """## Load model and tokenizer"""
72
 
 
66
  num_train_epochs = 1
67
  per_device_train_batch_size = 1
68
  gradient_accumulation_steps = 1
69
+ learning_rate = 2e-4
70
 
71
  """## Load model and tokenizer"""
72