Sweeps updates - #2480
Sweeps updates#2480ngrayluna wants to merge 12 commits into
Conversation
Updated 2026-09-04 00:01:37 UTC for deployment · 31dd994. |
🔗 Link Checker Results✅ All links are valid! No broken links were detected. |
| 3. Read the YAML configuration file with a Python package such as yaml, and pass the configuration to `wandb.init()`. | ||
| 4. Pass the configuration object to the config parameter of `wandb.init()`. | ||
| 5. Retrieve the hyperparameter values from `wandb.Run.config` so that your script uses the values defined in the YAML file instead of hard-coded values. W&B flattens configuration values, so you can access nested values with dot notation or bracket notation as though they were top-level keys. | ||
| 6. Log the metric that you want to optimize with `wandb.Run.log()`. |
There was a problem hiding this comment.
Similarly, wandb.log() is more idiomatic now
There was a problem hiding this comment.
The SDK Team generally advises us to use wandb.Run.log() for a worry-free run management (i.e. no active, hanging runs) 🤔
Readability impactWord-weighted Flesch-Kincaid grade change across 2 changed pages: -0.2 (easier). Lower Flesch-Kincaid grade and higher reading ease both mean easier to read. This check is informational and never blocks a PR. Human readability
AI agent comprehensionRated 0-3 (higher is easier for an agent to parse and act on).
Curated-docs baseline median FK grade by type: conceptual 10.5, procedural 8.8, reference 9.4. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Description
Realized that Sweeps flattens YAML objects to make accessing values easier, however, it made debugging my script a pain. Updated docs to make this more clear