Skip to main content
App version: 3.4.9

Tags

Tags help identify and organize your runs.

Adding tags to a new run

Pass a list or set of tags to the tags argument of the add_tags() function:

from neptune_scale import Run

run = Run(...)

run.add_tags(tags=["tag1", "tag2", "tag3"])

To add group tags instead of regular ones, set the group_tags argument to True:

run.add_tags(
tags=["seabirds"],
group_tags=True,
)

Adding tags later

Manage tags in the web interface

In the runs table, click inside the Tags column to edit the tags.

To edit tags in bulk, select multiple runs and click Manage tags in the toolbar.

Manage tags via API

Tags are stored in the sys/tags attribute, which is of type StringSet.

To add tags to an existing run, resume it first.

from neptune_scale import Run

run = Run(run_id="SomeExistingRunId", resume=True, ...)

Then, to add best to the list of tags:

run.add_tags(tags=["best"])
tip

You can also include emoji in tags:

run.add_tags(tags=["best 🏆"])

Removing tags

To remove tags from a run via API, pass them to the tags argument of the remove_tags() function:

from neptune_scale import Run

run = Run(run_id="SomeExistingRunId", resume=True, ...)
run.remove_tags(tags=["best"])