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

  • Log In
  • Sign Up

24aittl
/
marqo-fashionsiglip

Zero-Shot Image Classification
OpenCLIP
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 24aittl/marqo-fashionsiglip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • OpenCLIP

    How to use 24aittl/marqo-fashionsiglip with OpenCLIP:

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

    How to use 24aittl/marqo-fashionsiglip with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="24aittl/marqo-fashionsiglip", trust_remote_code=True)
    pipe(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
        candidate_labels=["animals", "humans", "landscape"],
    )
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("24aittl/marqo-fashionsiglip", trust_remote_code=True, device_map="auto")
  • Transformers.js

    How to use 24aittl/marqo-fashionsiglip with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('zero-shot-image-classification', '24aittl/marqo-fashionsiglip');
  • Notebooks
  • Google Colab
  • Kaggle
marqo-fashionsiglip
816 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
24aittl's picture
24aittl
Upload folder using huggingface_hub
c856060 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    7.08 kB
    Upload folder using huggingface_hub almost 2 years ago
  • config.json
    302 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • marqo_fashionSigLIP.py
    10.7 kB
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    813 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • open_clip_config.json
    881 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • preprocessor_config.json
    516 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • special_tokens_map.json
    2.53 kB
    Upload folder using huggingface_hub almost 2 years ago
  • spiece.model
    792 kB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer.json
    2.42 MB
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer_config.json
    20.6 kB
    Upload folder using huggingface_hub almost 2 years ago