{
  "id": "marqo-fashionclip",
  "identity": {
    "family": "marqo-fashion",
    "display_name": "Marqo-FashionCLIP",
    "hub_id": "Marqo/marqo-fashionCLIP",
    "api_name": null,
    "revision": null,
    "variants": [],
    "license": "Apache-2.0",
    "commercial_use": true,
    "commercial_use_note": "Apache-2.0 weights and code; no use restrictions.",
    "release_date": "2024-08",
    "paper_url": null,
    "repo_url": "https://github.com/marqo-ai/marqo-FashionCLIP"
  },
  "task": {
    "category": "embedding",
    "modalities_in": [
      "image",
      "text"
    ],
    "modalities_out": [
      "vector"
    ],
    "best_at": "Fashion product search from text or image (ViT-B/16 CLIP fine-tuned with generalized contrastive learning on product titles, categories and attributes); Marqo reports gains over FashionCLIP 2.0 on its fashion benchmarks.",
    "worst_at": "Non-fashion content; the transformers path needs remote code (use open_clip instead)."
  },
  "io": {
    "input": {
      "image": {
        "resolution": "224x224",
        "color": "RGB",
        "normalize": "CLIP mean (0.4815, 0.4578, 0.4082), std (0.2686, 0.2613, 0.2758)"
      },
      "text": {
        "max_tokens": 77
      },
      "prompts": "product titles and attributes"
    },
    "output": {
      "vector": {
        "dims": 512,
        "distance": "cosine",
        "type": "dense"
      },
      "note": "image and text vectors share one space; L2-normalize before cosine"
    }
  },
  "mixpeek_wiring": {
    "extractors": [],
    "feature_uris": [],
    "vector_indexes": [],
    "retriever_stages": [
      "feature_search",
      "mmr"
    ],
    "composes_with": [
      "product images -> vectors -> feature_search; attributes as filters"
    ]
  },
  "run": {
    "status": "plugin",
    "status_reason": "Not served. Would run as a custom extractor plugin (engine/extractors/<name>/v1/ with realtime.py for query embedding), loading safetensors with trust_remote_code false. Load through open_clip ('hf-hub:Marqo/marqo-fashionCLIP', open_clip_model.safetensors); the repo's transformers path is custom code and is not used.",
    "serve_apps": [],
    "runtime": "open_clip create_model_and_transforms('hf-hub:<id>')",
    "weights_format": "safetensors",
    "trust_remote_code": false,
    "size_on_disk_mb": 599,
    "params_millions": 150,
    "preprocessing": "open_clip preprocess for the checkpoint (resize, center-crop 224, normalize).",
    "postprocessing": "L2-normalize; cosine similarity.",
    "serving_shape": "both",
    "batch_size": 32,
    "serve_batch": null,
    "scale_to_zero": {
      "min_replicas": 0,
      "max_replicas": 1,
      "idle_timeout_s": 600,
      "memory_gb": 2,
      "num_cpus": 1,
      "num_gpus": 0,
      "cold_start_s": {
        "warm_node_s": null,
        "new_node_s": null,
        "source": null
      },
      "cpu_fallback": true
    }
  },
  "cost": {
    "unmeasured": true,
    "measured": null,
    "note": "No committed measurement; plan row 3 measures it in the standalone image."
  },
  "evidence": {
    "unmeasured": true,
    "items": []
  },
  "refs": [
    "hf://Marqo/marqo-fashionCLIP@44f4c655124ed71e90cbf528d82f508d69d8a81b"
  ],
  "formats": [
    {
      "ref": "hf://Marqo/marqo-fashionCLIP@44f4c655124ed71e90cbf528d82f508d69d8a81b",
      "format": "safetensors",
      "file": "2 files, e.g. model.safetensors",
      "loader": "transformers / open_clip from_pretrained; Mixpeek Hub import (api/models/huggingface.py)",
      "supported_today": true
    },
    {
      "ref": "hf://Marqo/marqo-fashionCLIP@44f4c655124ed71e90cbf528d82f508d69d8a81b",
      "format": "onnx",
      "file": "16 files, e.g. onnx/text_model.onnx",
      "loader": "onnxruntime; Mixpeek model upload (api/models/loadability.py, ONNX IR <= 11)",
      "supported_today": true
    },
    {
      "ref": "hf://Marqo/marqo-fashionCLIP@44f4c655124ed71e90cbf528d82f508d69d8a81b",
      "format": "pytorch_bin",
      "file": "open_clip_pytorch_model.bin",
      "loader": "torch.load (pickle); Mixpeek refuses pickle weights (shared/security/torch_pickle.py)",
      "supported_today": false
    }
  ],
  "use_cases": [
    "fashion",
    "product-search",
    "visual-search"
  ],
  "recommended": {
    "value": false,
    "for": [],
    "reason": null
  },
  "demos": [],
  "seo": {
    "title": "Marqo-FashionCLIP: embedding model",
    "description": "Marqo-FashionCLIP is a image and text embedding model (Apache-2.0). Can run on Mixpeek as a custom plugin.",
    "keywords": [
      "Marqo-FashionCLIP",
      "marqo-fashion",
      "embedding",
      "Marqo/marqo-fashionCLIP",
      "fashion",
      "product-search",
      "visual-search"
    ],
    "faqs": [
      {
        "q": "What is Marqo-FashionCLIP best at?",
        "a": "Fashion product search from text or image (ViT-B/16 CLIP fine-tuned with generalized contrastive learning on product titles, categories and attributes); Marqo reports gains over FashionCLIP 2.0 on its fashion benchmarks."
      },
      {
        "q": "What are the limits of Marqo-FashionCLIP?",
        "a": "Non-fashion content; the transformers path needs remote code (use open_clip instead)."
      },
      {
        "q": "Can Marqo-FashionCLIP be used commercially?",
        "a": "Yes. Apache-2.0 weights and code; no use restrictions."
      },
      {
        "q": "How does Marqo-FashionCLIP run on Mixpeek?",
        "a": "Not served. Would run as a custom extractor plugin (engine/extractors/<name>/v1/ with realtime.py for query embedding), loading safetensors with trust_remote_code false. Load through open_clip ('hf-hub:Marqo/marqo-fashionCLIP', open_clip_model.safetensors); the repo's transformers path is custom code and is not used."
      },
      {
        "q": "What does Marqo-FashionCLIP output?",
        "a": "A 512-dimensional dense vector, compared by cosine similarity."
      }
    ]
  },
  "last_verified": "2026-11-05",
  "sources": [
    "https://huggingface.co/Marqo/marqo-fashionCLIP",
    "https://github.com/marqo-ai/marqo-FashionCLIP",
    "https://www.marqo.ai/blog/search-model-for-fashion"
  ],
  "registry": null,
  "templates": [],
  "usage": {
    "namespaces": null,
    "collections": null,
    "uncounted": true,
    "templates": 0,
    "counted_at": null,
    "source": null
  },
  "facets": {
    "status": "plugin",
    "category": "embedding",
    "family": "marqo-fashion",
    "license": "Apache-2.0",
    "commercial_use": true,
    "modalities_in": [
      "image",
      "text"
    ],
    "modalities_out": [
      "vector"
    ],
    "use_cases": [
      "fashion",
      "product-search",
      "visual-search"
    ],
    "recommended": false,
    "release_date": "2024-08",
    "params_millions": 150,
    "size_on_disk_mb": 599,
    "vector_dims": 512,
    "vector_distance": "cosine",
    "weights_format": "safetensors",
    "formats": [
      "onnx",
      "pytorch_bin",
      "safetensors"
    ],
    "loadable_today": true,
    "trust_remote_code": false,
    "cpu_fallback": true,
    "num_gpus": 0,
    "memory_gb": 2,
    "min_replicas": 0,
    "serving_shape": "both",
    "served": false,
    "ref_schemes": [
      "hf"
    ],
    "has_evidence": false,
    "cost_measured": false,
    "template_count": 0,
    "usage_namespaces": null,
    "usage_collections": null,
    "usage_uncounted": true,
    "has_demo": false,
    "rank_score": 1
  },
  "rank_score": 1
}
