Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

bumblebee-testing
/
tiny-random-CLIPModel

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

Instructions to use bumblebee-testing/tiny-random-CLIPModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use bumblebee-testing/tiny-random-CLIPModel with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="bumblebee-testing/tiny-random-CLIPModel")
    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("bumblebee-testing/tiny-random-CLIPModel")
    model = AutoModelForZeroShotImageClassification.from_pretrained("bumblebee-testing/tiny-random-CLIPModel")
  • Notebooks
  • Google Colab
  • Kaggle
tiny-random-CLIPModel
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
jonatanklosko's picture
jonatanklosko
initial commit
b119689 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago