SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.10302 · 2024

DeepSeek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understanding

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 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; 4 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 2 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2412.10302.json · badge: /api/ran/2412.10302.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
deepseek-ai/deepseek-vl2 canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
load_json Ran
ran; our contract draft was wrong, not the code
deepseek-ai/deepseek-vl2/deepseek_vl2/utils/io.py
code served (permissive licence) · get_code("96f3e857e91a8cb8")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T01:04:55Z). 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 json
import tempfile
import os

# Create a temporary JSON file with sample data
temp_dir = tempfile.mkdtemp()
temp_filepath = os.path.join(temp_dir, "test_data.json")

sample_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "object"}
}

with open(temp_filepath, 'w') as f:
    json.dump(sample_data, f)

ARGS = {
    "filepath": temp_filepath
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 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
compact_text_chunks Ran
ran; our contract draft was wrong, not the code
deepseek-ai/deepseek-vl2/deepseek_vl2/serve/app_modules/overwrites.py
code served (permissive licence) · get_code("ba86a364bce26e9b")
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 logging
from typing import List
from unittest.mock import Mock, MagicMock

# Create a mock text splitter that returns a list of strings
class MockTextSplitter:
    def split_text(self, text: str) -> List[str]:
        # Simple mock that splits on double newlines or returns the text as-is
        if '\n\n' in text:
            return text.split('\n\n')
        return [text]

# Create a mock self object with the required method
class MockSelf:
    def get_text_splitter_given_prompt(self, prompt, arg1, padding=None):
        return MockTextSplitter()

# Define the ARGS dictionary
ARGS = {
    'self': MockSelf(),
    'prompt': 'What is the meaning of life?',
    'text_chunks': [
        'This is the first chunk about philosophy.',
        'This is the second chunk about existence.',
        '  ',  # Empty/whitespace chunk to test stripping
        'This is the third chunk about consciousness.'
    ]
}
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 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
create_siglip_vit Ran
ran on a synthesized input
deepseek-ai/deepseek-vl2/deepseek_vl2/models/siglip_vit.py
code served (permissive licence) · get_code("b675d2f1fa15bd63")
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 VisionTransformer. 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
import math
import warnings
from typing import Optional, Callable, Literal

torch.manual_seed(0)

# Setup for the Attention module that is incomplete in the function
class SimpleAttention(nn.Module):
    def __init__(self, dim: int, num_heads: int = 8, qkv_bias: bool = False, 
                 qk_norm: bool = False, attn_drop: float = 0.0, proj_drop: float = 0.0,
                 norm_layer: nn.Module = nn.LayerNorm, deterministic: bool = False):
        super().__init__()
        assert dim % num_heads == 0, 'dim should be divisible by num_heads'
        self.num_heads = num_heads
        self.head_dim = dim // num_heads
        self.scale = self.head_dim ** (-0.5)
        self.qk_norm = qk_norm
        self.deterministic = deterministic
        self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
        self.q_norm = norm_layer(self.head_dim) if qk_norm else nn.Identity()
        self.k_norm = norm_layer(self.head_dim) if qk_norm else nn.Identity()
        self.attn_drop = nn.Dropout(attn_drop)
        self.proj = nn.Linear(dim, dim)
        self.proj_drop = nn.Dropout(proj_drop) if proj_drop > 0.0 else nn.Identity()

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        B, N, C = x.shape
        qkv = self.qkv(x).reshape(B, N, 3, self.num_heads, self.head_dim)
        q, k, v = qkv.permute(2, 0, 3, 1, 4).unbind(0)
        
        if self.qk_norm:
            q = self.q_norm(q)
            k = self.k_norm(k)
        
        attn = (q @ k.transpose(-2, -1)) * self.scale
        attn = attn.softmax(dim=-1)
        attn = self.attn_drop(attn)
        
        x = (attn @ v).transpose(1, 2).reshape(B, N, C)
        x = self.proj(x)
        x = self.proj_drop(x)
        return x


# Setup for trunc_normal_ function
def trunc_normal_(tensor, mean=0.0, std=1.0, a=-2.0, b=2.0):
    def norm_cdf(x):
        return (1.0 + math.erf(x / math.sqrt(2.0))) / 2.0
    if mean < a - 2 * std or mean > b + 2 * std:
        warnings.warn('mean is more than 2 std from [a, b]', stacklevel=2)
    with torch.no_grad():
        l = norm_cdf((a - mean) / std)
        u = norm_cdf((b - mean) / std)
        tensor.uniform_(2 * l - 1, 2 * u - 1)
        tensor.erfinv_()
        tensor.mul_(std * math.sqrt(2.0))
        tensor.add_(mean)
        tensor.clamp_(min=a, max=b)
    return tensor


# Build minimal test tensor
test_tensor = torch.randn(2, 4)

ARGS = {
    'tensor': test_tensor,
    'mean': 0.0,
    'std': 1.0,
    'a': -2.0,
    'b': 2.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, timm, torch, transformers, xformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type VisionTransformer — a VisionTransformer output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a VisionTransformer 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
format_output Ran
ran; our contract draft was wrong, not the code
deepseek-ai/deepseek-vl2/deepseek_vl2/serve/app_modules/utils.py
code served (permissive licence) · get_code("75628f3739d6fcd3")
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, ndim 3, 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 re

torch.manual_seed(0)

def convert_to_markdown(text):
    text = text.replace('$', '&#36;')
    text = text.replace('\r\n', '\n')

    def replace_leading_tabs_and_spaces(line):
        new_line = []
        for char in line:
            if char == '\t':
                new_line.append('&#9;')
            elif char == ' ':
                new_line.append('&nbsp;')
            else:
                break
        return ''.join(new_line) + line[len(new_line):]
    markdown_text = ''
    lines = text.split('\n')
    in_code_block = False
    for line in lines:
        if in_code_block is False and line.startswith('```'):
            in_code_block = True
            markdown_text += f'{line}\n'
        elif in_code_block is True and line.startswith('```'):
            in_code_block = False
            markdown_text += f'{line}\n'
        elif in_code_block:
            markdown_text += f'{line}\n'
        else:
            line = replace_leading_tabs_and_spaces(line)
            line = re.sub('^(#)', '\\\\\\1', line)
            markdown_text += f'{line}  \n'
    return markdown_text

def format_output(history, text, x):
    updated_history = history + [[text, x]]
    a = [[y[0], convert_to_markdown(y[1])] for y in updated_history]
    return (a, updated_history)

history = [
    ["user input 1", "response with $dollar and\r\nline breaks"],
    ["user input 2", "another response\nwith newline"]
]

text = "current user message"

x = "current model output with # heading and  spaces"

ARGS = {
    "history": history,
    "text": text,
    "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 tuple, ndim 3, dtype family float — a tuple 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
load_pil_images Ran
ran, honoured the contract we drafted
deepseek-ai/deepseek-vl2/deepseek_vl2/utils/io.py
code served (permissive licence) · get_code("56ce205e9245c8c2")
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 PIL.Image
import io
from typing import Dict, List

# Create a small test image in memory
def create_test_image():
    img = PIL.Image.new('RGB', (100, 100), color='red')
    return img

# Create conversations with image data
conversations = [
    {
        "role": "User",
        "content": "<image>\nExtract all information from this image and convert them into markdown format.",
        "images": [create_test_image()]
    },
    {
        "role": "Assistant",
        "content": ""
    }
]

# However, the function expects file paths, not PIL images
# Let's create actual temporary image files or use a workaround
# Since we can't do file I/O easily, we'll patch PIL.Image.open

import PIL.Image as PILImage
original_open = PILImage.open

def mock_open(path):
    if isinstance(path, PILImage.Image):
        return path
    # For any string path, return a test image
    return PIL.Image.new('RGB', (100, 100), color='blue')

PIL.Image.open = mock_open

conversations = [
    {
        "role": "User",
        "content": "<image>\nExtract all information from this image and convert them into markdown format.",
        "images": ["./examples/table_datasets.png"]
    },
    {
        "role": "Assistant",
        "content": ""
    },
    {
        "role": "User",
        "content": "Another message with image",
        "images": ["./examples/another_image.png"]
    }
]

ARGS = {
    "conversations": conversations
}
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 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
markdown_to_html_with_syntax_highlight Ran
ran; our contract draft was wrong, not the code
deepseek-ai/deepseek-vl2/deepseek_vl2/serve/app_modules/utils.py
code served (permissive licence) · get_code("d1fcc287229a99c6")
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
from markdown import markdown
from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments.lexers import get_lexer_by_name

# The function takes a single parameter: md_str, which should be a markdown string
# that may contain code blocks with syntax highlighting

md_str = """
# Example Markdown

Here is some Python code:


def hello_world():
    print("Hello, World!")


And here is some JavaScript:

javascript
console.log("Hello, World!");


Regular markdown **bold** and *italic* text.


Plain text code block without language specified

"""

ARGS = {
    "md_str": md_str
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
markdown, pygments — 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
select_best_resolution Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
deepseek-ai/deepseek-vl2/deepseek_vl2/models/processing_deepseek_vl_v2.py
code served (permissive licence) · get_code("6408ebfc6065bf19")
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, ndim 1, 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.

# Setup code for select_best_resolution

ARGS = {
    "image_size": (800, 600),
    "candidate_resolutions": [(1024, 768), (512, 384), (2048, 1536), (256, 192)]
}
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 tuple, ndim 1, dtype family int — a tuple 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
strip_stop_words Ran
ran; our contract draft was wrong, not the code
deepseek-ai/deepseek-vl2/deepseek_vl2/serve/app_modules/utils.py
code served (permissive licence) · get_code("f7fc8e891d83a3e1")
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

# strip_stop_words takes a string x and a list/iterable of stop_words
# It searches for each stop word in x and returns the portion before the first match
# If no stop word is found, it returns x stripped of whitespace

ARGS = {
    "x": "hello world stop this is a test",
    "stop_words": ["stop", "end", "finish"]
}
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
yarn_find_correction_dim Ran
ran, honoured the contract we drafted
deepseek-ai/deepseek-vl2/deepseek_vl2/models/modeling_deepseek.py
pointer only (licence: MIT); the stored copy get_code serves, from Miraclecsc/Discrete-Latent-Reasoning, is pointer only (licence: NONE) · get_code("de3c1ddb7a5bbb47")
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 Miraclecsc/Discrete-Latent-Reasoning, 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.

yarn_find_correction_range Ran
ran, honoured the contract we drafted
deepseek-ai/deepseek-vl2/deepseek_vl2/models/modeling_deepseek.py
pointer only (licence: MIT); the stored copy get_code serves, from Miraclecsc/Discrete-Latent-Reasoning, is pointer only (licence: NONE) · get_code("ed5f1f4e8c0439b2")
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 Miraclecsc/Discrete-Latent-Reasoning, 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.

yarn_get_mscale Ran
ran, honoured the contract we drafted
deepseek-ai/deepseek-vl2/deepseek_vl2/models/modeling_deepseek.py
pointer only (licence: MIT); the stored copy get_code serves, from Miraclecsc/Discrete-Latent-Reasoning, is pointer only (licence: NONE) · get_code("8dfdb3a53834d90f")
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 Miraclecsc/Discrete-Latent-Reasoning, 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_conv_template Not yet run
unverified (harvested, no recorded run)
deepseek-ai/deepseek-vl2/deepseek_vl2/models/conversation.py
code served (permissive licence) · get_code("132894d1028abd5a")
How it ran

no invocation recorded.

load_pretrained_model Not yet run
unverified (harvested, no recorded run)
deepseek-ai/deepseek-vl2/deepseek_vl2/utils/io.py
code served (permissive licence) · get_code("8a1727ee6e04ec45")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 9 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 4 later) and 4 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_conv_template 69 other papers
43 dated earlier, 3 the same month, 18 later, 4 same year, order not determinable, 1 undated
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
yarn_get_mscale 3 other papers
3 later
2025.acl-industry.15 (2025 (year only))
Run LoRA Run: Faster and Lighter LoRA Implementations
2606.04980 (2026-06)
AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantization
2606.29712 (2026-06)
Why Struggle with Continuous Latents? Interpretable Discrete Latent Reasoning via Rendered Compression
yarn_find_correction_dim 2 other papers
2 later
2606.04980 (2026-06)
AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantization
2606.29712 (2026-06)
Why Struggle with Continuous Latents? Interpretable Discrete Latent Reasoning via Rendered Compression
yarn_find_correction_range 2 other papers
2 later
2606.04980 (2026-06)
AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantization
2606.29712 (2026-06)
Why Struggle with Continuous Latents? Interpretable Discrete Latent Reasoning via Rendered Compression
compact_text_chunks 1 other paper
1 dated earlier
2403.05525 (2024-03)
DeepSeek-VL: Towards Real-World Vision-Language Understanding
format_output 1 other paper
1 dated earlier
2403.05525 (2024-03)
DeepSeek-VL: Towards Real-World Vision-Language Understanding
load_json 1 other paper
1 dated earlier
2405.17977 (2024-05)
Aligning to Thousands of Preferences via System Message Generalization
markdown_to_html_with_syntax_highlight 1 other paper
1 dated earlier
2403.05525 (2024-03)
DeepSeek-VL: Towards Real-World Vision-Language Understanding
strip_stop_words 1 other paper
1 dated earlier
2403.05525 (2024-03)
DeepSeek-VL: Towards Real-World Vision-Language Understanding

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

We present DeepSeek-VL2, an advanced series of large Mixture-of-Experts (MoE) Vision-Language Models that significantly improves upon its predecessor, DeepSeek-VL, through two key major upgrades. For the vision component, we incorporate a dynamic tiling vision encoding strategy designed for processing high-resolution images with different aspect ratios. For the language component, we leverage DeepSeekMoE models with the Multi-head Latent Attention mechanism, which compresses Key-Value cache into latent vectors, to enable efficient inference and high throughput. Trained on an improved vision-language dataset, DeepSeek-VL2 demonstrates superior capabilities across various tasks, including but not limited to visual question answering, optical character recognition, document/table/chart understanding, and visual grounding. Our model series is composed of three variants: DeepSeek-VL2-Tiny, DeepSeek-VL2-Small and DeepSeek-VL2, with 1.0B, 2.8B and 4.5B activated parameters respectively. DeepSeek-VL2 achieves competitive or state-of-the-art performance with similar or fewer activated parameters compared to existing open-source dense and MoE-based models. Codes and pre-trained models are publicly accessible at https://github.com/deepseek-ai/DeepSeek-VL2.

For agents

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

get_harvested_code_for_paper("2412.10302")
get_code_for_paper("2412.10302")
have("2412.10302")

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

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

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

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

Connect an agent — have() is free.