alt.freeweights.text / docling-layout-egret-xlarge
From: docling-project <huggingface.co/docling-project>Newsgroups: alt.freeweights.textSubject:

docling-layout-egret-xlarge

Date: 2026-11-15Commit: 23857d1Signed: 2DC28CC7B26A283B ✓

Model with 63M parameters. Safetensors weights, 251 MB in all. Published by docling-project under Apache-2.0.

63M params251MBdocling-layout-egret-xlargesafetensorspermissive
FactsParams63MSize251 MBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get docling-project/docling-layout-egret-xlarge
# manifest sha256 268e47c1d6f2… · 251 MB · 5 files
$ fw verify ./docling-layout-egret-xlarge docling-project/docling-layout-egret-xlarge
From sourceHosted (signed)docling-project/docling-layout-egret-xlargeLast check: 2026-11-15 02:48 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
251 MB
Weights
251 MB (safetensors)
Parameters
63M
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
5, each with a sha256
Publisher
docling-project
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commitโ†’You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:48 UTCpassed

Model card

From the publisher at commit 23857d1. Shown as plain text with links; images open at the publisher.

Document Layout Analysis "egret-xlarge"#

๐Ÿš€ egret-xlarge is a Document Layout Analysis Model used in the Docling project.

๐Ÿ“„ For an in-depth description of the model architecture, training datasets, and evaluation methodology, please refer to our technical report: "Advanced Layout Analysis Models for Docling", Nikolaos Livathinos et al., ๐Ÿ”— https://arxiv.org/abs/2509.11720

Inference code example#

Prerequisites:

pip install transformers Pillow torch requests

Prediction:

import requests
from transformers import (
    DFineForObjectDetection,
    RTDetrImageProcessor,
)
import torch
from PIL import Image


classes_map = {
    0: "Caption",
    1: "Footnote",
    2: "Formula",
    3: "List-item",
    4: "Page-footer",
    5: "Page-header",
    6: "Picture",
    7: "Section-header",
    8: "Table",
    9: "Text",
    10: "Title",
    11: "Document Index",
    12: "Code",
    13: "Checkbox-Selected",
    14: "Checkbox-Unselected",
    15: "Form",
    16: "Key-Value Region",
}
image_url = "https://huggingface.co/spaces/ds4sd/SmolDocling-256M-Demo/resolve/main/example_images/annual_rep_14.png"
model_name = "ds4sd/docling-layout-egret-xlarge"
threshold = 0.6

# Download the image
image = Image.open(requests.get(image_url, stream=True).raw)
image = image.convert("RGB")


# Initialize the model
image_processor = RTDetrImageProcessor.from_pretrained(model_name)
model = DFineForObjectDetection.from_pretrained(model_name)

# Run the prediction pipeline
inputs = image_processor(images=[image], return_tensors="pt")
with torch.no_grad():
    outputs = model(**inputs)
results = image_processor.post_process_object_detection(
    outputs,
    target_sizes=torch.tensor([image.size[::-1]]),
    threshold=threshold,
)

# Get the results
for result in results:
    for score, label_id, box in zip(
        result["scores"], result["labels"], result["boxes"]
    ):
        score = round(score.item(), 2)
        label = classes_map[label_id.item()]
        box = [round(i, 2) for i in box.tolist()]
        print(f"{label}:{score} {box}")

References#

@misc{livathinos2025advancedlayoutanalysismodels,
      title={advanced layout analysis models for docling},
      author={nikolaos livathinos and christoph auer and ahmed nassar and rafael teixeira de lima and maksym lysak and brown ebouky and cesar berrospi and michele dolfi and panagiotis vagenas and matteo omenetti and kasper dinkla and yusik kim and valery weber and lucas morin and ingmar meijer and viktor kuropiatnyk and tim strohmeyer and a. said gurbuz and peter w. j. staar},
      year={2025},
      eprint={2509.11720},
      archiveprefix={arxiv},
      primaryclass={cs.cv},
      url={https://arxiv.org/abs/2509.11720},
}

@techreport{Docling,
  author = {Deep Search Team},
  month = {8},
  title = {Docling Technical Report},
  url = {https://arxiv.org/abs/2408.09869v4},
  eprint = {2408.09869},
  doi = {10.48550/arXiv.2408.09869},
  version = {1.0.0},
  year = {2024}
}

Files

5 files ยท 251 MBWeights 251 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 5 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.13 KB4eaae9435ba00d1b7ca1fdb46464ebabc7829f9a3a6e63fb8d62d1f499e10a72
config.json4.22 KBb4a17dcf5b6cb23dda7879d948abb213cf188dba1e402939e850f3630f7050f0
model.safetensors251 MB2549a568dc9adb77b2e9283110ad62452382eb6fe3ee3570b70915128415a077
preprocessor_config.json444 Bcd38cd59999e7a95d68e487fbe5132df3d4e5c32a0836add57e6126ba0c4eaf1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
23857d1659 pinned now2026-11-15 02:48 UTC5 files ยท 251 MB

Use it

$ fw get docling-project/docling-layout-egret-xlarge
# manifest sha256 268e47c1d6f2… · 251 MB · 5 files
$ fw verify ./docling-layout-egret-xlarge docling-project/docling-layout-egret-xlarge
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/docling-project/docling-layout-egret-xlarge.json --dir ./docling-layout-egret-xlarge $ python3 fw.py verify ./docling-layout-egret-xlarge ./docling-project__docling-layout-egret-xlarge.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download docling-project/docling-layout-egret-xlarge --revision 23857d16596e0106716b3162d132212d733769e7 --local-dir ./docling-layout-egret-xlarge

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
4eaae9435ba00d1b7ca1fdb46464ebabc7829f9a3a6e63fb8d62d1f499e10a72
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: docling-project <huggingface.co/docling-project>Newsgroups: alt.freeweights.textSubject: docling-layout-egret-xlargeDate: 2026-11-15Commit: 23857d1Signed: 2DC28CC7B26A283B ✓
Upstream
docling-project/docling-layout-egret-xlarge
Pinned commit
23857d16596e0106716b3162d132212d733769e7
Manifest
docling-layout-egret-xlarge.json ยท .minisig
Manifest sha256
268e47c1d6f2208a6c14f85db5e08b595421b5c6a5843a3a9f73fed385914359
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:48 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/docling-project/docling-layout-egret-xlarge.json $ curl -O https://freeweights.allternit.com/manifests/docling-project/docling-layout-egret-xlarge.json.minisig $ minisign -Vm docling-layout-egret-xlarge.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download docling-project/docling-layout-egret-xlarge
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. docling-layout-egret-xlarge.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B