Vidore2BioMedicalLecturesRetrieval
0,636
4 результата: 0,6296–0,6586
Направление метрики неизвестно, сравнение не строится
Составлено на русском по карточке модели и метаданным Hugging Face
Мультимодальная модель эмбеддингов для индексации и визуально-текстового поиска по документам.
Eager Embed V1 — мультимодальная плотная модель эмбеддингов, разработанная Хуаном Пабло Баларани при финансировании Eagerworks. Она дообучена на Qwen/Qwen3-VL-4B-Instruct и предназначена для индексации и поиска по документам с учётом их визуального и текстового содержимого.
Модель формирует эмбеддинги для визуально-текстового поиска по документам. По сравнению с многовекторными подходами типа ColBERT она рассчитана на баланс между размерностью эмбеддингов, точностью поиска и эффективностью; для сравнения эмбеддингов не требуется функция max-sim. Модель оценивали на бенчмарках Vidore 1, 2 и 3.
В основе лежит мультимодальная архитектура Qwen3-VL с 4 млрд параметров. Использование предполагает подачу визуального и текстового содержимого документов и получение векторных представлений для поиска. Модель распространяется по лицензии Apache 2.0.
В README не приведены численные результаты на Vidore и подробные сведения о языковом покрытии. Модель предназначена для получения эмбеддингов и поиска, а не для генерации ответов.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 2 декабря 2026
0,636
4 результата: 0,6296–0,6586
Направление метрики неизвестно, сравнение не строится
0,5525
Один прогон
Направление метрики неизвестно, сравнение не строится
0,5587
4 результата: 0,5111–0,5755
Направление метрики неизвестно, сравнение не строится
0,5365
4 результата: 0,5102–0,6092
Направление метрики неизвестно, сравнение не строится
0,7046
6 результатов: 0,6969–0,7312
Направление метрики неизвестно, сравнение не строится
0,5754
6 результатов: 0,5379–0,5833
Направление метрики неизвестно, сравнение не строится
Разделы каталога профессий, в задачах которых используется эта модель
README от автора на Hugging Face, как он его опубликовал
eager-embed-v1 is a multimodal dense embedding model built upon a Vision-Language Model (VLM). It is designed to efficiently index documents using both their visual and textual features.
Compared to multi-vector (ColBERT-like) architectures, eager-embed-v1 offers a strong balance between embedding dimensionality and retrieval accuracy, while maintaining efficiency. Unlike those approaches, it does not require a max-sim distance function, further simplifying the retrieval process.
Load the model and define a helper function to encode messages:
import torch
from transformers import AutoProcessor, Qwen3VLForConditionalGeneration
from transformers.utils.import_utils import is_flash_attn_2_available
from qwen_vl_utils import process_vision_info
MODEL_NAME = "eagerworks/eager-embed-v1"
DEVICE = torch.device("cpu")
if torch.cuda.is_available():
DEVICE = torch.device("cuda:0")
elif torch.backends.mps.is_available():
DEVICE = torch.device("mps")
DTYPE = torch.bfloat16
processor = AutoProcessor.from_pretrained(MODEL_NAME)
model = Qwen3VLForConditionalGeneration.from_pretrained(
MODEL_NAME,
attn_implementation=(
"flash_attention_2" if is_flash_attn_2_available() else None
),
dtype=DTYPE
).to(DEVICE).eval()
# Function to Encode Message
def encode_message(message):
with torch.no_grad():
texts = processor.apply_chat_template(message, tokenize=False, add_generation_prompt=True) + "<|endoftext|>"
image_inputs, video_inputs = process_vision_info(message)
inputs = processor(
text=texts,
images=image_inputs,
videos=video_inputs,
return_tensors="pt",
padding="longest",
).to(DEVICE)
model_outputs = model(**inputs, return_dict=True, output_hidden_states=True)
last_hidden_state = model_outputs.hidden_states[-1]
embeddings = last_hidden_state[:, -1]
embeddings = torch.nn.functional.normalize(embeddings, p=2, dim=-1)
return embeddings
🌍 Multilingual Text Retrieval
example_query = "Query: What is the capital city of Uruguay?"
example_text_1 = "Montevideo es la capital y la ciudad más poblada de la República Oriental del Uruguay, así como la capital del departamento homónimo"
example_text_2 = "El río Uruguay es un río internacional que forma parte de la cuenca del Plata. Nace en Brasil, recorre unos 1.800 km y desemboca en el Río de la Plata"
query = [{'role': 'user', 'content': [{'type': 'text', 'text': example_query}]}]
text_1 = [{'role': 'user', 'content': [{'type': 'text', 'text': example_text_1}]}]
text_2 = [{'role': 'user', 'content': [{'type': 'text', 'text': example_text_2}]}]
sim1 = torch.cosine_similarity(encode_message(query), encode_message(text_1))
sim2 = torch.cosine_similarity(encode_message(query), encode_message(text_2))
print("Similarities:", sim1.item(), sim2.item())
📈 Image Document Retrieval (Image, Chart, PDF)
MAX_IMAGE_SIZE = 784
example_query = 'Query: Where can we find the animal llama?'
example_image_1 = "https://huggingface.co/Tevatron/dse-phi3-docmatix-v2/resolve/main/animal-llama.png"
example_image_2 = "https://huggingface.co/Tevatron/dse-phi3-docmatix-v2/resolve/main/meta-llama.png"
query = [{'role': 'user', 'content': [{'type': 'text', 'text': example_query}]}]
image_1 = [{'role': 'user', 'content': [{'type': 'image', 'image': example_image_1, 'resized_height': MAX_IMAGE_SIZE, 'resized_width': MAX_IMAGE_SIZE}]}]
image_2 = [{'role': 'user', 'content': [{'type': 'image', 'image': example_image_2, 'resized_height': MAX_IMAGE_SIZE, 'resized_width': MAX_IMAGE_SIZE}]}]
sim1 = torch.cosine_similarity(encode_message(query), encode_message(image_1))
sim2 = torch.cosine_similarity(encode_message(query), encode_message(image_2))
print("Similarities:", sim1.item(), sim2.item())
Training was done on a computer with the following specs:
Training was done using the Tevatron framework and Deepspeed for parallel training.
More information on training parameters can be found here
Model was evaluated on the Vidore 1, 2 and 3 benchmarks. More info can be found here.
@article{EagerEmbed,
title={Eager Embed V1: Multimodal Dense Embeddings for Retrieval},
author={Juan Pablo Balarini},
year={2025},
publisher={Eagerworks},
url={https://github.com/eagerworks/eager-embed}
}
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
Универсальный рантайм · peft
Репозиторий содержит только адаптер (LoRA/PEFT) без базовой модели.