Hectiq Lab

Tags

Tags label runs, datasets and models. A tag belongs to a project, and a project has one tag of each name.

A tag can name the ticket a run serves, such as ENG-42. Then hlab run list --tag ENG-42 --json lists every run made for the ticket, each with its url to cite.

Create a tag

import hectiqlab as hl

hl.tags.create("baseline", color="#4f46e5")

Without a color, the web app picks one. You rarely need to create a tag: tagging a run, a dataset or a model creates the missing ones.

List tags

tags = hl.tags.list().unwrap()

Tag something

To tagPythonCLI
A runhl.runs.tag("best", run=42)hlab run tag 42 best
A datasethl.datasets.tag(id, "best")hlab dataset tag interactions best
A modelhl.models.tag(id, "best")hlab model tag two-tower best

A run can also be tagged as it opens: hl.run("...", tags=["ENG-42"]).

On this page