SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.05126 · 2023

UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.05126.json · badge: /api/ran/2310.05126.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
lukeforeveryoung/ureader canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
batchify Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/pipeline/utils.py
code served (permissive licence) · get_code("d05ffe7e5265888d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct a batch of data samples
batch_size = 2
seq_max_length = 10
num_patches = 3
patch_dim = 4
image_dim = 5

# Sample 1: with image
image_1 = torch.randn(2, image_dim)  # 2 images, each with dimension 5
patch_positions_1 = torch.randint(0, 10, (2, patch_dim))  # 2 patches with position info

text_1_input_ids = torch.randint(0, 100, (seq_max_length,))
text_1_non_padding_mask = torch.ones(seq_max_length - 1, dtype=torch.long)
text_1_non_media_mask = torch.ones(seq_max_length - 1, dtype=torch.long)
text_1_prompt_mask = torch.zeros(seq_max_length - 1, dtype=torch.long)
text_1_prompt_length = np.array(3, dtype=np.int64)
text_1_seq_length = np.array(seq_max_length, dtype=np.int64)

sample_1 = {
    'image': image_1,
    'patch_positions': patch_positions_1,
    'text': {
        'input_ids': text_1_input_ids.tolist(),
        'non_padding_mask': text_1_non_padding_mask.tolist(),
        'non_media_mask': text_1_non_media_mask.tolist(),
        'prompt_mask': text_1_prompt_mask.tolist(),
        'prompt_length': text_1_prompt_length,
        'seq_length': text_1_seq_length,
    }
}

# Sample 2: with image
image_2 = torch.randn(1, image_dim)  # 1 image
patch_positions_2 = torch.randint(0, 10, (1, patch_dim))  # 1 patch

text_2_input_ids = torch.randint(0, 100, (seq_max_length,))
text_2_non_padding_mask = torch.ones(seq_max_length - 1, dtype=torch.long)
text_2_non_media_mask = torch.ones(seq_max_length - 1, dtype=torch.long)
text_2_prompt_mask = torch.zeros(seq_max_length - 1, dtype=torch.long)
text_2_prompt_length = np.array(2, dtype=np.int64)
text_2_seq_length = np.array(seq_max_length, dtype=np.int64)

sample_2 = {
    'image': image_2,
    'patch_positions': patch_positions_2,
    'text': {
        'input_ids': text_2_input_ids.tolist(),
        'non_padding_mask': text_2_non_padding_mask.tolist(),
        'non_media_mask': text_2_non_media_mask.tolist(),
        'prompt_mask': text_2_prompt_mask.tolist(),
        'prompt_length': text_2_prompt_length,
        'seq_length': text_2_seq_length,
    }
}

batch = [sample_1, sample_2]

ARGS = {
    'batch': batch,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
collate_fn Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/pipeline/evaluation.py
code served (permissive licence) · get_code("649f50025297c2b9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The collate_fn function takes batches as input and returns them as-is.
# We need to construct a list of batch items. A typical batch item in PyTorch
# data loaders is a tuple of (input, target) or similar.

# Create some sample batch items - using small tensors
batch_item_1 = (torch.randn(2, 4), torch.tensor([0, 1]))
batch_item_2 = (torch.randn(2, 4), torch.tensor([1, 0]))
batch_item_3 = (torch.randn(2, 4), torch.tensor([0, 0]))

batches = [batch_item_1, batch_item_2, batch_item_3]

ARGS = {
    "batches": batches
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
detokenize_generations Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lukeforeveryoung/ureader/mplug_owl/processing_mplug_owl.py
code served (permissive licence) · get_code("45711ccd8932d38a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

class MockTokenizer:
    """Stand-in tokenizer with detokenize method."""
    def detokenize(self, tokens):
        return " ".join([f"token_{t}" for t in tokens])

class MockTokenizerWithDecoder:
    """Stand-in tokenizer with nested tokenizer and decoder."""
    def __init__(self):
        self.tokenizer = self
        self.decoder = {0: 'h', 1: 'e', 2: 'l', 3: 'o'}
        self.byte_decoder = {ord(c): ord(c) for c in 'helo'}
    
    def decode(self, tokens):
        return [self.decoder.get(t, '?') for t in tokens]
    
    def detokenize(self, tokens):
        return " ".join([str(t) for t in tokens])

# Create small GPU tensors (batch size 2, sequence length 4)
tokens_gpu_tensor = torch.tensor([[0, 1, 2, 3], [1, 2, 3, 0]], dtype=torch.long)
lengths_gpu_tensor = torch.tensor([3, 2], dtype=torch.long)

# Create tokenizer
tokenizer = MockTokenizer()

ARGS = {
    "tokens_gpu_tensor": tokens_gpu_tensor,
    "lengths_gpu_tensor": lengths_gpu_tensor,
    "return_segments": False,
    "tokenizer": tokenizer,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tokenizers, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
do_generate Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/pipeline/interface.py
code served (permissive licence) · get_code("104beed5dd489b98")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from io import BytesIO
from PIL import Image

torch.manual_seed(0)

# Create a minimal MplugOwlProcessor stand-in
class MplugOwlProcessor:
    def __call__(self, text, images, return_tensors='pt'):
        # Return a dict with input_ids and pixel_values
        batch_size = len(text) if isinstance(text, list) else 1
        return {
            'input_ids': torch.randint(0, 1000, (batch_size, 8)),
            'pixel_values': torch.randn(batch_size, 3, 4, 4) if images else torch.randn(batch_size, 3, 4, 4),
            'attention_mask': torch.ones(batch_size, 8, dtype=torch.long)
        }

# Create a minimal MplugOwlTokenizer stand-in
class MplugOwlTokenizer:
    def decode(self, token_list, skip_special_tokens=False):
        return "generated text output"

# Create a minimal MplugOwlForConditionalGeneration stand-in
class MplugOwlForConditionalGeneration(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
        self.device_attr = torch.device('cpu')
    
    @property
    def device(self):
        return self.device_attr
    
    def generate(self, input_ids, pixel_values, attention_mask, **kwargs):
        # Return generated token ids
        return torch.randint(0, 1000, (input_ids.shape[0], 10))

# Create minimal test images (in-memory PIL Images)
def create_test_image():
    img = Image.new('RGB', (8, 8), color='red')
    return img

# Create a temporary image by saving to BytesIO and reloading
img_bytes = BytesIO()
test_img = Image.new('RGB', (8, 8), color='blue')
test_img.save(img_bytes, format='PNG')
img_bytes.seek(0)
temp_img = Image.open(img_bytes)

# We need actual file paths, so we'll use empty list for images or None
# The function handles image_list as paths, and we can't create real temp files
# So we'll pass empty list which triggers the else branch (images = None)

ARGS = {
    'prompts': ['What is in this image?', 'Describe the scene'],
    'image_list': [],  # Empty list means no images, images will be None
    'model': MplugOwlForConditionalGeneration(),
    'tokenizer': MplugOwlTokenizer(),
    'processor': MplugOwlProcessor(),
    'use_bf16': False,
    'generate_kwargs': {'max_length': 50, 'top_p': 0.9}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_cosine_schedule_with_warmup Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/pipeline/utils.py
code served (permissive licence) · get_code("97b29adf427aa64e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned LambdaLR. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from torch.optim import SGD

torch.manual_seed(0)

# Create a simple model
model = nn.Linear(4, 3)

# Create an optimizer
optimizer = SGD(model.parameters(), lr=0.1)

# Define arguments for the function
ARGS = {
    "optimizer": optimizer,
    "lr": 0.1,
    "min_lr": 0.01,
    "num_warmup_steps": 100,
    "num_training_steps": 1000,
    "num_cycles": 0.5,
    "last_epoch": -1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LambdaLR — a LambdaLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a LambdaLR output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_ltor_masks_and_position_ids_from_embeddings Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lukeforeveryoung/ureader/mplug_owl/modeling_mplug_owl.py
code served (permissive licence) · get_code("45567e61fe09093a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function expects:
# - data: a tensor with at least 2 dimensions where data.size()[:2] gives (micro_batch_size, seq_length)
#   The function also accesses data.device and data[..., 0]
# Create a small tensor: shape (2, 3, 4) where batch=2, seq_length=3, embedding_dim=4
data = torch.randn(2, 3, 4, device='cpu')

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_param_groups Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/pipeline/utils.py
code served (permissive licence) · get_code("53b3ed9d6fed2b5f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model with various parameter types
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        # Weight matrix (2D, will have weight decay)
        self.linear1 = nn.Linear(4, 3)
        # Bias (1D, no weight decay by default)
        self.linear2 = nn.Linear(3, 2)
        # Batch norm parameters (1D, no weight decay by default)
        self.bn = nn.BatchNorm1d(2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        x = self.bn(x)
        return x

# Instantiate model
model = SimpleModel()

# Create modules list
modules = [model]

# Define no_weight_decay_cond: returns True if param should NOT have weight decay
# By default: bias params and 1D params should not have weight decay
def no_weight_decay_cond(name, param):
    return name.endswith('.bias') or len(param.shape) == 1

# Define scale_lr_cond: returns True if param should use scaled learning rate
# For example, scale lr for head/classifier layers
def scale_lr_cond(name, param):
    # Scale lr for linear2 (simulating a head layer)
    return 'linear2' in name

# Learning rate multiplier for scaled layers
lr_mult = 0.1

ARGS = {
    'modules': modules,
    'no_weight_decay_cond': no_weight_decay_cond,
    'scale_lr_cond': scale_lr_cond,
    'lr_mult': lr_mult,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
post_process_code Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/serve/model_utils.py
code served (permissive licence) · get_code("15e54d5d53ab90ac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def post_process_code(code):
    sep = '\n```'
    if sep in code:
        blocks = code.split(sep)
        if len(blocks) % 2 == 1:
            for i in range(1, len(blocks), 2):
                blocks[i] = blocks[i].replace('\\_', '_')
        code = sep.join(blocks)
    return code

# Test case 1: code with markdown code blocks and escaped underscores
code_input_1 = "Some text\n```\nfoo\\_bar\n```\nmore text"

# Test case 2: code without code blocks
code_input_2 = "Just plain text with no code blocks"

# Test case 3: code with odd number of separator blocks and multiple escaped underscores
code_input_3 = "Start\n```\ntest\\_value\n```\nmiddle\n```\nanother\\_test\n```\nend"

ARGS = {
    'code': code_input_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
post_process_output Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/serve/model_utils.py
code served (permissive licence) · get_code("607a861da4671ce5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def post_process_output(text):
    text = text.strip()
    pattern = re.compile('<unk>|<pad>|<s>|</s>|\\[PAD\\]|<\\|endoftext\\|>|\\[UNK\\]|\\[CLS\\]|\\[MASK\\]|<\\|startofpiece\\|>|<\\|endofpiece\\|>|\\[gMASK\\]|\\[sMASK\\]')
    text = pattern.sub('', text.strip()).strip()
    return text

ARGS = {
    "text": "  <unk> Hello [PAD] world </s>  "
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tokenize_prompts Ran
ran; our contract draft was wrong, not the code
lukeforeveryoung/ureader/mplug_owl/processing_mplug_owl.py
code served (permissive licence) · get_code("a314d930b7b0cfbb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import re

torch.manual_seed(0)

class SimpleTokenizer:
    """Minimal tokenizer implementation with required methods/attributes."""
    def __init__(self):
        self.bos_token_id = 101
        self.eos_token_id = 102
    
    def __call__(self, text, add_special_tokens=False, **kwargs):
        # Simple tokenization: split by spaces and map to token ids
        tokens = text.split()
        token_ids = [hash(token) % 1000 + 200 for token in tokens]
        return {'input_ids': token_ids}

prompts = [
    "hello world",
    "test prompt"
]

tokens_to_generate = 5

add_BOS = True

tokenizer = SimpleTokenizer()

ARGS = {
    'prompts': prompts,
    'tokens_to_generate': tokens_to_generate,
    'add_BOS': add_BOS,
    'rank': 0,
    'tokenizer': tokenizer,
    'ignore_dist': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_media_indices Not yet run
unverified (harvested, no recorded run)
lukeforeveryoung/ureader/mplug_owl/modeling_mplug_owl.py
code served (permissive licence) · get_code("96dde8a246fae2ac")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 11 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 8 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_ltor_masks_and_position_ids_from_embeddings 7 other papers
2 dated earlier, 4 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2302.00402 (2023-02)
mPLUG-2: A Modularized Multi-modal Foundation Model Across Text, Image and Video
2308.06595 (2023-08)
VisIT-Bench: A Benchmark for Vision-Language Instruction Following Inspired by Real-World Use
and 4 more not named here
post_process_code 5 other papers
4 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2312.06742 (2023-12)
Honeybee: Locality-enhanced Projector for Multimodal LLM
2402.09801 (2024-02)
EFUF: Efficient Fine-Grained Unlearning Framework for Mitigating Hallucinations in Multimodal Large Language Models
and 2 more not named here
post_process_output 5 other papers
4 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2312.06742 (2023-12)
Honeybee: Locality-enhanced Projector for Multimodal LLM
2402.09801 (2024-02)
EFUF: Efficient Fine-Grained Unlearning Framework for Mitigating Hallucinations in Multimodal Large Language Models
and 2 more not named here
detokenize_generations 3 other papers
2 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2403.07350 (2024-03)
VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark
2503.06800 (2025-03)
VideoPhy-2: A Challenging Action-Centric Physical Commonsense Evaluation in Video Generation
get_cosine_schedule_with_warmup 3 other papers
2 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2403.07350 (2024-03)
VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark
2503.06800 (2025-03)
VideoPhy-2: A Challenging Action-Centric Physical Commonsense Evaluation in Video Generation
get_param_groups 3 other papers
2 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2403.07350 (2024-03)
VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark
2503.06800 (2025-03)
VideoPhy-2: A Challenging Action-Centric Physical Commonsense Evaluation in Video Generation
do_generate 2 other papers
1 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2403.07350 (2024-03)
VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark
tokenize_prompts 2 other papers
1 later, 1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
2403.07350 (2024-03)
VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark
batchify 1 other paper
1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
collate_fn 1 other paper
1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model
get_media_indices 1 other paper
1 same year, order not determinable
2023.findings-emnlp.187 (2023 (year only))
UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Text is ubiquitous in our visual world, conveying crucial information, such as in documents, websites, and everyday photographs. In this work, we propose UReader, a first exploration of universal OCR-free visually-situated language understanding based on the Multimodal Large Language Model (MLLM). By leveraging the shallow text recognition ability of the MLLM, we only finetuned 1.2% parameters and the training cost is much lower than previous work following domain-specific pretraining and finetuning paradigms. Concretely, UReader is jointly finetuned on a wide range of Visually-situated Language Understanding tasks via a unified instruction format. To enhance the visual text and semantic understanding, we further apply two auxiliary tasks with the same format, namely text reading and key points generation tasks. We design a shape-adaptive cropping module before the encoder-decoder architecture of MLLM to leverage the frozen low-resolution vision encoder for processing high-resolution images. Without downstream finetuning, our single model achieves state-of-the-art ocr-free performance in 8 out of 10 visually-situated language understanding tasks, across 5 domains: documents, tables, charts, natural images, and webpage screenshots. Codes and instruction-tuning datasets will be released.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.05126")
get_code_for_paper("2310.05126")
have("2310.05126")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.05126.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.05126.svg)](https://syntology.ai/paper/2310.05126)

Connect an agent — have() is free.