Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

flax-community
/
clip-rsicd

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

Instructions to use flax-community/clip-rsicd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use flax-community/clip-rsicd with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="flax-community/clip-rsicd")
    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("flax-community/clip-rsicd")
    model = AutoModelForZeroShotImageClassification.from_pretrained("flax-community/clip-rsicd")
  • Notebooks
  • Google Colab
  • Kaggle
clip-rsicd
1.21 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
arampacha's picture
arampacha
upd preprocessor
8357af4 about 4 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    4.7 kB
    fixed typos and added info pointed out in evaluation almost 5 years ago
  • config.json
    4.03 kB
    bs128x8-lr1e-4-allaugs almost 5 years ago
  • flax_model.msgpack
    605 MB
    xet
    bs128x8-lr1e-4-allaugs almost 5 years ago
  • merges.txt
    525 kB
    upd preprocessor about 4 years ago
  • preprocessor_config.json
    354 Bytes
    upd preprocessor about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    605 MB
    xet
    bs128x8-lr1e-4-allaugs almost 5 years ago
  • special_tokens_map.json
    389 Bytes
    bs128x8-lr1e-4-allaugs almost 5 years ago
  • tokenizer.json
    2.22 MB
    upd preprocessor about 4 years ago
  • tokenizer_config.json
    874 Bytes
    upd preprocessor about 4 years ago
  • vocab.json
    862 kB
    upd preprocessor about 4 years ago