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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

aneforge
/
clip-vit-base-patch32

Zero-Shot Image Classification
ANEForge
Safetensors
clip
apple-neural-engine
Model card Files Files and versions
xet
Community
1

Instructions to use aneforge/clip-vit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • ANEForge

    How to use aneforge/clip-vit-base-patch32 with ANEForge:

    # Run this model on the Apple Neural Engine, without CoreML.
    import aneforge as af
    
    clip = af.load_clip("aneforge/clip-vit-base-patch32")
    labels = clip.classify(image, ["a photo of a cat", "a photo of a dog"])  # image: a PIL.Image; zero-shot (label, prob)
  • Notebooks
  • Google Colab
  • Kaggle
clip-vit-base-patch32
609 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
sbryngelson's picture
sbryngelson
card: add the aneforge[models] install line to the snippet
0038933 verified 13 days ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#1) 13 days ago
  • README.md
    1.08 kB
    card: add the aneforge[models] install line to the snippet 13 days ago
  • config.json
    4.19 kB
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago
  • merges.txt
    525 kB
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago
  • model.safetensors
    605 MB
    xet
    Adding `safetensors` variant of this model (#1) 13 days ago
  • preprocessor_config.json
    316 Bytes
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago
  • special_tokens_map.json
    389 Bytes
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago
  • tokenizer.json
    2.22 MB
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago
  • tokenizer_config.json
    592 Bytes
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago
  • vocab.json
    862 kB
    duplicate openai/clip-vit-base-patch32 weights, tagged for ANEForge 13 days ago