alt.freeweights.embed / core-reranker-2b
From: Alibaba-NLP <huggingface.co/Alibaba-NLP>Newsgroups: alt.freeweights.embedSubject:

core-reranker-2b

Date: 2026-11-15Commit: 64e1a36Signed: 2DC28CC7B26A283B ✓

Feature extraction model with 2.1B parameters. Safetensors weights, 4.27 GB in all. Published by Alibaba-NLP under CC-BY-4.0.

2.1B params4.27GBcore-reranker-2bsafetensorspermissive
FactsParams2.1BSize4.27 GBFormatssafetensorsTaskfeature extractionLicenseCC-BY-4.0From sourcepermissive
$ fw get Alibaba-NLP/core-reranker-2b
# manifest sha256 a6b470c1cd0f… · 4.27 GB · 15 files
$ fw verify ./core-reranker-2b Alibaba-NLP/core-reranker-2b
From sourceHosted (signed)Alibaba-NLP/core-reranker-2bLast check: 2026-11-15 04:15 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
4.27 GB
Weights
4.26 GB (safetensors)
Parameters
2.1B
Formats
safetensors
Task
feature extraction
License
CC-BY-4.0 (permissive)
Files
15, each with a sha256
Publisher
Alibaba-NLP
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:15 UTCpassed

Model card

From the publisher at commit 64e1a36. Shown as plain text with links; images open at the publisher.

Core-Embed: Improving Compositional Reasoning in MLLM Embedding via Reranker Distillation#

arXiv GitHub Image: License: CC-BY-4.0

Core-Embed is an MLLM-based multimodal embedding model that resolves fine-grained attribute-object bindings by distilling a reranker's compositional judgments into the embedding space.

Model Family#

ModelBackboneParametersOutputsModalities
core-emb-2bVL-Emb (Qwen3-VL)2BDense embeddingText, image
core-emb-8bVL-Emb (Qwen3-VL)8BDense embeddingText, image
core-reranker-2bQwen3-VL-Reranker2BRelevance scoreText, image
core-reranker-8bQwen3-VL-Reranker8BRelevance scoreText, image

Highlights#

  • Compositional retrieval: distinguishes scenes with the same concepts but different attribute-object bindings (e.g., "a white plate and a black chair" vs. "a black plate and a white chair").
  • Rank-KL distillation: trained to reproduce the reranker teacher's fine-grained ranking over a five-level compositional matching spectrum (full match, partial presence, attribute error, object error, full mismatch), instead of collapsing all negatives into one class as InfoNCE does.
  • General retrieval preserved: continual training from a strong MLLM embedding backbone, so COCO and Flickr30k retrieval quality is retained while compositional accuracy improves.

Training#

Candidate lists are synthesized from LAION-400M seed images: Qwen3-VL-32B extracts structured scene representations and generates queries plus five captions spanning the matching levels, Z-Image-Turbo generates the candidate images, and MLLM-based verification filters low-quality tuples. The student (VL-Emb) is then trained with the Rank-KL objective — a KL divergence between temperature-softened teacher reranker scores and student cosine similarities over each candidate list. Core-Reranker models are fine-tuned from Qwen3-VL-Reranker on the same synthesized data.

Results#

On compositional reasoning benchmarks (COLA, SugarCrepe++, NegBench):

  • Core-Reranker-8B: 82.7% total average, +10.7 points over Jina-Reranker, while recovering negation sensitivity that standard reranker fine-tuning erodes.
  • Core-Embed-8B: best total average (0.666) among all evaluated embedding models, +5.7 points over its VL-Emb-8B backbone.
  • Gains transfer to the MCMR multi-condition retrieval benchmark (R@1 0.375 → 0.412) with COCO/Flickr30k performance fully preserved.

See the paper for the full evaluation across 12 embedding baselines and 5 reranker baselines.

Usage#

Requires a recent transformers build with Qwen3-VL support:

pip install "transformers>=4.57.0" torch qwen-vl-utils pillow

The model is loaded through the wrapper classes provided in the GitHub repository:

import torch
from models.qwen3_vl.qwen3_vl_wrapper import Qwen3VLForEmbedding, Qwen3VLForEmbeddingProcessor

model_path = "core-emb-8b"
model = Qwen3VLForEmbedding.from_pretrained(
    model_path, device_map="cuda", torch_dtype=torch.bfloat16
)
processor = Qwen3VLForEmbeddingProcessor.from_pretrained(
    model_path,
    instruction_standalone=True,
    max_length=3024,
    min_pixels=32*32*4,
    max_pixels=32*32*1280,
    total_pixels=32*32*4500,
    num_frames=48,
)

query_inst = "Find me an everyday image that matches the given caption: "
psg_inst = "Represent the given image."

