File size: 2,497 Bytes
64563dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
license: cc-by-4.0
task_categories:
  - object-detection
language: [en]
tags:
  - document-ai
  - form-field-detection
  - forms
size_categories:
  - 1K<n<10K
configs:
  - config_name: default
    data_files:
      - split: test
        path: data/test-*
---

# form-field-v1-benchmark

The evaluation set behind the **`form-field-v1`** form-field detectors and the
[leaderboard](https://huggingface.co/spaces/nutrientdocs/form-field-v1-leaderboard) — **5,914 form pages** with
**126,938 annotated fields** (`Text`, `Choice` = checkbox/radio, `Signature`), across three variants:

| variant | images | fields | notes |
|---|---|---|---|
| `empty` | 2,334 | 49,171 | blank forms |
| `filled` | 1,826 | 39,797 | digitally-typed values |
| `handwritten` | 1,754 | 37,970 | handwritten (ink) values |

A Nutrient dataset, released under **CC-BY-4.0**.

- 🎯 [Demo](https://huggingface.co/spaces/nutrientdocs/form-field-v1-demo) ·
  🏆 [Leaderboard](https://huggingface.co/spaces/nutrientdocs/form-field-v1-leaderboard)

## Columns
- `image` — the rendered page (RGB).
- `page_id` — stable id; ends in `_empty` / `_filled` / `_handwritten`.
- `variant``empty` | `filled` | `handwritten`.
- `width`, `height` — page pixel size.
- `fields` — list of `{ "box": [x, y, w, h], "category": "Text"|"ChoiceButton"|"Signature" }` (page pixels).
- `source`, `license_class` — provenance tags.

## Scoring

Detectors are scored with **COCO mAP50-95** (pycocotools, `maxDets [1,100,1000]`), reported overall and per
variant.

```python
# pip install datasets pycocotools
python score_detector.py your_predictions.json
# predictions: [{"image_id": page_id, "category_id": 1|2|3, "score": s, "bbox": [x,y,w,h]}]
```

Reference numbers (mAP50-95) on this set — the `form-field-v1` family: medium **0.529 / 0.783 / 0.764**,
small **0.456 / 0.716 / 0.680**, nano **0.353 / 0.560 / 0.526** (empty / filled / handwritten).

## License

**CC-BY-4.0.** Attribute to Nutrient. Empty pages are real blank forms; filled and handwritten values are
synthetic. No PII.

## About the author

<a href="https://nutrient.io/">
  <img src="https://avatars2.githubusercontent.com/u/1527679?v=3&s=200" height="80" />
</a>

This project is maintained and funded by [Nutrient](https://nutrient.io/) - The deterministic document infrastructure enterprises run their highest-stakes workflows on: replayable output, clear exceptions, and full audit trails on the messy, regulated documents where AI alone breaks.