Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

pySilver
/
marqo-fashionSigLIP-ST

Zero-Shot Image Classification
OpenCLIP
ONNX
Safetensors
Transformers
Transformers.js
English
siglip
clip
e-commerce
fashion
multimodal retrieval
custom_code
Model card Files Files and versions
xet
Community

Instructions to use pySilver/marqo-fashionSigLIP-ST with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • OpenCLIP

    How to use pySilver/marqo-fashionSigLIP-ST with OpenCLIP:

    import open_clip
    
    model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:pySilver/marqo-fashionSigLIP-ST')
    tokenizer = open_clip.get_tokenizer('hf-hub:pySilver/marqo-fashionSigLIP-ST')
  • Transformers

    How to use pySilver/marqo-fashionSigLIP-ST with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="pySilver/marqo-fashionSigLIP-ST", trust_remote_code=True)
    pipe(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
        candidate_labels=["animals", "humans", "landscape"],
    )
    # Load model directly
    from transformers import AutoProcessor, SigLIP
    
    processor = AutoProcessor.from_pretrained("pySilver/marqo-fashionSigLIP-ST", trust_remote_code=True)
    model = SigLIP.from_pretrained("pySilver/marqo-fashionSigLIP-ST", trust_remote_code=True)
  • Transformers.js

    How to use pySilver/marqo-fashionSigLIP-ST with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('zero-shot-image-classification', 'pySilver/marqo-fashionSigLIP-ST');
  • Notebooks
  • Google Colab
  • Kaggle
marqo-fashionSigLIP-ST
4.91 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
Antoni Martyniuk
chore: update weights link
d9fe55d over 1 year ago
  • onnx
    fix: sentence-transformers support over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    7.08 kB
    fix: sentence-transformers support over 1 year ago
  • config.json
    1.42 kB
    chore: update weights link over 1 year ago
  • marqo_fashionSigLIP.py
    10.7 kB
    fix: sentence-transformers support over 1 year ago
  • model.safetensors
    813 MB
    xet
    fix: sentence-transformers support over 1 year ago
  • open_clip_config.json
    881 Bytes
    fix: sentence-transformers support over 1 year ago
  • open_clip_model.safetensors
    813 MB
    xet
    fix: sentence-transformers support over 1 year ago
  • open_clip_pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    813 MB
    xet
    fix: sentence-transformers support over 1 year ago
  • preprocessor_config.json
    516 Bytes
    fix: sentence-transformers support over 1 year ago
  • special_tokens_map.json
    2.53 kB
    fix: sentence-transformers support over 1 year ago
  • spiece.model
    792 kB
    xet
    fix: sentence-transformers support over 1 year ago
  • tokenizer.json
    2.42 MB
    fix: sentence-transformers support over 1 year ago
  • tokenizer_config.json
    20.6 kB
    fix: sentence-transformers support over 1 year ago