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

Thouph
/
clip-vit-large-patch14-224-datacomp-hf

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

Instructions to use Thouph/clip-vit-large-patch14-224-datacomp-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Thouph/clip-vit-large-patch14-224-datacomp-hf with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Thouph/clip-vit-large-patch14-224-datacomp-hf")
    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("Thouph/clip-vit-large-patch14-224-datacomp-hf")
    model = AutoModelForZeroShotImageClassification.from_pretrained("Thouph/clip-vit-large-patch14-224-datacomp-hf")
  • Notebooks
  • Google Colab
  • Kaggle
clip-vit-large-patch14-224-datacomp-hf
3.42 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Thouph's picture
Thouph
Upload flax_model.msgpack
4ffbcde almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    30 Bytes
    initial commit almost 3 years ago
  • config.json
    4.45 kB
    Upload 8 files almost 3 years ago
  • flax_model.msgpack
    1.71 GB
    xet
    Upload flax_model.msgpack almost 3 years ago
  • merges.txt
    525 kB
    Upload 8 files almost 3 years ago
  • preprocessor_config.json
    315 Bytes
    Upload 8 files almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.71 GB
    xet
    Upload 8 files almost 3 years ago
  • special_tokens_map.json
    472 Bytes
    Upload 8 files almost 3 years ago
  • tokenizer.json
    2.22 MB
    Upload 8 files almost 3 years ago
  • tokenizer_config.json
    737 Bytes
    Upload 8 files almost 3 years ago
  • vocab.json
    862 kB
    Upload 8 files almost 3 years ago