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

Marqo
/
marqo-fashionSigLIP

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
10

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

  • Libraries
  • OpenCLIP

    How to use Marqo/marqo-fashionSigLIP with OpenCLIP:

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

    How to use Marqo/marqo-fashionSigLIP with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Marqo/marqo-fashionSigLIP", 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 AutoModel
    model = AutoModel.from_pretrained("Marqo/marqo-fashionSigLIP", trust_remote_code=True, dtype="auto")
  • Transformers.js

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

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('zero-shot-image-classification', 'Marqo/marqo-fashionSigLIP');
  • Notebooks
  • Google Colab
  • Kaggle
marqo-fashionSigLIP
4.91 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 23 commits
Tomhamer5's picture
Tomhamer5
Update README.md
c56244c verified 3 months ago
  • onnx
    Upload ONNX weights (+ quantizations) + Transformers.js support (#1) over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    7.29 kB
    Update README.md 3 months ago
  • config.json
    302 Bytes
    Add support for AutoModel over 1 year ago
  • marqo_fashionSigLIP.py
    10.7 kB
    Add support for AutoModel over 1 year ago
  • model.safetensors
    813 MB
    xet
    Add support for AutoModel over 1 year ago
  • open_clip_config.json
    881 Bytes
    fix preprocess_cfg almost 2 years ago
  • open_clip_model.safetensors
    813 MB
    xet
    Add model almost 2 years 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
    Add model almost 2 years ago
  • preprocessor_config.json
    516 Bytes
    Add support for AutoModel over 1 year ago
  • special_tokens_map.json
    2.53 kB
    Add model almost 2 years ago
  • spiece.model
    792 kB
    xet
    Add support for AutoModel over 1 year ago
  • tokenizer.json
    2.42 MB
    Add support for AutoModel over 1 year ago
  • tokenizer_config.json
    20.6 kB
    Upload ONNX weights (+ quantizations) + Transformers.js support (#1) over 1 year ago