About LLM Annotation Tool

LLM Annotation Tool classifies texts with large language models. You define a set of labels, add the texts to classify, and one or more models assign labels to each text. You can then compare the models with each other, and with labels you've set yourself.

This web application is done as part of the demo paper submission.

How to use it

  1. Add texts. Type them in, or upload a JSON Lines file with one {"text": "..."} object per line.
  2. Add labels. Give each one a name, and optionally a description and an example; both are included in the instructions to the model.
  3. Choose models in Advanced Settings. Up to three can run side by side, each with its own batch size.
  4. Estimate, then annotate. The estimate shows the expected cost per model before anything is spent.
  5. Review the results in the Labels, Chart, Compare, Accuracy and Usage tabs, and export them as JSON.

To check a setup cheaply first, use Test run in Advanced Settings to annotate only some of the texts.

Measuring accuracy

Give some texts golden standard labels, the labels you know to be correct, by ticking them under each text or by adding a "labels" field in the uploaded file. The Accuracy tab then measures each model against them:

Measure What it means
Exact match Share of texts given exactly the truth labels
Precision Of the labels a model gave, the share that were correct
Recall Of the correct labels, the share the model gave
F1 Micro-average. cvombines precision and recall into one score
Macro F1 The average F1 across labels, so rare labels count as much as common ones
Cohen's kappa Agreement corrected for chance: 1 is perfect, 0 is no better than chance

Your data and API keys

About the project

LLM Annotation Tool is made by Dr Maxim Filimonov, Yuefeng Shi & Prof Jose Camacho Collados.

School of Computational and Mathematical Sciences, Cardiff University.

Please address all questions to Dr Maxim Filimonov