SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.04219 · 2023

OtterHD: A High-Resolution Multi-modality Model

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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; 3 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 9 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/2311.04219.json · badge: /api/ran/2311.04219.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
luodian/otter canonical (classifier label)
classifier basis: census
13 ran · 1 no recorded run
FunctionStatusWhere it lives
build_alibi_tensor Ran
ran; our contract draft was wrong, not the code
luodian/otter/src/otter_ai/models/falcon/modelling_RW.py
pointer only (licence: MIT); the stored copy get_code serves, from bkhmsi/llm-localization, is pointer only (licence: NONE) · get_code("b4acc4f0962c97ca")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from bkhmsi/llm-localization, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dropout_add Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
luodian/otter/src/otter_ai/models/falcon/modelling_RW.py
pointer only (licence: MIT); the stored copy get_code serves, from zthang/focus, is pointer only (licence: NONE) · get_code("6ef9ea8bea823588")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zthang/focus, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_frames Ran
ran, honoured the contract we drafted
luodian/otter/pipeline/demos/interactive/otter_video.py
code served (permissive licence) · get_code("029892ebb4321050")
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 4, dtype family int; 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 cv2
import numpy as np
from PIL import Image
import tempfile
import os

# Create a temporary video file for testing
def create_test_video(filepath, num_frames_to_write=32, width=640, height=480):
    """Create a simple test video file."""
    fourcc = cv2.VideoWriter_fourcc(*'mp4v')
    out = cv2.VideoWriter(filepath, fourcc, 30.0, (width, height))
    
    for i in range(num_frames_to_write):
        # Create a simple frame with changing colors
        frame = np.zeros((height, width, 3), dtype=np.uint8)
        frame[:, :] = [i % 255, (i * 2) % 255, (i * 3) % 255]
        out.write(frame)
    
    out.release()

# Create temporary video file
temp_dir = tempfile.mkdtemp()
video_path = os.path.join(temp_dir, "test_video.mp4")
create_test_video(video_path, num_frames_to_write=32, width=640, height=480)

ARGS = {
    "video_path": video_path,
    "num_frames": 16
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — 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
get_autocast Ran
ran on a synthesized input
luodian/otter/pipeline/benchmarks/public_datasets_suite/models/otter.py
pointer only (licence: MIT); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("94a4076103662faf")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from MediaBrain-SJTU/DISSect, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_cast_dtype Ran
ran; our contract draft was wrong, not the code
luodian/otter/pipeline/benchmarks/public_datasets_suite/models/otter.py
code served (permissive licence) · get_code("dcd422d66b0581d8")
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) and returned dtype. 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

torch.manual_seed(0)

