dborrelli/chat-intents

How can I use all CPUs when tuning hyperparams

Opened this issue · 0 comments

@dborrelli When I specify a value for the "random_state" parameter in the "bayesian_search," I receive the following warning: "UserWarning: n_jobs value -1 overridden to 1 by setting random_state. Use no seed for parallelism. warn(f"n_jobs value {self.n_jobs} overridden to 1 by setting random_state. Use no seed for parallelism.")

Hyper Param tuning is taking significant amount of time.I want to use the 'random_state' parameter to ensure reproducibility, while also setting 'n_jobs' to -1 to enable parallel processing. What's the best way to achieve this?"