SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.02858 · EMNLP · 2023

Video-LLaMA An Instruction-tuned Audio-Visual Language Model for Video Understanding

Xin Li, Hang Zhang, Lidong Bing

arXiv · PDF · Open in the Atlas

Code that ran

18 of 25 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 7 have no contract verdict; 10 failures of our instrument; 7 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/2306.02858.json · badge: /api/ran/2306.02858.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
damo-nlp-sg/video-llama canonical (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
damo-nlp-sg/videollama2 community
Papers with Code archive
8 ran · 4 no recorded run
xinding-sys/StreamMind community
Papers with Code archive
3 ran · 1 no recorded run
FunctionStatusWhere it lives
ClsNet Ran
ran on a synthesized input · constructed an object; no result was computed
xinding-sys/StreamMind/streammind/model/multimodal_projector/builder.py
code served (permissive licence) · get_code("0d7afd7e8c6f79a7")
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 an instance of its own class, ClsNet: the run constructed the object and did not call it, so no result was computed. 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 transformers import MistralConfig, MistralForCausalLM

torch.manual_seed(0)

# Parameters for ClsNet
d_model = 64
depth = 2
n_class = 10

# Create sample input data
batch_size = 2
seq_length = 8
vocab_size = 2

# Create inputs_embeds tensor (batch_size, seq_length, d_model)
x = torch.randn(batch_size, seq_length, d_model)

# Create labels tensor (batch_size, seq_length) with values in range [0, vocab_size)
cls_labels = torch.randint(0, vocab_size, (batch_size, seq_length))

# Create attention mask tensor (batch_size, seq_length)
cls_attention_mask = torch.ones(batch_size, seq_length, dtype=torch.long)

ARGS = {
    "d_model": d_model,
    "depth": depth,
    "n_class": n_class,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ClsNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ClsNet 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
STCConnector Ran
ran on a synthesized input · constructed an object; no result was computed
xinding-sys/StreamMind/streammind/model/multimodal_projector/builder.py
code served (permissive licence) · get_code("034c07582f342e3f")
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 an instance of its own class, STCConnector: the run constructed the object and did not call it, so no result was computed. 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 dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class MockConfig:
    """Minimal config object with required attributes."""
    mm_hidden_size: int = 4
    hidden_size: int = 8

def build_mlp(depth, hidden_size, output_hidden_size):
    """Build MLP as defined in the function."""
    modules = [nn.Linear(hidden_size, output_hidden_size)]
    for _ in range(1, depth):
        modules.append(nn.GELU())
        modules.append(nn.Linear(output_hidden_size, output_hidden_size))
    return nn.Sequential(*modules)

# Create the config object
config = MockConfig(mm_hidden_size=4, hidden_size=8)

# Define ARGS dictionary with all parameters for STCConnector.__init__
ARGS = {
    'config': config,
    'downsample': (2, 2, 2),
    'depth': 4,
    'mlp_depth': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type STCConnector — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STCConnector 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
STCConnector Ran
ran on a synthesized input · constructed an object; no result was computed
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("143af1a0e1416655")
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 an instance of its own class, STCConnector: the run constructed the object and did not call it, so no result was computed. 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 timm.models.regnet import RegStage
from timm.models.layers import LayerNorm2d

torch.manual_seed(0)

class MockConfig:
    def __init__(self):
        self.mm_hidden_size = 4
        self.hidden_size = 4

config = MockConfig()

ARGS = {
    "config": config,
    "downsample": (2, 2, 2),
    "depth": 4,
    "mlp_depth": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type STCConnector — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STCConnector 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
STCConnectorV35 Ran
ran on a synthesized input · constructed an object; no result was computed
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("d25dbb06b89a36bd")
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 an instance of its own class, STCConnectorV35: the run constructed the object and did not call it, so no result was computed. 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)

class MockConfig:
    def __init__(self):
        self.mm_hidden_size = 4
        self.hidden_size = 4

config = MockConfig()

ARGS = {
    "config": config,
    "downsample": (2, 2, 2),
    "depth": 4,
    "mlp_depth": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type STCConnectorV35 — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STCConnectorV35 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
STPConnector Ran
ran on a synthesized input · constructed an object; no result was computed
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("a1260df691548981")
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 an instance of its own class, STPConnector: the run constructed the object and did not call it, so no result was computed. 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 types import SimpleNamespace

torch.manual_seed(0)

# Define a minimal config object with required attributes
config = SimpleNamespace(
    mm_hidden_size=4,  # encoder_hidden_size
    hidden_size=4      # hidden_size and output_hidden_size
)

# Define the ARGS dictionary with all parameters for STPConnector
ARGS = {
    "config": config,
    "downsample": (2, 2, 2),
    "depth": 4,
    "mlp_depth": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type STPConnector — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STPConnector 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
SpatialConv Ran
ran on a synthesized input · constructed an object; no result was computed
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("75d05c81526b6ca0")
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 an instance of its own class, SpatialConv: the run constructed the object and did not call it, so no result was computed. 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 timm.models.layers import LayerNorm2d

torch.manual_seed(0)

class MinimalConfig:
    def __init__(self):
        self.mm_hidden_size = 4
        self.hidden_size = 4

config = MinimalConfig()

ARGS = {
    "config": config,
    "downsample": (2, 2, 2),
    "depth": 0,
    "mlp_depth": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SpatialConv — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SpatialConv 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
SpatialPool Ran
ran on a synthesized input · constructed an object; no result was computed
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("27e6bfb755d3e81b")
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 an instance of its own class, SpatialPool: the run constructed the object and did not call it, so no result was computed. 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 types import SimpleNamespace

torch.manual_seed(0)

# Define a minimal config object with required attributes
config = SimpleNamespace(
    mm_hidden_size=4,  # encoder_hidden_size
    hidden_size=4      # hidden_size and output_hidden_size
)

# Define ARGS for SpatialPool
ARGS = {
    "config": config,
    "downsample": (1, 2, 2),
    "depth": 0,
    "mlp_depth": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SpatialPool — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SpatialPool 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
apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
damo-nlp-sg/video-llama/video_llama/models/modeling_llama.py
pointer only (licence: BSD-3-Clause) · get_code("9b4dff79d5e6102c")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

build_mlp Ran
ran; our contract draft was wrong, not the code
xinding-sys/StreamMind/streammind/model/multimodal_projector/builder.py
code served (permissive licence) · get_code("d62ac690ebadd7fa")
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 Sequential. 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 = {
    "depth": 3,
    "hidden_size": 4,
    "output_hidden_size": 5,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
build_vision_projector Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("7aa936fbe4f3d6fe")
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 Linear. 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


class MockConfig:
    def __init__(self):
        self.mm_hidden_size = 768
        self.hidden_size = 512
        self.mm_projector_type = 'linear'


torch.manual_seed(0)

config = MockConfig()

ARGS = {
    'config': config,
    'delay_load': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear 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
disabled_train Ran
ran, violated the contract we drafted
damo-nlp-sg/video-llama/video_llama/models/blip2.py
pointer only (licence: BSD-3-Clause) · get_code("4cb732f513d69dfd")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

getAttMap Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
damo-nlp-sg/video-llama/video_llama/common/gradcam.py
pointer only (licence: BSD-3-Clause) · get_code("7d214655954e2bc6")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

load_mm_projector Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("d8e25fe3aa75d2ce")
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 os
import tempfile
import torch
from pathlib import Path

torch.manual_seed(0)

# Create a temporary directory to act as a local model path
temp_dir = tempfile.mkdtemp()

# Create mm_projector.bin file with some dummy weights
mm_projector_weights = {
    'layer1.weight': torch.randn(4, 3, dtype=torch.float32),
    'layer1.bias': torch.randn(4, dtype=torch.float32),
    'layer2.weight': torch.randn(2, 4, dtype=torch.float32),
}
torch.save(mm_projector_weights, os.path.join(temp_dir, 'mm_projector.bin'))

ARGS = {
    'model_path': temp_dir,
    'cache_dir': None,
    'token': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
huggingface_hub, torch, transformers — 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
main_process Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/video-llama/video_llama/common/dist_utils.py
pointer only (licence: BSD-3-Clause) · get_code("98589643273920ba")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

node_to_dict Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/video-llama/video_llama/common/config.py
pointer only (licence: BSD-3-Clause) · get_code("791c72070c0b1cfb")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

parse_snapshot_folder Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("04129d1d261c322a")
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 os
import tempfile
from transformers import TRANSFORMERS_CACHE

# Create a temporary directory structure to simulate a Hugging Face cache
temp_cache_dir = tempfile.mkdtemp()

# Create the necessary directory structure for the function to work
repo_id = "bert-base/model"
repo_type = "model"
object_id = repo_id.replace('/', '--')
repo_cache = os.path.join(temp_cache_dir, f'{repo_type}s--{object_id}')
refs_dir = os.path.join(repo_cache, 'refs')
snapshots_dir = os.path.join(repo_cache, 'snapshots')
main_snapshot_dir = os.path.join(snapshots_dir, 'main')

os.makedirs(refs_dir, exist_ok=True)
os.makedirs(main_snapshot_dir, exist_ok=True)

# Create a refs/main file with a revision hash
revision_hash = "abc123def456"
with open(os.path.join(refs_dir, 'main'), 'w') as f:
    f.write(revision_hash)

# Create the actual snapshot directory for that revision
revision_snapshot_dir = os.path.join(snapshots_dir, revision_hash)
os.makedirs(revision_snapshot_dir, exist_ok=True)

ARGS = {
    'repo_id': 'bert-base/model',
    'cache_dir': temp_cache_dir,
    'repo_type': 'model'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
transformers — 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
rotate_half Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/video-llama/video_llama/models/modeling_llama.py
pointer only (licence: BSD-3-Clause) · get_code("b99eea6376d1e212")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

tile Ran
ran; our contract draft was wrong, not the code
damo-nlp-sg/video-llama/video_llama/models/base_model.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from MengzhouLu/RetroMPA, is pointer only (licence: NONE) · get_code("cb33571427334815")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

CLIPVisionTower Not yet run
unverified (harvested, no recorded run)
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("351648024debfdef")
How it ran

no invocation recorded.

MistralForCausalLM_cls Not yet run
unverified (harvested, no recorded run)
xinding-sys/StreamMind/streammind/model/multimodal_projector/builder.py
code served (permissive licence) · get_code("44b8362633634eda")
How it ran

no invocation recorded.

SiglipVisionTower Not yet run
unverified (harvested, no recorded run)
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("93c7869a74572a70")
How it ran

no invocation recorded.

Videollama2MetaModel Not yet run
unverified (harvested, no recorded run)
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("e0abf348c09035c4")
How it ran

no invocation recorded.

all_gather_with_grad Not yet run
unverified (harvested, no recorded run)
damo-nlp-sg/video-llama/video_llama/models/base_model.py
pointer only (licence: BSD-3-Clause) · get_code("0ec9fc2025c16f65")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. No invocation recorded.

build_vision_tower Not yet run
unverified (harvested, no recorded run)
damo-nlp-sg/videollama2/videollama2/model/videollama2_arch.py
code served (permissive licence) · get_code("f61dd94ea06b9f92")
How it ran

no invocation recorded.

download_cached_file Not yet run
unverified (harvested, no recorded run)
damo-nlp-sg/video-llama/video_llama/common/dist_utils.py
pointer only (licence: BSD-3-Clause) · get_code("643539116e049080")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, damo-nlp-sg/video-llama, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. No invocation recorded.

Also present in other papers' code

Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 14 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 2 the same month, 14 later) and 11 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
rotate_half 360 other papers
8 dated earlier, 1 the same month, 348 later, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
disabled_train 173 other papers
28 dated earlier, 1 the same month, 144 later · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
all_gather_with_grad 91 other papers
7 dated earlier, 84 later · 2 only as an assembly brick
2206.02967 (2022-06)
Masked Unsupervised Self-training for Label-free Image Classification
2210.08773 (2022-10)
Plug-and-Play VQA: Zero-shot VQA by Conjoining Large Pretrained Models with Zero Training
2302.06605 (2023-02)
UniAdapter: Unified Parameter-Efficient Transfer Learning for Cross-modal Modeling
and 88 more not named here
tile 84 other papers
10 dated earlier, 74 later
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
2210.07795 (2022-10)
EfficientVLM: Fast and Accurate Vision-Language Models via Knowledge Distillation and Modal-adaptive Pruning
2210.08773 (2022-10)
Plug-and-Play VQA: Zero-shot VQA by Conjoining Large Pretrained Models with Zero Training
and 81 more not named here
apply_rotary_pos_emb 47 other papers
3 dated earlier, 44 later
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
2305.16355 (2023-05)
PandaGPT: One Model To Instruction-Follow Them All
and 44 more not named here
node_to_dict 39 other papers
3 dated earlier, 36 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 36 more not named here
download_cached_file 37 other papers
3 dated earlier, 34 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 34 more not named here
main_process 35 other papers
3 dated earlier, 32 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 32 more not named here
getAttMap 28 other papers
3 dated earlier, 25 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.07558 (2023-05)
Measuring Progress in Fine-grained Vision-and-Language Understanding
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 25 more not named here
load_mm_projector
brick of this paper's assembly: helper
2 other papers
2 later
2025.naacl-long.579 (2025 (year only))
ProMQA: Question Answering Dataset for Multimodal Procedural Activity Understanding
2501.13106 (2025-01)
VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding
parse_snapshot_folder
brick of this paper's assembly: helper
2 other papers
2 later
2025.naacl-long.579 (2025 (year only))
ProMQA: Question Answering Dataset for Multimodal Procedural Activity Understanding
2501.13106 (2025-01)
VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding
build_mlp
brick of this paper's assembly: helper
1 other paper
1 later
2501.13106 (2025-01)
VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding
build_vision_projector
brick of this paper's assembly: helper
1 other paper
1 later
2025.naacl-long.579 (2025 (year only))
ProMQA: Question Answering Dataset for Multimodal Procedural Activity Understanding
build_vision_tower
brick of this paper's assembly: helper
1 other paper
1 later
2025.naacl-long.579 (2025 (year only))
ProMQA: Question Answering Dataset for Multimodal Procedural Activity 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 Video-LLaMA 1 a multi-modal framework that empowers Large Language Models (LLMs) with the capability of understanding both visual and auditory content in the video. Video-LLaMA bootstraps cross-modal training from the frozen pre-trained visual & audio encoders and the frozen LLMs. Unlike previous works that complement LLMs to process the visual or audio signals only (Zhu et al., 2023;Liu et al., 2023; Huang et al., 2023a), Video-LLaMA enables video comprehension by tackling two challenges: (1) capturing the temporal changes in visual scenes, (2) integrating audio-visual signals. To counter the first challenge, we propose a Video Q-former to assemble a pre-trained image encoder into our video encoder and introduce a video-to-text generation task to learn video-language correspondence. For the second challenge, we leverage ImageBind (Girdhar et al., 2023), a universal embedding model aligning multiple modalities, as the pre-trained audio encoder and introduce an Audio Q-former on top of ImageBind to learn reasonable auditory query embeddings for the LLM module. To align the output of both visual & audio encoders with LLM's embedding space, we first train Video-LLaMA on massive video/image-caption pairs and then tune our model with visual-instruction datasets of moderate amount but higher quality. We found Video-LLaMA shows the ability to perceive and comprehend video content and generate meaningful responses grounded in the visual and auditory information presented in the videos.

For agents

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

get_harvested_code_for_paper("2306.02858")
get_code_for_paper("2306.02858")
have("2306.02858")

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

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

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

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

Connect an agent — have() is free.