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

Bingsu
/
cold_light_pass

Zero-Shot Image Classification
Transformers
PyTorch
Safetensors
clip
Model card Files Files and versions
xet
Community
1

Instructions to use Bingsu/cold_light_pass with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Bingsu/cold_light_pass with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Bingsu/cold_light_pass")
    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, AutoModelForZeroShotImageClassification
    
    processor = AutoProcessor.from_pretrained("Bingsu/cold_light_pass")
    model = AutoModelForZeroShotImageClassification.from_pretrained("Bingsu/cold_light_pass")
  • Notebooks
  • Google Colab
  • Kaggle
cold_light_pass
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
Bingsu's picture
Bingsu
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
7129fc5 verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    4.95 kB
    Update config.json over 3 years ago
  • merges.txt
    1.69 MB
    Upload processor over 3 years ago
  • model.safetensors
    1.71 GB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • preprocessor_config.json
    556 Bytes
    Upload processor over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.71 GB
    xet
    Upload pytorch_model.bin with huggingface_hub over 3 years ago
  • special_tokens_map.json
    597 Bytes
    Upload processor over 3 years ago
  • tokenizer.json
    4.55 MB
    Upload processor over 3 years ago
  • tokenizer_config.json
    977 Bytes
    Upload processor over 3 years ago
  • vocab.json
    2.03 MB
    Upload processor over 3 years ago