Skip to content
ModelListedExternal
Download

Siglip2 So400m Patch16 384

The Model mmmorks/siglip2-so400m-patch16-384 was converted to MLX format from google/siglip2-so400m-patch16-384 using mlx-lm version 0.1.0.

KindText modelVersionmodel

Model source

Kind
Text model
File size
2.12 GB
Version
vmodel
Updated
Sep 17, 2026
Downloads
22
Source
Hugging Face

Source description

mmmorks/siglip2-so400m-patch16-384

The Model mmmorks/siglip2-so400m-patch16-384 was converted to MLX format from google/siglip2-so400m-patch16-384 using mlx-lm version 0.1.0.

Use with mlx

pip install mlx-embeddings
from mlx_embeddings import load, generate
import mlx.core as mx

model, tokenizer = load("mmmorks/siglip2-so400m-patch16-384")

# For image-text embeddings
images = [
    "./images/cats.jpg",  # cats
]
texts = ["a photo of cats", "a photo of a desktop setup", "a photo of a person"]

# Process all image-text pairs
outputs = generate(model, processor, texts, images=images)
logits_per_image = outputs.logits_per_image
probs = mx.sigmoid(logits_per_image) # probabilities for this image
for i, image in enumerate(images):
    print(f"Image {i+1}:")
    for j, text in enumerate(texts):
        print(f"  {probs[i][j]:.1%} match with '{text}'")
    print()


Sources

1 source
Hugging FacePrimaryVersion f4a43f9df192b939f0be720de72a74bb8580864c
huggingface.co/mmmorks/siglip2-so400m-patch16-384/tree/f4a43f9df192b939f0be720de72a74bb8580864c

Verified Sep 17

Model artifacts

1 artifact

model.safetensors

safetensors · 2.12 GB · SHA-256 5eb53435c5ce…378f · Hugging Face

Download

Source excerpts

2 excerpts

--- license: apache-2.0 tags: - vision - mlx widget: - src: https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg candidate_labels: bee in the sky, bee on the flower example_title: Bee library_name: transformers pipeline_tag: zero-shot-image-classification --- # mmmorks/siglip2-so400m-patch16-384 The Model [mmmorks/siglip2-so400m-patch16-384](https://huggingface.co/mmmorks/siglip2-so400m-patch16-384) was converted to MLX format from [google/siglip2-so400m-patch16-384](https://huggingface.co/google/siglip2-so400m-patch16-384) using mlx-lm version **0.1.0**. ## Use with mlx ```bash pip install mlx-embeddings ``` ```python from mlx_embeddings import load, generate import mlx.core as mx model, tokenizer = load("mmmorks/siglip2-so400m-patch16-384") # For image-text embeddings images = [ "./images/cats.jpg", # cats ] texts = ["a photo of cats", "a photo of a desktop setup", "a photo of a person"] # Process all image-text pairs outputs = generate(model, processor, texts, images=images) logits_per_image = outputs.logits_per_image probs = mx.sigmoid(logits_per_image) # probabilities for this image for i, image in enumerate(images): print(f"Image {i+1}:") for j, text in enumerate(texts): print(f" {probs[i][j]:.1%} match with '{text}'") print() ```

Source context: 22 downloads · 0 likes · Pipeline zero-shot-image-classification · Library transformers · Repo mmmorks/siglip2-so400m-patch16-384