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

dahwinsingularity
/
laion_CLIP-H_fp16

Zero-Shot Image Classification
Transformers
Safetensors
clip
Model card Files Files and versions
xet
Community

Instructions to use dahwinsingularity/laion_CLIP-H_fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dahwinsingularity/laion_CLIP-H_fp16 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="dahwinsingularity/laion_CLIP-H_fp16")
    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("dahwinsingularity/laion_CLIP-H_fp16")
    model = AutoModelForZeroShotImageClassification.from_pretrained("dahwinsingularity/laion_CLIP-H_fp16")
  • Notebooks
  • Google Colab
  • Kaggle
laion_CLIP-H_fp16
1.98 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
dahwinsingularity's picture
dahwinsingularity
Upload processor
4f8c4df verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    31 Bytes
    initial commit almost 2 years ago
  • config.json
    810 Bytes
    Upload model almost 2 years ago
  • merges.txt
    525 kB
    Upload processor almost 2 years ago
  • model-00001-of-00002.safetensors
    997 MB
    xet
    Upload model almost 2 years ago
  • model-00002-of-00002.safetensors
    976 MB
    xet
    Upload model almost 2 years ago
  • model.safetensors.index.json
    84.1 kB
    Upload model almost 2 years ago
  • preprocessor_config.json
    504 Bytes
    Upload processor almost 2 years ago
  • special_tokens_map.json
    588 Bytes
    Upload processor almost 2 years ago
  • tokenizer.json
    2.22 MB
    Upload processor almost 2 years ago
  • tokenizer_config.json
    743 Bytes
    Upload processor almost 2 years ago
  • vocab.json
    862 kB
    Upload processor almost 2 years ago