Help preserve open and free AI for humanity's future

← All models

Marqo_marqo-fashionSigLIP

Marqo · View on Hugging Face ↗

SigLIP model trained on fashion imagery — text–image similarity and search for fashion content.

✓ verified · rehash-vs-hf-metadata at 2026-08-24T12:28:01Z

apache-2.02.27 GB (2,441,325,402 bytes)open_cliponnxsafetensorssiglipcliptransformerse-commercefashionmultimodal retrievaltransformers.jszero-shot-image-classificationcustom_code1 language (en)

Get this model

Download Marqo_marqo-fashionSigLIP.torrent

Recommended — the .torrent carries the webseed url-list, so your client can fall back to plain HTTPS if the swarm is thin. See/verify for the full download + verification walkthrough.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


tags:

  • clip
  • transformers
  • e-commerce
  • fashion
  • multimodal retrieval
  • siglip
  • transformers.js library_name: open_clip pipeline_tag: zero-shot-image-classification license: apache-2.0 language:
  • en metrics:
  • precision
  • recall
  • MRR

Marqo-FashionSigLIP Model Card

Marqo Fashion Siglip 2 is available. marqo-fashion-SigLip-2 has shown a further 78% improvement in MMR and recall vs marqo-fashion-SigLip. Contact Marqo to learn more: https://www.marqo.ai/book-demo

Marqo-FashionSigLIP is a multimodal embedding model that provides up to 57% improvement in MRR and recall over fashion clip.

Marqo-FashionSigLIP leverages Generalised Contrastive Learning (GCL) which allows the model to be trained on not just text descriptions but also categories, style, colors, materials, keywords and fine-details to provide highly relevant search results on fashion products. The model was fine-tuned from ViT-B-16-SigLIP (webli).

Github Page: Marqo-FashionCLIP

Blog: Marqo Blog

Usage

Hugging Face

The model can be loaded with AutoModel by

from transformers import AutoModel, AutoProcessor
model = AutoModel.from_pretrained('Marqo/marqo-fashionSigLIP', trust_remote_code=True)
processor = AutoProcessor.from_pretrained('Marqo/marqo-fashionSigLIP', trust_remote_code=True)

import torch
from PIL import Image

image = [Image.open("docs/fashion-hippo.png")]
text = ["a hat", "a t-shirt", "shoes"]
processed = processor(text=text, images=image, padding='max_length', return_tensors="pt")

with torch.no_grad():
    image_features = model.get_image_features(processed['pixel_values'], normalize=True)
    text_features = model.get_text_features(processed['input_ids'], normalize=True)

    text_probs = (100.0 * image_features @ text_features.T).softmax(dim=-1)

print("Label probs:", text_probs)
# [0.98379946, 0.01294010, 0.00326044]

OpenCLIP

The model can be seamlessly used with OpenCLIP by

import open_clip
model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:Marqo/marqo-fashionSigLIP')
tokenizer = open_clip.get_tokenizer('hf-hub:Marqo/marqo-fashionSigLIP')

import torch
from PIL import Image

image = preprocess_val(Image.open("docs/fashion-hippo.png")).unsqueeze(0)
text = tokenizer(["a hat", "a t-shirt", "shoes"])

with torch.no_grad(), torch.cuda.amp.autocast():
    image_features = model.encode_image(image, normalize=True)
    text_features = model.encode_text(text, normalize=True)

    text_probs = (100.0 * image_features @ text_features.T).softmax(dim=-1)

print("Label probs:", text_probs)
# [0.9860219105287394, 0.00777916527489097, 0.006198924196369721]

Transformers.js

You can also run the model in JavaScript with the Transformers.js library.

First, install it from NPM using:

npm i @huggingface/transformers

Then, compute embeddings as follows:

import { SiglipTextModel, SiglipVisionModel, AutoTokenizer, AutoProcessor, RawImage, softmax, dot } from '@huggingface/transformers';

const model_id = 'Marqo/marqo-fashionSigLIP';

// Load tokenizer and text model
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
const text_model = await SiglipTextModel.from_pretrained(model_id);

// Load processor and vision model
const processor = await AutoProcessor.from_pretrained(model_id);
const vision_model = await SiglipVisionModel.from_pretrained(model_id);

// Run tokenization
const texts = ['a hat', 'a t-shirt', 'shoes'];
const text_inputs = tokenizer(texts, { padding: 'max_length', truncation: true });

// Compute text embeddings
const { text_embeds } = await text_model(text_inputs);

// Read image and run processor
const image = await RawImage.read('https://raw.githubusercontent.com/marqo-ai/marqo-FashionCLIP/main/docs/fashion-hippo.png');
const image_inputs = await processor(image);

// Compute vision embeddings
const { image_embeds } = await vision_model(image_inputs);

// Compute similarity scores
const normalized_text_embeds = text_embeds.normalize().tolist();
const normalized_image_embeds = image_embeds.normalize().tolist()[0];

const text_probs = softmax(normalized_text_embeds.map((text_embed) => 
    100.0 * dot(normalized_image_embeds, text_embed)
));
console.log(text_probs);
// [0.9860219105287394, 0.00777916527489097, 0.006198924196369721]

Benchmark Results

Average evaluation results on 6 public multimodal fashion datasets (Atlas, DeepFashion (In-shop), DeepFashion (Multimodal), Fashion200k, KAGL, and Polyvore) are reported below:

Text-To-Image (Averaged across 6 datasets)

Model AvgRecall Recall@1 Recall@10 MRR
Marqo-FashionSigLIP 0.231 0.121 0.340 0.239
FashionCLIP2.0 0.163 0.077 0.249 0.165
OpenFashionCLIP 0.132 0.060 0.204 0.135
ViT-B-16-laion2b_s34b_b88k 0.174 0.088 0.261 0.180
ViT-B-16-SigLIP-webli 0.212 0.111 0.314 0.214

Category-To-Product (Averaged across 5 datasets)

Model AvgP P@1 P@10 MRR
Marqo-FashionSigLIP 0.737 0.758 0.716 0.812
FashionCLIP2.0 0.684 0.681 0.686 0.741
OpenFashionCLIP 0.646 0.653 0.639 0.720
ViT-B-16-laion2b_s34b_b88k 0.662 0.673 0.652 0.743
ViT-B-16-SigLIP-webli 0.688 0.690 0.685 0.751

Sub-Category-To-Product (Averaged across 4 datasets)

Model AvgP P@1 P@10 MRR
Marqo-FashionSigLIP 0.725 0.767 0.683 0.811
FashionCLIP2.0 0.657 0.676 0.638 0.733
OpenFashionCLIP 0.598 0.619 0.578 0.689
ViT-B-16-laion2b_s34b_b88k 0.638 0.651 0.624 0.712
ViT-B-16-SigLIP-webli 0.643 0.643 0.643 0.726

Magnet link (secondary — no webseeds)

Opens the swarm directly, but carries no webseed url-list. Prefer the.torrent download above — HTTP fallback seeds ride inside it.

magnet:?xt=urn:btih:6f87f1eaa9224e1332628b8fd9403ce201eedcaa&dn=Marqo_marqo-fashionSigLIP

Open magnet in torrent client · infohash 6f87f1eaa9224e1332628b8fd9403ce201eedcaa

Files & hashes

PathSizeMethodHash
README.md7.1 KB (7,287 B)sha1-git-blob7ec43c0a0994eff3bdd948d47dbf7a7fd757fc09
config.json302 B (302 B)sha1-git-blobd9bc53866108c4b57687b7bd3b9785a26084eb80
marqo_fashionSigLIP.py10.4 KB (10,678 B)sha1-git-blob106f74ae877c3b3284d678ddc7e4b16c87adf6e6
model.safetensors775.0 MB (812,660,320 B)sha256-lfs2a58c671a74e072a677d565b515c23e14855f149db699db4be2ee81816019a07
open_clip_config.json881 B (881 B)sha1-git-blob15eb27d98adcbfaf9e0915a5778a58eaffbb43a1
open_clip_model.safetensors775.0 MB (812,658,408 B)sha256-lfs88908200434959fa3154ef79d408aac33341e8797fe5ca8ca6f0463aab32e6b3
open_clip_pytorch_model.bin775.1 MB (812,750,942 B)sha256-lfsf51a245681b2a027c26c1684a89dbd27cbd2819fca2fc2d4c697208d33d46400
preprocessor_config.json516 B (516 B)sha1-git-blobc5c52229dc04e1f8154b948a8d9705179e57c87b
special_tokens_map.json2.5 KB (2,533 B)sha1-git-blobb4d2a0893c5e28e4942b879e9dc94b0fbecdc650
spiece.model773.1 KB (791,656 B)sha256-lfsd60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
tokenizer.json2.3 MB (2,421,300 B)sha1-git-blob085d523f76df24cc9f3c5cd50b7bac95db73fba6
tokenizer_config.json20.1 KB (20,579 B)sha1-git-blob1f33abdd13554882e774c53b9f3f8ce46fcb7c59

Provenance

Upstream repositoryMarqo/marqo-fashionSigLIP
Revision (pinned)c56244cc94f92419e8369fa71efdaf403b124ce8
Fetched at2026-08-24T12:26:35Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

Webseeds