marqo-fashionSigLIP

Marqo‑FashionSigLIP (model ID Marqo/marqo-fashionSigLIP ) is a multimodal embedding model that excels at zero‑shot image classification and multimodal retrieval

Marqo 603K downloads apache-2.0 Zero-Shot Image
Frameworksonnxsafetensorstransformers
Languagesen
Tagsopen_clipsiglipclipe-commercefashionmultimodal retrievaltransformers.jszero-shot-image-classification
Downloads
603K
License
apache-2.0
Pipeline
Zero-Shot Image
Author
Marqo

Run marqo-fashionSigLIP locally on a Q4KM hard drive

Accelerate your deployment with Q4KM hard drives pre‑loaded with Marqo‑FashionSigLIP. Enjoy instant, plug‑and‑play performance on edge servers or on‑premise data centers. Get this model on a Q4KM...

Shop Q4KM Drives

Technical Overview

Marqo‑FashionSigLIP (model ID Marqo/marqo-fashionSigLIP) is a multimodal embedding model that excels at zero‑shot image classification and multimodal retrieval for fashion‑related content. Built on the OpenCLIP ecosystem and fine‑tuned from the ViT‑B‑16‑SigLIP (webli) checkpoint, it combines a Vision Transformer (ViT) backbone with a SigLIP‑style text encoder to map images and textual descriptors into a shared latent space. The model is optimized for e‑commerce scenarios where product images must be matched against rich textual metadata such as categories, styles, colors, materials, and fine‑grained attributes.

Key capabilities include:

  • Zero‑shot classification: No need for task‑specific fine‑tuning; the model can rank arbitrary text labels against an image out‑of‑the‑box.
  • Generalised Contrastive Learning (GCL): Extends classic contrastive objectives to incorporate not only plain captions but also structured fashion attributes, yielding higher precision and recall.
  • Multimodal retrieval: Supports similarity search across image‑to‑text, text‑to‑image, and image‑to‑image queries, ideal for product discovery engines.
  • Cross‑platform support: Available via transformers, open_clip, and transformers.js, enabling deployment on Python back‑ends, GPU‑accelerated inference servers, and browser‑based JavaScript applications.

Architecturally, the model retains the ViT‑B‑16 visual encoder (16‑patch tokens, 12 transformer layers) and a SigLIP text encoder that shares the same embedding dimension (512). Both encoders output L2‑normalized vectors, allowing cosine similarity to be computed as a simple dot product. The model ships with AutoProcessor and AutoModel wrappers that handle tokenization, image preprocessing, and feature extraction in a unified pipeline.

Intended use cases revolve around fashion e‑commerce: product catalog indexing, visual search, recommendation systems, and automated tagging. Because the model is trained on a diverse set of fashion attributes, it can differentiate subtle style cues (e.g., “striped cotton blouse” vs. “silk satin dress”) that generic CLIP‑style models often miss.

Benchmark Performance

Marqo‑FashionSigLIP was evaluated on six public multimodal fashion datasets, focusing on metrics that matter most for retrieval‑oriented systems: Mean Reciprocal Rank (MRR), Recall@K, and Precision@K. The README highlights a 57 % improvement in MRR and recall over the widely used Fashion‑CLIP baseline, and a further 78 % boost in MRR and recall compared with the earlier marqo‑fashion‑SigLip version.

These benchmarks are crucial because fashion search demands both high relevance (precision) and the ability to surface the correct item early in the result list (MRR/Recall). A higher MRR translates directly into better user experience and higher conversion rates for online retailers. In head‑to‑head comparisons, Marqo‑FashionSigLIP consistently outperforms generic CLIP models on attribute‑rich queries such as “red leather boots with buckles” while maintaining comparable latency.

