Skip to content

Commit

Permalink
Fix typo (huggingface#35854)
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverSoldier authored and elvircrn committed Feb 13, 2025
1 parent 9740500 commit a038741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/trainer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def default_hp_space_ray(trial) -> Dict[str, float]:

def default_hp_space_sigopt(trial):
return [
{"bounds": {"min": 1e-6, "max": 1e-4}, "name": "learning_rate", "type": "double", "transformamtion": "log"},
{"bounds": {"min": 1e-6, "max": 1e-4}, "name": "learning_rate", "type": "double", "transformation": "log"},
{"bounds": {"min": 1, "max": 6}, "name": "num_train_epochs", "type": "int"},
{"bounds": {"min": 1, "max": 40}, "name": "seed", "type": "int"},
{
Expand Down

0 comments on commit a038741

Please sign in to comment.