Skip to content

Confused about the setup of HPARAMS #611

Closed Answered by priyakasimbeg
Vaibhavdixit02 asked this question in Q&A
Discussion options

You must be logged in to vote

I see you override the hyperparameters with a regular dict here https://github.com/Vaibhavdixit02/algorithmic-efficiency/blob/sophiaalg/baselines/sophia/jax/submission.py#L29C1-L37C2. Your code is throwing an error because you can't index in to a regular dict by using the keys as attributes.
The code you are using assumes hparams is of type configdict parsed from the .json tuning_search_space file.
Ideally you would set the feasible points in https://github.com/Vaibhavdixit02/algorithmic-efficiency/blob/sophiaalg/baselines/sophia/tuning_search_space.json. If you'd like to specify a single point for each hparam you just set 'feasible_points' to a list containing that single point.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Vaibhavdixit02
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants