aimagelab/ReT-M2KR
Preview • Updated • 1.46k • 2
Run aimagelab/ReT2-M2KR-CLIP-ViT-L on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/aimagelab/ReT2-M2KR-CLIP-ViT-L. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/aimagelab/ReT2-M2KR-CLIP-ViT-L on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use aimagelab/ReT2-M2KR-CLIP-ViT-L with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("aimagelab/ReT2-M2KR-CLIP-ViT-L", device_map="auto")Official implementation of ReT-2: Recurrence Meets Transformers for Universal Multimodal Retrieval.
This model features visual and textual backbones based on openai/clip-vit-large-patch14.
The backbones have been fine-tuned on the M2KR dataset.
@article{caffagni2025recurrencemeetstransformers,
title={{Recurrence Meets Transformers for Universal Multimodal Retrieval}},
author={Davide Caffagni and Sara Sarto and Marcella Cornia and Lorenzo Baraldi and Rita Cucchiara},
journal={arXiv preprint arXiv:2509.08897},
year={2025}
}
Base model
openai/clip-vit-large-patch14