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

  • Log In
  • Sign Up

arampacha
/
clip-test

Zero-Shot Image Classification
Transformers
PyTorch
TensorBoard
clip
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
2

Instructions to use arampacha/clip-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use arampacha/clip-test with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="arampacha/clip-test")
    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("arampacha/clip-test")
    model = AutoModelForZeroShotImageClassification.from_pretrained("arampacha/clip-test")
  • Notebooks
  • Google Colab
  • Kaggle
clip-test / runs
60.5 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
arampacha's picture
arampacha
End of training
bcb7259 about 4 years ago
  • Apr11_22-17-09_e01fb89ad7ea
    Model save about 4 years ago
  • Apr11_22-20-54_e01fb89ad7ea
    Model save about 4 years ago
  • Apr11_22-26-33_e01fb89ad7ea
    Model save about 4 years ago
  • Apr11_22-38-30_e01fb89ad7ea
    Model save about 4 years ago
  • Apr11_22-49-07_e01fb89ad7ea
    End of training about 4 years ago