Start building in Strikes
dreadnode
package installed (see installation). You can authenticate to a platform using the CLI, which is the recommended way to get started.
with dreadnode.run(...)
.dreadnode.*
functions anywhere in your code, and you don’t have to worry about keeping track of your active run or task. Everything just works. Here is a shortlist of the most common functions you’ll use:
log_param()
: Track simple key/values to keep track of hyperparameters, target models, or agent configs.log_metric()
: Report measurements you take anywhere in your code.log_input()
: Save any runtime object which is the x
to your f(x)
like prompts, datasets, samples, or target resources.log_output()
: Save any runtime object which is the result of your work like findings, commands, reports, or raw model outputs.log_artifact()
: Upload any local files or directories like your source code, container configs, datasets, or models.to=...
to any of these methods.
if
statement, and think “I want to track if/when I get here”. It’s easy to add a dreadnode.log_metric(...)
right there and see it later in your data.asyncio.run(...)
.Inside Jupyter notebooks, you can use await
directly in the cells, but if you’re using a script, you need to call asyncio.run(...)
to execute your async code.