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

udop-large-512-300k

Date: 2026-11-15Commit: 29a7f24Signed: 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-512-300ksafetensorspermissive
FactsParams742MSize2.97 GBFormatssafetensorsTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get microsoft/udop-large-512-300k
# manifest sha256 dfacdad43a29… · 2.97 GB · 11 files
$ fw verify ./udop-large-512-300k microsoft/udop-large-512-300k
From sourceHosted (signed)microsoft/udop-large-512-300kLast check: 2026-11-15 03:50 UTC

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

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInferKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowdocTRDSPyEasyOCREnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonolmOCROpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsSuryaVaneXGrammar

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:50 UTCpassed

Model card

From the publisher at commit 29a7f24. 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 on a document image:

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-300k/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.44 KBb187c3fe089128ae294f8a37b4f35b94894c260578bba82ad45a709ae6132a4b
added_tokens.json29.6 KBa8e816c540c0dfde9f3c545f4080e62b2b983c1c01b2d5d7ab290635b3e648b8
config.json907 B154f9a85b4f888a77ad579bad7045de702579f2bc85a10ec10034fff6c2dca67
data_summary_card.md4.45 KB27e2cc9bfb9f49142c823ea7657fcd2f4f9a1b49f590f27747d80dc06edc6e10
generation_config.json147 Bb144333b5cbcbd8f1d6331187d0f2efdbf5016cbb06fa9ae0df6008052e9605c
model.safetensors2.97 GB03a485ae0642e44d9d1eadd3d20fe27499da672ee01f316abcff74304667449c
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
29a7f2476d pinned now2026-11-15 03:50 UTC11 files · 2.97 GB

Use it

$ fw get microsoft/udop-large-512-300k
# manifest sha256 dfacdad43a29… · 2.97 GB · 11 files
$ fw verify ./udop-large-512-300k microsoft/udop-large-512-300k
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-300k.json --dir ./udop-large-512-300k $ python3 fw.py verify ./udop-large-512-300k ./microsoft__udop-large-512-300k.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/udop-large-512-300k --revision 29a7f2476db8304951a10836b045d71e53eaef05 --local-dir ./udop-large-512-300k
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-300k", revision="29a7f2476db8304951a10836b045d71e53eaef05") model = AutoModelForImageTextToText.from_pretrained("microsoft/udop-large-512-300k", revision="29a7f2476db8304951a10836b045d71e53eaef05", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve microsoft/udop-large-512-300k --revision 29a7f2476db8304951a10836b045d71e53eaef05

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
b187c3fe089128ae294f8a37b4f35b94894c260578bba82ad45a709ae6132a4b
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-512-300kDate: 2026-11-15Commit: 29a7f24Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/udop-large-512-300k
Pinned commit
29a7f2476db8304951a10836b045d71e53eaef05
Manifest
udop-large-512-300k.json · .minisig
Manifest sha256
dfacdad43a298bc249a211b54334c3cf3466043d0dc3bbdad0f57f3b67cadd81
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:50 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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