ARGS = {
    "precision": "bf16"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dtype — a dtype output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dtype 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_content_type Ran
ran; our contract draft was wrong, not the code
luodian/otter/pipeline/demos/interactive/otter_image.py
code served (permissive licence) · get_code("3614ed4764f65f90")
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 mimetypes

def get_content_type(file_path):
    content_type, _ = mimetypes.guess_type(file_path)
    return content_type

ARGS = {
    "file_path": "document.pdf"
}
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
get_formatted_forward_prompt Ran
ran; our contract draft was wrong, not the code
luodian/otter/pipeline/benchmarks/models/otter_image.py
code served (permissive licence) · get_code("34167f78172c1abe")
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

torch.manual_seed(0)

ARGS = {
    "question": "What is in the image?",
    "answer": "A cat sitting on a mat."
}
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
get_formatted_prompt Ran
ran; our contract draft was wrong, not the code
luodian/otter/pipeline/benchmarks/models/otter_image.py
code served (permissive licence) · get_code("b48b9a381723c691")
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

torch.manual_seed(0)

ARGS = {
    "prompt": "What is in this image?"
}
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
get_formatted_prompt Ran
ran; our contract draft was wrong, not the code
luodian/otter/pipeline/demos/interactive/otter_image_incontext.py
code served (permissive licence) · get_code("53f85a97033ac702")
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

torch.manual_seed(0)

# Analyze the function:
# - prompt: str - a simple string
# - in_context_prompts: list of tuples where each tuple is (in_context_prompt, in_context_answer)
#   The function iterates through these and unpacks them as two values each

ARGS = {
    "prompt": "What is the capital of France?",
    "in_context_prompts": [
        ("What is 2+2?", "4"),
        ("What is the color of the sky?", "Blue"),
    ]
}
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
get_image Ran
ran, honoured the contract we drafted
luodian/otter/pipeline/demos/interactive/otter_image.py
code served (permissive licence) · get_code("fe65bfdd78032556")
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 PngImageFile. 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 mimetypes
from typing import Union
from PIL import Image
import tempfile
import os

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.png")
img = Image.new('RGB', (224, 224), color='red')
img.save(temp_image_path)

ARGS = {
    "url": temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, requests — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PngImageFile — a PngImageFile output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PngImageFile output the recorded ndim 3 and dtype family int 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_image Ran
ran, honoured the contract we drafted
luodian/otter/pipeline/demos/interactive/otter_video.py
code served (permissive licence) · get_code("bdd50d5971d6d069")
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 JpegImageFile. 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 tempfile
import os
from PIL import Image
import io

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.jpg")
test_image = Image.new('RGB', (100, 100), color='red')
test_image.save(temp_image_path)

ARGS = {
    'url': temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, requests — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type JpegImageFile — a JpegImageFile output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a JpegImageFile output the recorded ndim 3 and dtype family int 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_pil_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
luodian/otter/pipeline/benchmarks/models/otter_image.py
code served (permissive licence) · get_code("9679b4832e5de332")
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 Image. 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.

from io import BytesIO
from PIL import Image

# Create a valid PIL Image object
pil_image = Image.new('RGB', (100, 100), color='red')

# Also create raw image data as bytes
image_buffer = BytesIO()
pil_image.save(image_buffer, format='PNG')
raw_bytes = image_buffer.getvalue()
raw_image_data_dict = {'bytes': raw_bytes}

# Define ARGS with both test cases
ARGS = {
    'raw_image_data': pil_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
rotate_half Ran
ran; our contract draft was wrong, not the code
luodian/otter/src/otter_ai/models/falcon/modelling_RW.py
code served (permissive licence) · get_code("2502f906145be7f6")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

torch.manual_seed(0)

def rotate_half(x):
    x1, x2 = (x[..., :x.shape[-1] // 2], x[..., x.shape[-1] // 2:])
    return torch.cat((-x2, x1), dim=x1.ndim - 1)

# The function takes a single parameter 'x' which is a tensor
# It splits the last dimension in half, and concatenates (-x2, x1)
# We need a tensor with even last dimension

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
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
get_image Not yet run
unverified (harvested, no recorded run)
luodian/otter/pipeline/demos/interactive/otter_image_incontext.py
code served (permissive licence) · get_code("8dab437d86150725")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 9 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 5 the same month, 8 later) and 5 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_cast_dtype 66 other papers
14 dated earlier, 2 the same month, 50 later
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2210.08402 (2022-10)
LAION-5B: An open large-scale dataset for training next generation image-text models
2212.07143 (2022-12)
Reproducible scaling laws for contrastive language-image learning
and 63 more not named here
rotate_half 9 other papers
2 dated earlier, 2 the same month, 5 later
2305.11072 (2023-05)
Self-supervised Fine-tuning for Improved Content Representations by Speaker-invariant Clustering
2310.13802 (2023-10)
Improving Molecular Properties Prediction Through Latent Space Fusion
2311.12570 (2023-11)
BEND: Benchmarking DNA Language Models on biologically meaningful tasks
and 6 more not named here
dropout_add 8 other papers
1 the same month, 6 later, 1 undated
2311.13230 (2023-11)
Enhancing Uncertainty-Based Hallucination Detection with Stronger Focus
2024.findings-acl.347 (2024 (year only))
Mass-Editing Memory with Attention in Transformers: A cross-lingual exploration of knowledge
2401.12522 (2024-01)
BiTA: Bi-Directional Tuning for Lossless Acceleration in Large Language Models
and 5 more not named here
build_alibi_tensor 6 other papers
1 the same month, 5 later
2311.13230 (2023-11)
Enhancing Uncertainty-Based Hallucination Detection with Stronger Focus
2024.findings-acl.347 (2024 (year only))
Mass-Editing Memory with Attention in Transformers: A cross-lingual exploration of knowledge
2401.12522 (2024-01)
BiTA: Bi-Directional Tuning for Lossless Acceleration in Large Language Models
and 3 more not named here
get_autocast 3 other papers
3 later
2405.08815 (2024-05)
Efficient Vision-Language Pre-training by Cluster Masking
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
2507.12998 (2025-07)
Differential-informed Sample Selection Accelerates Multimodal Contrastive Learning
get_content_type 3 other papers
1 the same month, 2 later
2311.16093 (2023-11)
Visual cognition in multimodal large language models
2312.00438 (2023-12)
Dolphins: Multimodal Language Model for Driving
2412.15206 (2024-12)
AutoTrust: Benchmarking Trustworthiness in Large Vision Language Models for Autonomous Driving
extract_frames 2 other papers
2 later
2312.00438 (2023-12)
Dolphins: Multimodal Language Model for Driving
2412.15206 (2024-12)
AutoTrust: Benchmarking Trustworthiness in Large Vision Language Models for Autonomous Driving
get_image 2 other papers
2 later
2312.00438 (2023-12)
Dolphins: Multimodal Language Model for Driving
2412.15206 (2024-12)
AutoTrust: Benchmarking Trustworthiness in Large Vision Language Models for Autonomous Driving
get_formatted_prompt 1 other paper
1 dated earlier
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback

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

In this paper, we present OtterHD-8B, an innovative multimodal model evolved from Fuyu-8B, specifically engineered to interpret high-resolution visual inputs with granular precision. Unlike conventional models that are constrained by fixed-size vision encoders, OtterHD-8B boasts the ability to handle flexible input dimensions, ensuring its versatility across various inference requirements. Alongside this model, we introduce MagnifierBench, an evaluation framework designed to scrutinize models' ability to discern minute details and spatial relationships of small objects. Our comparative analysis reveals that while current leading models falter on this benchmark, OtterHD-8B, particularly when directly processing high-resolution inputs, outperforms its counterparts by a substantial margin. The findings illuminate the structural variances in visual information processing among different models and the influence that the vision encoders' pre-training resolution disparities have on model effectiveness within such benchmarks. Our study highlights the critical role of flexibility and high-resolution input capabilities in large multimodal models and also exemplifies the potential inherent in the Fuyu architecture's simplicity for handling complex visual data.

For agents

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

get_harvested_code_for_paper("2311.04219")
get_code_for_paper("2311.04219")
have("2311.04219")

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

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

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

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

Connect an agent — have() is free.