You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

MARC: Memory-Augmented RL Token Compression for Efficient Video Understanding

Paper Paper Github

MARC (Memory-Augmented RL Token Compression), accepted at ICLR 2026.

Quick Start

Inference Example

from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
import torch

# Load model
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    "path/to/model",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
processor = AutoProcessor.from_pretrained("path/to/model")

# Prepare video input
messages = [{
    "role": "user",
    "content": [
        {"type": "video", "video": "path/to/video.mp4"},
        {"type": "text", "text": "What is happening in this video?"}
    ]
}]

# Generate with compression
inputs = processor(
    messages=messages,
    videos=videos,
    compress=True,  # Enable compression
    return_tensors="pt"
).to("cuda")

outputs = model.generate(**inputs, compress=True, max_new_tokens=512)
response = processor.decode(outputs[0], skip_special_tokens=True)

See inference_script/inference_example.py for a complete example.

Downloads last month
-
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including Memories-ai/MARC

Paper for Memories-ai/MARC