FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Tools

The people who know the right answer can't open a notebook

Open-source Label Studio runs from one Docker container, letting compliance officers and doctors build the golden set without data leaving the client's infrastructure.

ShareLinkedInFacebookX

In brief

  • Label Studio is HumanSignal's open-source platform for data labeling, AI evaluation and human-in-the-loop work, and it runs with a single docker run command.
  • A golden set workflow runs from template to two annotators, disagreement review, settled ground truth and an eval hookup; some of those steps need a paid edition.
  • For an FDE, the biggest payoff is an interface simple enough for the client's domain experts to label data themselves, without going through engineers.
Horizontal bar split across 200 emails: 170 emails given the same label by two experts (grey) and 30 emails with conflicting labels (orange). A callout points to the 30 disagreements: review each case and fix the labelling guidelines.
Based on the hypothetical example in the article: of 200 emails, two experts labelling independently agree on 170 and disagree on 30. Those 30 cases reveal which label definitions remain ambiguous. Source: illustrative example in the article (an email assistant for an insurer).

On a client AI project, the person who knows the right answer is almost never the person writing the code. Usually it is a compliance officer, a doctor or a customer support shift lead. They cannot open a notebook, and they should not have to.

If you want them to sit down and label two hundred samples, you need to hand them an interface that is easy enough to use. That is the gap Label Studio was built to fill: HumanSignal describes it as an open-source platform for data labeling, AI evaluation and human-in-the-loop workflows.

For an FDE, the fact that the tool is open source and runs from a container has practical consequences. You can stand it up on a machine inside the client’s infrastructure, so sensitive data does not necessarily have to leave.

The job FDEs most often use it for is building a golden set: a collection of samples whose answers have been confirmed by experts. Both evals and any later fine-tuning depend on it.

When do you need it?

The clearest sign is when client meetings start circling around “is this model answer right or wrong?” and nobody can agree. At that point a better model will not help; what is missing is a set of answers signed off by people who know the domain.

HumanSignal’s documentation warns that without reviewing the quality of labeled data, weak labels can slip into model training. For evals the cost is higher still: you end up scoring the model against a faulty yardstick without knowing it.

Label Studio can also connect to ML models, both so a model can suggest labels for humans to review and so the model can be evaluated. The same instance can therefore follow you from building the data through to scoring.

A golden set in one afternoon

Take a hypothetical project: an email reply assistant for an insurer’s support team. The goal for the afternoon is 200 real emails, each with an intent label that the team lead agrees is correct.

Step one: start the server. The official installation docs and the image page on Docker Hub both give the same docker run command. Split across lines for readability, it looks like this:

docker run -it \
  -v $(pwd)/golden-set:/label-studio/data \
  -p 8080:8080 \
  heartexlabs/label-studio:latest

The command exposes port 8080 and mounts a local folder at /label-studio/data, so the data survives when the container stops. The docs name the folder mydata; here it is renamed golden-set to make it easier to recognize. If you are not using Docker, you can install it with pip install label-studio.

Step two: create the project and the interface. Open localhost:8080, create an account and log in. All labeling happens inside a project, so create one first.

When you configure the project, you can pick a ready-made template as a starting point and then adapt it. Take the text classification template and replace the label list with intents named by the team lead. Use the client’s vocabulary, never the engineers’.

Step three: two experts label independently on the same 200 emails. The docs note that clusters of tasks with low agreement can indicate that the tasks are confusing, and that agreement between annotators can be used to settle ground truth.

A caveat: setting the number of annotators per sample (overlap) is only available in the paid editions. On Community, create two projects with the same data, have each expert work in one, then compare the two sets of labels with a script.

Say 170 emails get the same label from both people and 30 do not. Those 30 disagreements are the most valuable thing you collect all day, because they show where the label definitions are still ambiguous.

Step four: review the disagreements, then settle ground truth. Sit with both experts, go through each case, revise the guidelines, and only then mark the final answer. One revised guideline line might read: “An email that both asks about fees and demands cancellation: label it Cancel policy, because that is what has to be handled first.”

Marking an annotation as part of the ground truth set is also a paid feature. On Community, record the settled answers in the comparison script from step three, so that file becomes the source of truth instead of the interface.

Step five: connect to evals. From the first few samples, write a small script that converts the labeling output into the format your eval suite reads; do not leave it to the end. The simplest approach is a JSONL file in which each line keeps only three fields: the task ID, the content and the gold label.

{"task_id": 17, "text": "I want to cancel my policy, and why did my premium go up this month?", "gold_label": "Cancel policy"}
{"task_id": 18, "text": "Could you tell me when my next premium payment is due?", "gold_label": "Premium question"}

When the eval runs, the script only needs to give the model the text, compare its answer with gold_label, and keep task_id to trace back to the right email in Label Studio. Keeping task_id means you can reopen any case the model got wrong right in front of the expert.

Which limits should you tell the client about up front?

The biggest limit is the edition. According to Label Studio’s edition comparison page, overlap, reviewer assignment and ground truth marking all belong to the paid editions; the guide to measuring inter-annotator agreement also states that it requires a paid product.

The workaround with two projects and a script still works, but make that clear to the client before you promise a workflow.

The next limit: each task can have only one annotation set as ground truth. If an email has two equally acceptable readings, you are forced to pick one, so decide in advance whether you will score by exact match or by rubric.

High agreement is a signal, nothing more. Two people trained the same way can still be wrong in the same way, so never report the agreement figure as if it were accuracy.

The last trap is pre-labeling. Having a model suggest labels for people to review saves time on training data. But for a golden set used to score that same model, reviewers are easily led by the model’s suggestions, so have experts label from scratch, at least for the eval set.

What to learn first, and what to put on your CV

Learn to write labeling guidelines before you learn the configuration syntax: definitions for each label, examples at the boundaries, and rules for the hard cases. The tool only records the experts’ judgment; the guidelines are what shape it.

Then practice the full loop: stand up an instance, adapt a template, label with two people, review the disagreements and feed the results into an eval script. Knowing exactly how far the Community edition goes is a skill in itself, because it determines what you promise the client.

When writing a CV or interviewing for an FDE role, a line such as “built a labeling workflow with two client experts, 200 samples, raised agreement after two rounds of guideline revisions” shows you know how to turn domain knowledge into measurable data. In job descriptions, watch for phrases such as “golden dataset”, “human evaluation” and “annotation workflow”.

The model will be replaced several times over the life of a project. A golden set signed off by the client’s own experts stays useful through every one of those changes.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
9 sources
Read next on the roadmap · Stage 2: Broad engineeringOAuth takes an afternoon. Keeping connectors alive is the hard partNango says 16% of commits to its provider configurations are bug fixes, a useful yardstick for deciding when to hand off the integration layer and when to build it.