alt.freeweights.text / udop-large-512
From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject:

udop-large-512

Date: 2026-11-15Commit: 52d8a71Signed: 2DC28CC7B26A283B ✓

Image text to text model with 742M parameters. Safetensors weights, 2.97 GB in all. Published by microsoft under MIT.

742M params2.97GBudop-large-512safetensorspermissive
FactsParams742MSize2.97 GBFormatssafetensorsTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get microsoft/udop-large-512
# manifest sha256 69cc913206a8… · 2.97 GB · 11 files
$ fw verify ./udop-large-512 microsoft/udop-large-512
From sourceHosted (signed)microsoft/udop-large-512Last check: 2026-11-15 03:52 UTC

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

Works with

Overview

Size
2.97 GB
Weights
2.97 GB (safetensors)
Parameters
742M
Formats
safetensors
Task
image text to text
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 03:52 UTCpassed

Model card

From the publisher at commit 52d8a71. Shown as plain text with links; images open at the publisher.

UDOP model#

The UDOP model was proposed in Unifying Vision, Text, and Layout for Universal Document Processing by Zineng Tang, Ziyi Yang, Guoxin Wang, Yuwei Fang, Yang Liu, Chenguang Zhu, Michael Zeng, Cha Zhang, Mohit Bansal.

Model description#

UDOP adopts an encoder-decoder Transformer architecture based on T5 for document AI tasks like document image classification, document parsing and document visual question answering.

Intended uses & limitations#

You can use the model for document image classification, document parsing and document visual question answering (DocVQA).

How to use#

Here's how to use the model for one-shot semantic segmentation:

from transformers import AutoProcessor, UdopForConditionalGeneration
from datasets import load_dataset

# load model and processor
# in this case, we already have performed OCR ourselves
# so we initialize the processor with `apply_ocr=False`
processor = AutoProcessor.from_pretrained("microsoft/udop-large", apply_ocr=False)
model = UdopForConditionalGeneration.from_pretrained("microsoft/udop-large")

# load an example image, along with the words and coordinates
# which were extracted using an OCR engine
dataset = load_dataset("nielsr/funsd-layoutlmv3", split="train")
example = dataset[0]
image = example["image"]
words = example["tokens"]
boxes = example["bboxes"]
question = "Question answering. What is the date on the form?"

# prepare everything for the model
encoding = processor(image, question, words, boxes=boxes, return_tensors="pt")

# autoregressive generation
predicted_ids = model.generate(**encoding)
print(processor.batch_decode(predicted_ids, skip_special_tokens=True)[0])
9/30/92

Refer to the demo notebooks for fine-tuning/inference.

BibTeX entry and citation info#
@misc{tang2023unifying,
      title={Unifying Vision, Text, and Layout for Universal Document Processing}, 
      author={Zineng Tang and Ziyi Yang and Guoxin Wang and Yuwei Fang and Yang Liu and Chenguang Zhu and Michael Zeng and Cha Zhang and Mohit Bansal},
      year={2023},
      eprint={2212.02623},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}
Data Summary#

https://huggingface.co/microsoft/udop-large-512/blob/main/data_summary_card.md

Files

11 files · 2.97 GBWeights 2.97 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md2.45 KB19f2e472f121a9984efe92940dd2a3c79962be7f2151379ed6e4e0863980947b
added_tokens.json29.6 KBa8e816c540c0dfde9f3c545f4080e62b2b983c1c01b2d5d7ab290635b3e648b8
config.json907 B154f9a85b4f888a77ad579bad7045de702579f2bc85a10ec10034fff6c2dca67
data_summary_card.md4.45 KB27e2cc9bfb9f49142c823ea7657fcd2f4f9a1b49f590f27747d80dc06edc6e10
generation_config.json147 Bb144333b5cbcbd8f1d6331187d0f2efdbf5016cbb06fa9ae0df6008052e9605c
model.safetensors2.97 GB7f5659590e1edf9e9e419f3ef1163d2a2f3481c1da9fb4d83ecd0a090dac0f98
preprocessor_config.json759 B90ffe022a34c5a5ffbc84210d6ff5411dab27c0e86ba0ebd62fa2ff47a265ce8
special_tokens_map.json24.1 KB98488f5df9297d0f88a70800f933e1f4f777236a0b50fe974ab9b186710dd0be
spiece.model792 KBd60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
tokenizer_config.json238 KBe4aef5040cc70307fb321e2e78b3e875343d4afc7b010aed26dfc18571f9dc76
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
52d8a71646 pinned now2026-11-15 03:52 UTC11 files · 2.97 GB

Use it

$ fw get microsoft/udop-large-512
# manifest sha256 69cc913206a8… · 2.97 GB · 11 files
$ fw verify ./udop-large-512 microsoft/udop-large-512
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/udop-large-512.json --dir ./udop-large-512 $ python3 fw.py verify ./udop-large-512 ./microsoft__udop-large-512.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/udop-large-512 --revision 52d8a71646e36022ed7359022b58ca9c9cc41516 --local-dir ./udop-large-512
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("microsoft/udop-large-512", revision="52d8a71646e36022ed7359022b58ca9c9cc41516") model = AutoModelForImageTextToText.from_pretrained("microsoft/udop-large-512", revision="52d8a71646e36022ed7359022b58ca9c9cc41516", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve microsoft/udop-large-512 --revision 52d8a71646e36022ed7359022b58ca9c9cc41516

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
19f2e472f121a9984efe92940dd2a3c79962be7f2151379ed6e4e0863980947b
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: udop-large-512Date: 2026-11-15Commit: 52d8a71Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/udop-large-512
Pinned commit
52d8a71646e36022ed7359022b58ca9c9cc41516
Manifest
udop-large-512.json · .minisig
Manifest sha256
69cc913206a82ed22ad4c20cba298f9ae20a6c4e92792c1033416a9118285b1e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:52 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

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

Signed manifest
minisign, key 2DC28CC7B26A283B. udop-large-512.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