Polish README wording and flow
Browse files
README.md
CHANGED
|
@@ -19,8 +19,6 @@ inference: false
|
|
| 19 |
|
| 20 |
Glancelot is a tiny vision model that helps document pipelines decide which pages to send to more expensive layout analysis. Given a 224×224 page thumbnail, the 1.53M-parameter classifier produces a layout-routing score alongside predictions for eight structural categories, including tables, pictures, and formulas.
|
| 21 |
|
| 22 |
-
Glancelot helps pipelines skip unnecessary layout analysis.
|
| 23 |
-
|
| 24 |
## Model details
|
| 25 |
|
| 26 |
| Property | Value |
|
|
@@ -52,8 +50,6 @@ For each structural target at indices 0–7, the training label is 1 when [Heron
|
|
| 52 |
|
| 53 |
The ninth training target, `needs_layout_analysis`, is 1 when any of the first eight structural targets is 1, and 0 otherwise. Heron’s other labels (text, headers, footers, titles, lists, footnotes, and captions) do not contribute to Glancelot’s `needs_layout_analysis` training label.
|
| 54 |
|
| 55 |
-
The routing target represents structural presence as detected by Heron.
|
| 56 |
-
|
| 57 |
At inference, compute the routing score as `sigmoid(logits[:, 8])`. The ninth output is **a separately learned prediction**, not a combination of the eight structural predictions. Use the routing score with the `tau` threshold in `config.json` (currently `0.20900137722492218`). A score above `tau` flags the page for layout analysis. See [target definitions and training details](docs/TRAINING_AND_EVALUATION.md).
|
| 58 |
|
| 59 |
## Usage
|
|
|
|
| 19 |
|
| 20 |
Glancelot is a tiny vision model that helps document pipelines decide which pages to send to more expensive layout analysis. Given a 224×224 page thumbnail, the 1.53M-parameter classifier produces a layout-routing score alongside predictions for eight structural categories, including tables, pictures, and formulas.
|
| 21 |
|
|
|
|
|
|
|
| 22 |
## Model details
|
| 23 |
|
| 24 |
| Property | Value |
|
|
|
|
| 50 |
|
| 51 |
The ninth training target, `needs_layout_analysis`, is 1 when any of the first eight structural targets is 1, and 0 otherwise. Heron’s other labels (text, headers, footers, titles, lists, footnotes, and captions) do not contribute to Glancelot’s `needs_layout_analysis` training label.
|
| 52 |
|
|
|
|
|
|
|
| 53 |
At inference, compute the routing score as `sigmoid(logits[:, 8])`. The ninth output is **a separately learned prediction**, not a combination of the eight structural predictions. Use the routing score with the `tau` threshold in `config.json` (currently `0.20900137722492218`). A score above `tau` flags the page for layout analysis. See [target definitions and training details](docs/TRAINING_AND_EVALUATION.md).
|
| 54 |
|
| 55 |
## Usage
|