LogosAccessibleExpression commited on
Commit
8499c45
·
verified ·
1 Parent(s): c2b9c34

fix: LR range 1e-5 to 2e-4 matching Colab

Browse files
Files changed (1) hide show
  1. train_hf_jobs.py +1 -1
train_hf_jobs.py CHANGED
@@ -417,7 +417,7 @@ def main():
417
  r = trial.suggest_categorical("r", [8, 16, 32])
418
  lora_alpha = r * 2
419
  lora_dropout = trial.suggest_categorical("lora_dropout", [0.0, 0.05, 0.1])
420
- lr = trial.suggest_float("learning_rate", 5e-5, 5e-4, log=True)
421
  modules_key = trial.suggest_categorical("target_modules", ["minimal", "attention", "full"])
422
  warmup_steps = trial.suggest_categorical("warmup_steps", [0, 25, 50])
423
  weight_decay = trial.suggest_categorical("weight_decay", [0.0, 0.01, 0.1])
 
417
  r = trial.suggest_categorical("r", [8, 16, 32])
418
  lora_alpha = r * 2
419
  lora_dropout = trial.suggest_categorical("lora_dropout", [0.0, 0.05, 0.1])
420
+ lr = trial.suggest_float("learning_rate", 1e-5, 2e-4, log=True)
421
  modules_key = trial.suggest_categorical("target_modules", ["minimal", "attention", "full"])
422
  warmup_steps = trial.suggest_categorical("warmup_steps", [0, 25, 50])
423
  weight_decay = trial.suggest_categorical("weight_decay", [0.0, 0.01, 0.1])