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

laion
/
CLIP-ViT-B-16-laion2B-s34B-b88K

Zero-Shot Image Classification
OpenCLIP
Safetensors
Model card Files Files and versions
xet
Community
4

Instructions to use laion/CLIP-ViT-B-16-laion2B-s34B-b88K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • OpenCLIP

    How to use laion/CLIP-ViT-B-16-laion2B-s34B-b88K with OpenCLIP:

    import open_clip
    
    model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:laion/CLIP-ViT-B-16-laion2B-s34B-b88K')
    tokenizer = open_clip.get_tokenizer('hf-hub:laion/CLIP-ViT-B-16-laion2B-s34B-b88K')
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

The model parameters have been renamed and a config file has been provided to enable its usage with the CLIPModel in the transformers library.

1
#2 opened about 2 years ago by
zooblastlbz

there are no config for transformers

2
#1 opened over 2 years ago by
forty-lock
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs