1.  [](/)
2.  [Models](/models)
3.  SigLIP 2 so400m patch16 NaFlex

Runs as a custom pluginEmbeddingVerified 2026-11-05

# SigLIP 2 so400m patch16 NaFlex

google/siglip2-so400m-patch16-naflex

SigLIP 2 so400m patch16 NaFlex is a image, text and document embedding model (Apache-2.0). 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/siglip2-so400m-patch16-naflex.json)

No demo for SigLIP 2 so400m patch16 NaFlex 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

Documents, screenshots, receipts and wide or tall images: keeps the native aspect ratio instead of squashing to a square.

Worst at

Variable sequence length per image makes batching uneven; square photos gain nothing over the fixed-resolution model.

Task

Embedding

Input

Image, Text, Document

Output

Vector

Use cases

Visual search, Document search

## Templates that use it

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

## Input and output

### Input

Image

Resolution

native aspect ratio, resized so patches <= max\_num\_patches (default 256; 128 to 1024)

Color

RGB

Normalize

mean 0.5, std 0.5

Text

Max tokens

64

Prompts

lowercase captions; the card uses 'this is a photo of {label}.'; Gemma tokenizer, padded to max\_length 64

### Output

Vector

Dims

1152

Distance

cosine

Type

dense

## How Mixpeek wires it

Extractors

None today

Feature URIs

None today

Vector indexes

None

Retriever stages

feature\_search

Combines with

*   PDF pages and screenshots -> NaFlex image vectors -> feature\_search with a text query

## How it runs

Status

Runs as a custom plugin Not served. Would run as a custom extractor plugin, loading safetensors with trust\_remote\_code false. The processor takes max\_num\_patches; batches carry a pixel attention mask.

Serve apps

None

Runtime

transformers AutoModel + AutoProcessor (Siglip2Model, NaFlex processor)

Weights

safetensors, no remote code

Parameters

1,136 M

Size on disk

4,543 MB

Preprocessing

Resize keeping aspect ratio to fit max\_num\_patches of 16x16, normalize mean 0.5 std 0.5, pad patches and build pixel\_attention\_mask.

Postprocessing

L2-normalize pooled image and text embeddings; sigmoid of scaled logits for zero-shot scores.

Serving

both, batch 16

Hardware

Runs on CPU (slower without a GPU)

### Scale to zero

Minimum replicas

0

Maximum replicas

1

Idle timeout

600 s

Memory

8 GB

CPUs

2

GPUs

1

Cold start, node warm

Not recorded

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 SigLIP 2 so400m patch16 NaFlex best at?

Documents, screenshots, receipts and wide or tall images: keeps the native aspect ratio instead of squashing to a square.

What are the limits of SigLIP 2 so400m patch16 NaFlex?

Variable sequence length per image makes batching uneven; square photos gain nothing over the fixed-resolution model.

Can SigLIP 2 so400m patch16 NaFlex be used commercially?

Yes. Apache-2.0 weights and code; no use restrictions.

How does SigLIP 2 so400m patch16 NaFlex run on Mixpeek?

Not served. Would run as a custom extractor plugin, loading safetensors with trust\_remote\_code false. The processor takes max\_num\_patches; batches carry a pixel attention mask.

What does SigLIP 2 so400m patch16 NaFlex output?

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

## Identity

Catalog id

`siglip2-so400m-patch16-naflex`

Family

siglip2

Hub id

`google/siglip2-so400m-patch16-naflex`

License

Apache-2.0

Commercial use

AllowedApache-2.0 weights and code; no use restrictions.

Released

2025-02-18

Last verified

Verified 2026-11-05

Paper

[arxiv.org/abs/2502.14786](https://arxiv.org/abs/2502.14786)

Code

[github.com/google-research/big\_vision](https://github.com/google-research/big_vision)

## References and formats

*   `hf://google/siglip2-so400m-patch16-naflex@cc24074f717b612951c2dead130904ab9b65a81e`

Format

File

Loads today

safetensors

model.safetensors

Yes

## Related models

*   [SigLIP 2 so400m patch14 (224/384)](/models/siglip2-so400m-patch14-384)Embedding
*   [SigLIP 2 Base patch16 (224/256/384/512, patch32-256)](/models/siglip2-base-patch16-224)Embedding
*   [SigLIP 2 Base patch16 NaFlex](/models/siglip2-base-patch16-naflex)Embedding
*   [SigLIP 2 giant-opt patch16 (256/384)](/models/siglip2-giant-opt-patch16-384)Embedding
*   [SigLIP 2 Large patch16 (256/384/512)](/models/siglip2-large-patch16-384)Embedding
*   [SigLIP 2 so400m patch16 (256/384/512)](/models/siglip2-so400m-patch16-384)Embedding

## Sources

*   [huggingface.co/google/siglip2-so400m-patch16-naflex](https://huggingface.co/google/siglip2-so400m-patch16-naflex)
*   [arxiv.org/abs/2502.14786](https://arxiv.org/abs/2502.14786)
*   [huggingface.co/docs/transformers/model\_doc/siglip2](https://huggingface.co/docs/transformers/model_doc/siglip2)