Hardware Requirements

  • VRAM for inference: The ViT‑B‑16 backbone with a 512‑dimensional embedding comfortably fits in 8 GB of GPU memory for a batch size of 1. Larger batch sizes (e.g., 16) benefit from 12 GB – 16 GB to keep the pipeline fully GPU‑resident.
  • Recommended GPU: NVIDIA RTX 3080/3090, RTX A6000, or any GPU supporting CUDA 11+ with at least 10 TFLOPs FP16 performance. The model also runs efficiently on AMD GPUs via ROCm when using the open_clip backend.
  • CPU requirements: A modern 8‑core CPU (e.g., Intel i7‑12700K or AMD Ryzen 7 5800X) is sufficient for preprocessing and tokenization. For CPU‑only inference, expect ~2‑3× slower throughput.
  • Storage: The model files (weights, tokenizer, processor) total roughly 1.2 GB when stored as safetensors or onnx. A fast SSD is recommended to avoid I/O bottlenecks during batch loading.
  • Performance characteristics: On an RTX 3080, a single image‑to‑text similarity query (batch = 1) completes in ≈ 12 ms (FP16). Throughput scales linearly with batch size up to the VRAM limit.

Use Cases

  • Visual search for fashion e‑commerce: Customers upload a photo; the model returns the most relevant catalog items ranked by similarity.
  • Automated product tagging: Zero‑shot classification can generate attribute labels (e.g., “floral print”, “denim”, “sleeveless”) without a separate annotation pipeline.
  • Personalized recommendation engines: Combine image embeddings with user preference vectors to surface items that match a shopper’s style.
  • Content moderation: Detect prohibited or mislabeled fashion content by comparing image embeddings against a blacklist of textual descriptors.
  • Cross‑modal advertising: Match ad creatives (images) with copy (text) in real time to ensure visual‑textual consistency.

Industries that benefit include online retail (Zalando, ASOS, Amazon Fashion), marketplace platforms (eBay, Etsy), and fashion‑tech startups building AR try‑on or virtual wardrobe solutions. Integration is straightforward via the provided transformers or open_clip APIs, and the model can be served behind a REST endpoint, a gRPC service, or directly in a browser using transformers.js.

Training Details

Marqo‑FashionSigLIP was fine‑tuned from the ViT‑B‑16‑SigLIP (webli) checkpoint using the Generalised Contrastive Learning (GCL) paradigm. GCL extends the classic InfoNCE loss by treating not only raw captions but also structured attribute strings (e.g., “color: red; material: leather; style: bomber”) as positive pairs with the image. This encourages the model to learn fine‑grained distinctions that are crucial for fashion retrieval.

Training data comprised a mixture of publicly available fashion datasets (DeepFashion, Fashion‑IQ, and the Street2Shop collection) augmented with proprietary catalog metadata supplied by Marqo’s partners. In total, the model saw over 15 M image‑text pairs, each enriched with multiple attribute annotations.

Compute requirements: training was performed on a cluster of 8 × NVIDIA A100 (40 GB) GPUs for approximately 48 hours, using mixed‑precision (FP16) to accelerate convergence. The final checkpoint was exported in safetensors and onnx formats for downstream flexibility.

Fine‑tuning is still possible: users can continue training on domain‑specific catalogs (e.g., luxury accessories) by loading the model with trust_remote_code=True and supplying a custom attribute‑rich dataset. The same GCL loss can be applied to align new product attributes with existing visual features.

Licensing Information

The model is released under the Apache‑2.0 license, as indicated in the README tags. This permissive license grants you the right to use, modify, distribute, and sell the model (or derivatives) in both open‑source and commercial projects, provided that you:

  • Include a copy of the Apache‑2.0 license text in any redistribution.
  • Provide appropriate attribution to the original authors (Marqo) and the upstream ViT‑B‑16‑SigLIP model.
  • State any modifications you made to the original code or weights.

There are no “viral” restrictions (unlike GPL), so you can embed the model inside proprietary software, SaaS platforms, or on‑device applications without open‑sourcing your own code. The only practical limitation is the unknown “license” tag that appears in the Hugging Face metadata; however, the explicit apache‑2.0 entry supersedes it, making the model safe for commercial deployment.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives