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

Bingsu
/
clip-vit-base-patch32-ko

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

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

  • Libraries
  • Transformers

    How to use Bingsu/clip-vit-base-patch32-ko with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Bingsu/clip-vit-base-patch32-ko")
    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("Bingsu/clip-vit-base-patch32-ko")
    model = AutoModelForZeroShotImageClassification.from_pretrained("Bingsu/clip-vit-base-patch32-ko")
  • Notebooks
  • Google Colab
  • Kaggle
clip-vit-base-patch32-ko
1.82 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 18 commits
Bingsu's picture
Bingsu
Update .gitattributes
844c6cd over 3 years ago
  • .gitattributes
    1.43 kB
    Update .gitattributes over 3 years ago
  • README.md
    3.02 kB
    Update README.md over 3 years ago
  • config.json
    4.56 kB
    Upload model over 3 years ago
  • merges.txt
    870 kB
    add tokenizer over 3 years ago
  • model.safetensors
    605 MB
    xet
    Adding `safetensors` variant of this model (#1) over 3 years ago
  • preprocessor_config.json
    342 Bytes
    add model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    605 MB
    xet
    Upload model over 3 years ago
  • special_tokens_map.json
    472 Bytes
    add tokenizer over 3 years ago
  • tf_model.h5
    606 MB
    xet
    Upload model over 3 years ago
  • tokenizer.json
    2.91 MB
    add tokenizer over 3 years ago
  • tokenizer_config.json
    801 Bytes
    add tokenizer over 3 years ago
  • vocab.json
    1.21 MB
    add tokenizer over 3 years ago