Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for tensor2tensor ranged_hparams #241

Open
cwbeitel opened this issue Nov 11, 2018 · 2 comments
Open

Support for tensor2tensor ranged_hparams #241

cwbeitel opened this issue Nov 11, 2018 · 2 comments

Comments

@cwbeitel
Copy link

Tensor2tensor is an increasingly popular ML research framework built on top of tensorflow that has built-in support for ranged hparams, e.g.

@registry.register_ranged_hparams
def rlmb_grid(rhp):
  """Grid over games and frames, and 5 runs each for variance."""
  rhp.set_categorical("loop.game", ["breakout", "pong", "freeway"])
  base = 100000
  medium = base // 2
  small = medium // 2
  rhp.set_discrete("loop.num_real_env_frames", [base, medium, small])

  # Dummy parameter to get 5 runs for each configuration
  rhp.set_discrete("model.moe_loss_coef", list(range(5)))

also here.

In #240 it was proposed to add a python interface to launching katib jobs which would include providing a means of specifying hparam ranges (one rough method was proposed). For those using katib to tune tensor2tensor models (not everyone), the user experience for this could stay closer to that of using tensor2tensor normally (outside of tuning) if katib supported ranged_hparams as above as a way of specifying the space over which katib should tune.

Related to kubeflow/examples#322

/cc @jlewi @texasmichelle

@stale
Copy link

stale bot commented Nov 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@andreyvelich
Copy link
Member

/lifecycle frozen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants