Review recipe: which examples does it show?

When using the prodigy.review recipe, which examples does it show on Prodigy?

Trying to enumerate…

  1. Examples that are solitary (no agreements / disagreements)
  2. Examples where their answer agree
  3. Examples where their answer disagree
  4. Examples where 2/3 agree, but 1/3 do not
  5. Examples where the answer agree, but span doesn’t (ner and/or ner_manual)
  6. Examples where answer is IGNORE

Hi – sorry if this wasn’t fully clear. There are essentially two scenarios:

1. Binary annotations

Here, we consider examples identical and part of the same review example if their _task_hash is identical. We consider different answers disagreements. For instance, you can collect multiple annotations about different entities in the same text and annotate accept / reject. In review mode, you’ll see each of those examples and the “accept” vs. “reject” decisions on them. “ignore” answers will always be filtered out.

2. Manual annotations

Here, we consider examples identical and part of the same review example if their _input_hash is identical. We consider different annotations (i.e. _task_hash values) disagreements. For instance, if annotations on the same text highlight different entities, you’ll see one example in review mode with all different variations below. The most common version (i.e. the one that has the most number of annotations), will be pre-highlighted. We do not merge anything together here – we consider each individual annotations its own version. “ignore” and “reject” answers will always be filtered out.

In general, the review interface should always show you all examples (e.g. if the answer was accept/reject for binary annotations, or accept for manual annotations). The goal is to give you a final corrected dataset with only one final version of each example that you can then train from etc. The different annotation versions from across the sessions are all preserved in a "versions" key btw – so you’ll always be able to trace the annotations back to the different versions they were based on.

2 Likes