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 Zigur committed Oct 26, 2020
1 parent ae947b0 commit df59a73
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 df59a73

Please sign in to comment.