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

aurelio-ai
/
sr-test-clip

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

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

  • Libraries
  • Transformers

    How to use aurelio-ai/sr-test-clip with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="aurelio-ai/sr-test-clip")
    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("aurelio-ai/sr-test-clip")
    model = AutoModelForZeroShotImageClassification.from_pretrained("aurelio-ai/sr-test-clip")
  • Notebooks
  • Google Colab
  • Kaggle
sr-test-clip
1.36 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
jamescalam's picture
jamescalam
Upload 9 files
01c40f5 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    98 Bytes
    Create README.md about 2 years ago
  • config.json
    4.57 kB
    Upload 9 files about 2 years ago
  • merges.txt
    5.14 kB
    Upload 9 files about 2 years ago
  • preprocessor_config.json
    463 Bytes
    Upload 9 files about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    579 kB
    xet
    Upload 9 files about 2 years ago
  • special_tokens_map.json
    472 Bytes
    Upload 9 files about 2 years ago
  • tf_model.h5
    723 kB
    xet
    Upload 9 files about 2 years ago
  • tokenizer.json
    33.4 kB
    Upload 9 files about 2 years ago
  • tokenizer_config.json
    931 Bytes
    Upload 9 files about 2 years ago
  • vocab.json
    15.9 kB
    Upload 9 files about 2 years ago