HumanSignal / HumanSignal/label-studio

Question: How can I update labels in bulk through the API?

Open
#8,472 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

Hi team,

I am working with a textual dataset that has already been labeled in Label Studio, and I would like to make some bulk updates. Before I begin writing custom scripts, I wanted to ask if the API supports the following:

Auto-attaching dual labels
In a dataset that requires dual labels, can I configure it so that whenever a particular label is applied (for example mouse), another label (for example rat) is automatically attached to the same phrase?

Bulk renaming labels
Is there a way to programmatically rename all instances of a label across a dataset? (for example change every instance of cat → dog)

Mass deleting a label
Can I remove a label entirely (for example delete all dog labels wherever they appear) and ideally generate a report of the affected records?

Thank you very much for your help and for all the work you do on this project.

@heidi-humansignal

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.