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

Xenova
/
clip-vit-base-patch16

Zero-Shot Image Classification
Transformers.js
ONNX
clip
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers.js

    How to use Xenova/clip-vit-base-patch16 with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('zero-shot-image-classification', 'Xenova/clip-vit-base-patch16');
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

The model is now added to WebAI.js. Try it in your browser with no code required.

#1 opened 7 months ago by
AxolsWebAI
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs