1.  [](/)
2.  [Models](/models)
3.  FashionCLIP (2.0)

Runs as a custom pluginEmbeddingVerified 2026-11-05

# FashionCLIP (2.0)

patrickjohncyh/fashion-clip

FashionCLIP (2.0) is a image and text embedding model (MIT). Can run on Mixpeek as a custom plugin.

Mixpeek does not run it today. It can run as a custom plugin: the weights load without remote code.

[Record as JSON](/models/fashion-clip.json)

No demo for FashionCLIP (2.0) yet

A video, image, slideshow or playground goes here once we record one on our own data.

## What it is good and bad at

Best at

Product attributes in fashion catalogs: garment type, color, pattern, material, style words.

Worst at

General scenes, people in context, and anything outside apparel; English only.

Task

Embedding

Input

Image, Text

Output

Vector

Use cases

Fashion, Product search, Visual search

## Templates that use it

No template uses this model yet. [Browse templates](/templates).

## Input and output

### 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-style captions, e.g. 'a red midi dress with floral print'

### Output

Vector

Dims

512

Distance

cosine

Type

dense

Note

image and text vectors share one space; L2-normalize before cosine

## How Mixpeek wires it

Extractors

None today

Feature URIs

None today

Vector indexes

None

Retriever stages

feature\_search, mmr

Combines with

*   product images -> FashionCLIP vectors -> feature\_search with attribute filters on price and brand
*   detector person boxes -> garment crops -> FashionCLIP vectors

## How it runs

Status

Runs as a custom plugin Runs as a registry-backed extractor: source.ref hf://patrickjohncyh/fashion-clip@7e3ba62ce16b379a1ab479346b66f192e76f51b7 imports the safetensors snapshot and serves it under image\_extractor@v1 (transformers framework, CLIPModel get\_image\_features at ingest, get\_text\_features at query), min 0 replicas. Verified on the local standalone image 2026-11-05.

Serve apps

None

Runtime

transformers CLIPModel + CLIPProcessor (ViT-B/32 backbone, LAION base for 2.0)

Weights

safetensors, no remote code

Parameters

151 M

Size on disk

605 MB

Preprocessing

Resize and center-crop to 224, CLIP mean/std; text to 77 tokens.

Postprocessing

L2-normalize; cosine similarity.

Serving

both, batch 32

Hardware

Runs on CPU (slower without a GPU)

### Scale to zero

Minimum replicas

0

Maximum replicas

1

Idle timeout

600 s

Memory

2 GB

CPUs

1

GPUs

0

Cold start, node warm

14.6 s

Cold start, new node

Not recorded

## Measured cost

Unmeasured

No committed measurement; plan row 3 measures it in the standalone image.

## Our evaluations

Unmeasured

We have not evaluated this model on our own data yet. Publisher results are in the sources below.

## Questions

What is FashionCLIP (2.0) best at?

Product attributes in fashion catalogs: garment type, color, pattern, material, style words.

What are the limits of FashionCLIP (2.0)?

General scenes, people in context, and anything outside apparel; English only.

Can FashionCLIP (2.0) be used commercially?

Yes. MIT license on the repo and weights.

How does FashionCLIP (2.0) run on Mixpeek?

Not served. Would run as a custom extractor plugin, loading safetensors with trust\_remote\_code false.

What does FashionCLIP (2.0) output?

A 512-dimensional dense vector, compared by cosine similarity.

## Identity

Catalog id

`fashion-clip`

Family

fashion-clip

Hub id

`patrickjohncyh/fashion-clip`

License

MIT

Commercial use

AllowedMIT license on the repo and weights.

Released

2023-02

Last verified

Verified 2026-11-05

Paper

[www.nature.com/articles/s41598-022-23052-9](https://www.nature.com/articles/s41598-022-23052-9)

Code

[github.com/patrickjohncyh/fashion-clip](https://github.com/patrickjohncyh/fashion-clip)

## References and formats

*   `hf://patrickjohncyh/fashion-clip@7e3ba62ce16b379a1ab479346b66f192e76f51b7`

Format

File

Loads today

safetensors

model.safetensors

Yes

ONNX

onnx/model.onnx

Yes

PyTorch .bin

pytorch\_model.bin

No

## Related models

*   [Multilingual E5 Large Instruct](/models/multilingual-e5-large-instruct)Embedding
*   [Gemini Embedding 2](/models/gemini-embedding-2)Embedding
*   [all-MiniLM-L6-v2](/models/all-minilm-l6-v2)Embedding
*   [Vertex AI multimodalembedding@001](/models/multimodalembedding)Embedding
*   [SigLIP Base patch16 224](/models/siglip-base-patch16-224)Embedding
*   [LAION CLAP HTSAT-tiny (630k-audioset-best)](/models/clap-htsat-tiny)Embedding

## Sources

*   [huggingface.co/patrickjohncyh/fashion-clip](https://huggingface.co/patrickjohncyh/fashion-clip)
*   [www.nature.com/articles/s41598-022-23052-9](https://www.nature.com/articles/s41598-022-23052-9)
*   [github.com/patrickjohncyh/fashion-clip](https://github.com/patrickjohncyh/fashion-clip)