Skip to content

Commit

Permalink
Move unused args to kwargs (huggingface#6694)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger authored and fabiocapsouza committed Nov 15, 2020
1 parent 9c6ab26 commit 031d1bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/transformers/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,6 @@ def hyperparameter_search(
hp_space: Optional[Callable[["optuna.Trial"], Dict[str, float]]] = None,
compute_objective: Optional[Callable[[Dict[str, float]], float]] = None,
n_trials: int = 20,
timeout: int = 1800,
n_jobs: int = 1,
direction: str = "minimize",
backend: Optional[Union["str", HPSearchBackend]] = None,
**kwargs
Expand Down

0 comments on commit 031d1bd

Please sign in to comment.