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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Green-Sky
/
FaRL-Base-Patch16-LAIONFace20M-ep64

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

Instructions to use Green-Sky/FaRL-Base-Patch16-LAIONFace20M-ep64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Green-Sky/FaRL-Base-Patch16-LAIONFace20M-ep64 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Green-Sky/FaRL-Base-Patch16-LAIONFace20M-ep64")
    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("Green-Sky/FaRL-Base-Patch16-LAIONFace20M-ep64")
    model = AutoModelForZeroShotImageClassification.from_pretrained("Green-Sky/FaRL-Base-Patch16-LAIONFace20M-ep64", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
FaRL-Base-Patch16-LAIONFace20M-ep64
1.2 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
Green-Sky's picture
Green-Sky
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
660bf20 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • LICENSE
    1.14 kB
    Upload LICENSE about 3 years ago
  • README.md
    127 Bytes
    Update README.md about 3 years ago
  • config.json
    4.46 kB
    Upload 3 files about 3 years ago
  • model.safetensors
    599 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    599 MB
    xet
    Upload 3 files about 3 years ago
  • vocab.json
    961 kB
    Upload 3 files about 3 years ago