queries = ["a white plate and a black chair"]
inputs = processor(
    texts=queries, images=[None], videos=[None],
    instruction=[query_inst], is_query=True,
)
with torch.inference_mode():
    query_emb = model(**inputs.to(model.device)).last_hidden_state[:, -1]

images = ["path/to/image.jpg"]
inputs = processor(
    texts=[None], images=images, videos=[None],
    instruction=[psg_inst], is_query=False,
)
with torch.inference_mode():
    img_emb = model(**inputs.to(model.device)).last_hidden_state[:, -1]

print(query_emb @ img_emb.T)

For FlashAttention acceleration, pass attn_implementation="flash_attention_2" when loading the model.

For evaluation on COLA, SugarCrepe++, NegBench, COCO, Flickr30k, and MCMR, use the evaluation code in the GitHub repository.

Citation#

If you use Core-Embed, please cite the paper:

@misc{song2026core,
      title={CORE: Improving Compositional Reasoning in MLLM Embedding via Reranker Distillation}, 
      author={Tingyu Song and Mingxin Li and Yanzhao Zhang and Dingkun Long and Chu Liu and Pengjun Xie and Yilun Zhao and Shu Wu},
      year={2026},
      eprint={2609.04083},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2609.04083}, 
}

Acknowledgements#

We thank the authors of COLA, SugarCrepe++, and NegBench for their benchmarks, and the Qwen3-VL-Embedding project for the evaluation framework.

Files

15 files · 4.27 GBWeights 4.26 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md5.58 KBa6194783d81a185e4d27ff24b9fcb01726d7c08cb02ed59c86fa0d636609130c
added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
args.json18.4 KBe00ca60ea41aca70d6fabfb03cbf722e8082dba14a66f25afb07064121982188
chat_template.jinja5.29 KB3636d0f0bd6bef02654cdffdc447b79cb2cef8ab02cc75267345946291a489e4
config.json1.65 KB473d7068d67f2cbef895cfba3585e21b208e9faf41fab0d20a88fd9ee67f6282
generation_config.json213 Bd9363251ecc4d2f655fb0166c3cf8c42956343286371e2ff94c73a0bd62b224f
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model.safetensors4.26 GBa5640f16cd5fc926d3d14c5a283783d6f59ff1ff19b755a6950cbb924ae6ec83
preprocessor_config.json628 Bfd32af55c2d3846adb0bc46df8eb07c92c332b31b34c338ae85259f3f3951f24
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer_config.json5.45 KB81ec7bb9530159b326c0bef1d0b6c33d392090524014ea3f0123a3c1eb9c2af5
video_preprocessor_config.json817 B59c5c9eb52182eb14c06ffb10ca9effd29adce5f238a95de23ca14a38dbd2cb1
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
64e1a36cd6 pinned now2026-11-15 04:15 UTC15 files · 4.27 GB

Use it

$ fw get Alibaba-NLP/core-reranker-2b
# manifest sha256 a6b470c1cd0f… · 4.27 GB · 15 files
$ fw verify ./core-reranker-2b Alibaba-NLP/core-reranker-2b
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Alibaba-NLP/core-reranker-2b.json --dir ./core-reranker-2b $ python3 fw.py verify ./core-reranker-2b ./Alibaba-NLP__core-reranker-2b.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Alibaba-NLP/core-reranker-2b --revision 64e1a36cd6ecace459a4c7cd8f7d0ef5d6fee30b --local-dir ./core-reranker-2b
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("Alibaba-NLP/core-reranker-2b", revision="64e1a36cd6ecace459a4c7cd8f7d0ef5d6fee30b") model = AutoModel.from_pretrained("Alibaba-NLP/core-reranker-2b", revision="64e1a36cd6ecace459a4c7cd8f7d0ef5d6fee30b", device_map="auto")

License

Name
Creative Commons Attribution 4.0
Id
CC-BY-4.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
a6194783d81a185e4d27ff24b9fcb01726d7c08cb02ed59c86fa0d636609130c
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: Alibaba-NLP <huggingface.co/Alibaba-NLP>Newsgroups: alt.freeweights.embedSubject: core-reranker-2bDate: 2026-11-15Commit: 64e1a36Signed: 2DC28CC7B26A283B ✓
Upstream
Alibaba-NLP/core-reranker-2b
Pinned commit
64e1a36cd6ecace459a4c7cd8f7d0ef5d6fee30b
Manifest
core-reranker-2b.json · .minisig
Manifest sha256
a6b470c1cd0f27bf7e06d4089da3c07bc331d116f5657bf6aee66c13c3e33053
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:15 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Alibaba-NLP/core-reranker-2b.json $ curl -O https://freeweights.allternit.com/manifests/Alibaba-NLP/core-reranker-2b.json.minisig $ minisign -Vm core-reranker-2b.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Alibaba-NLP/core-reranker-2b
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. core-reranker-2b.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens