alt.freeweights.text / layoutlm-base-uncased
From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject:

layoutlm-base-uncased

Date: 2026-11-15Commit: 30e3cddSigned: 2DC28CC7B26A283B ✓

Model with 113M parameters. Safetensors weights, 1.36 GB in all. Published by microsoft under MIT.

113M params1.36GBlayoutlm-base-uncasedsafetensorspermissive
FactsParams113MSize1.36 GBFormatssafetensorsTasknot taggedLicenseMITFrom sourcepermissive
$ fw get microsoft/layoutlm-base-uncased
# manifest sha256 273adfcfda4a… · 1.36 GB · 11 files
$ fw verify ./layoutlm-base-uncased microsoft/layoutlm-base-uncased
From sourceHosted (signed)microsoft/layoutlm-base-uncasedLast check: 2026-11-15 02:29 UTC

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

Overview

Size
1.36 GB
Weights
451 MB (safetensors)
Parameters
113M
Formats
safetensors
Task
not tagged
License
MIT (permissive)
Files
11, each with a sha256
Publisher
microsoft
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:29 UTCpassed

Model card

From the publisher at commit 30e3cdd. Shown as plain text with links; images open at the publisher.

LayoutLM#

Multimodal (text + layout/format + image) pre-training for document AI

Microsoft Document AI | GitHub

Model description#

LayoutLM is a simple but effective pre-training method of text and layout for document image understanding and information extraction tasks, such as form understanding and receipt understanding. LayoutLM archives the SOTA results on multiple datasets. For more details, please refer to our paper:

LayoutLM: Pre-training of Text and Layout for Document Image Understanding Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou, KDD 2020

Training data#

We pre-train LayoutLM on IIT-CDIP Test Collection 1.0\* dataset with two settings.

  • LayoutLM-Base, Uncased (11M documents, 2 epochs): 12-layer, 768-hidden, 12-heads, 113M parameters (This Model)
  • LayoutLM-Large, Uncased (11M documents, 2 epochs): 24-layer, 1024-hidden, 16-heads, 343M parameters

Citation#

If you find LayoutLM useful in your research, please cite the following paper:

@misc{xu2019layoutlm,
    title={LayoutLM: Pre-training of Text and Layout for Document Image Understanding},
    author={Yiheng Xu and Minghao Li and Lei Cui and Shaohan Huang and Furu Wei and Ming Zhou},
    year={2019},
    eprint={1912.13318},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Files

11 files · 1.36 GBWeights 451 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes447 B61397a20a4ec8b598d53031367bea3a726768157b7dca31f786ecdf779be12dc
README.md1.54 KB153113f8175845034a8c630de567fed7144d7617eeb916eee00bef7121dea322
config.json606 B1695f8096347352167c18ae138557af5b8ec61927850fe54fc0da25c5e51c89d
model.safetensors451 MB12dc61379140da492da29b38b533cf1fd79e20adff5065a20651b4f7499cd922
pytorch_model.bin453 MB5124ee7a886d80fad60e357ce9f0686d088e157e07321c218252ac706b58f633
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h5451 MBe54f47c023b343229b82721fe095e4a2ef40a36aa03b3a48270a332086a7e754
tokenizer.json466 KBce64fce797c24f68df90b40a3f74f579b336a493db14bd583fd520ea0d8c9a98
tokenizer_config.json170 B08b41811e08f0a108b77cf917abaad7d8fd1237090d997c58dbf0c075e516138
training_args.bin1.38 KBca34845dbb6dfad761d6808888081e3fcef65f6ff80b4f31a4b4f517590cfdad
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
30e3cdd39c pinned now2026-11-15 02:29 UTC11 files · 1.36 GB

Use it

$ fw get microsoft/layoutlm-base-uncased
# manifest sha256 273adfcfda4a… · 1.36 GB · 11 files
$ fw verify ./layoutlm-base-uncased microsoft/layoutlm-base-uncased
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/layoutlm-base-uncased.json --dir ./layoutlm-base-uncased $ python3 fw.py verify ./layoutlm-base-uncased ./microsoft__layoutlm-base-uncased.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/layoutlm-base-uncased --revision 30e3cdd39c11f09757b0fcf7598533d05052acef --local-dir ./layoutlm-base-uncased

License

Name
MIT License
Id
MIT
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
153113f8175845034a8c630de567fed7144d7617eeb916eee00bef7121dea322
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: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject: layoutlm-base-uncasedDate: 2026-11-15Commit: 30e3cddSigned: 2DC28CC7B26A283B ✓
Upstream
microsoft/layoutlm-base-uncased
Pinned commit
30e3cdd39c11f09757b0fcf7598533d05052acef
Manifest
layoutlm-base-uncased.json · .minisig
Manifest sha256
273adfcfda4a26d7eb5641be5ae32f871f08333f3c3fbbce24d660dbb2a8a39e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:29 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/layoutlm-base-uncased.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/layoutlm-base-uncased.json.minisig $ minisign -Vm layoutlm-base-uncased.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 microsoft/layoutlm-base-uncased
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. layoutlm-base-uncased.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